From owner-freebsd-current@freebsd.org Sun Mar 18 17:30:36 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA06AF65977 for ; Sun, 18 Mar 2018 17:30:35 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 13BFE7CF00; Sun, 18 Mar 2018 17:30:34 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([77.179.74.225]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MCwbX-1eoVJR0Bb1-009gL1; Sun, 18 Mar 2018 18:30:10 +0100 Date: Sun, 18 Mar 2018 18:29:33 +0100 From: "O. Hartmann" Cc: AN , freebsd-current@freebsd.org, Mark Johnston , Mariusz Zaborski Subject: Re: /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: main Message-ID: <20180318183000.2c6fc352@thor.intern.walstatt.dynvpn.de> In-Reply-To: References: Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/3FMC7ruO+2Y_M86+=ngfJ5B"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:bevXJadPMfVYTt6J7miQ4SH4VJK41ujpbHNYKcrAH79RUD9/0hD xq0Z2oauLDf2+3Ui/gTbT6/bTdBWtv+dpNr/wj2FAO7oYAvdxyzFjRusu9Hapbn3cvgUdpv Dw8RVy7iCqIaCNaaDwToLiRnu3ZBu5jE1hU/QQ8dEiPa7/liM9BvnXbmfu4lC9cqfD3NrSQ pkAq2JtHGisiwqCUdYRqQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:oCui6bJUJUI=:7sO7GGNRiJnLCUYqIDxBUo IuZdgtNI3mNaFKnwQPSIQoqB74dUOtzUW99Z1qyx9LkhhiHS+DLOtyCs7HlxczXXA5HGWVqm6 0ZdcoL0+foWSTNSGXY4X5XFjEI3lEw71gkV+umaKL50WIqSNbOksc5q58Gjc0pkql0q71308/ cA9eMDn6BzqopNfQ10nQVRsNbDH7MNOxbA231b3A1/ky5uVZwvI3V7NpCkpHRO5KJ/Y+SZ+gR +kexAoh22JyPeF0z8pFRf78C89NspTIowfS24OCSonfLlBC5H/cWmt6ST5lWYUY1l1MIY2UQG 1KkWLBRYxrWaFglPLGdwuQZLheNEpefgLvEGRMHxGHKDmGrblhPTxefJdWyZTg4Br4V3lUfhr cLLkLOdiAQJLxtdEeme8ewMR/LI5/vV7SvneIZfakMGkdeP4E8qqw7LuojcTQwAkKlsbzyrWX ASZTuQAZIdBtIyBt0eOzEOKtabHFul4d4Gl7j70Y7XHDQfsfczXDKwKV7MIBsBdEotayhTmRW 8aiXZDeilq4pqT+hJFhRinzwBaoi8TDMQ4yEm5eOYq6vx4T/MJOaxgVjHpiJG15ubQqx1QoGa kfL2kIb2/Lzo1kT2H0E/EGvV7iNqxNUQ/fL69zGP5lqVR9RnyS2a0wo6QGrtDFYmgeuZLBEJt kHKYTNWx7cSt21CH6+yiL6CVqI2WSqLHI4F6N9Chhdl/Glcc3J/0bslmPdJ7yEmHmDz/YZzWU V0Ky01j15PqTkSf7L3IkA+0KK1nbXBFzSwXuauOkBsVr/JDAJqn0Gf2hhuIh1cmC5CgXFf8qW w4v1JaIWllRTY4w1tZ0ghdT26q//Q== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2018 17:30:36 -0000 --Sig_/3FMC7ruO+2Y_M86+=ngfJ5B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Sun, 18 Mar 2018 13:19:08 -0400 (EDT) AN schrieb: > Fyi, I started seeing this error today during buildworld compile. >=20 > FreeBSD BSD_12 12.0-CURRENT FreeBSD 12.0-CURRENT #15 r331021: Thu Mar 15= =20 > 16:30:40 EDT 2018=20 > root@BSD_12:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL amd64 1200060 >=20 > # svnlite info > Path: . > Working Copy Root Path: /usr/src > URL: svn://svn.freebsd.org/base/head > Relative URL: ^/head > Repository Root: svn://svn.freebsd.org/base > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 331135 > Node Kind: directory > Schedule: normal > Last Changed Author: markj > Last Changed Rev: 331135 > Last Changed Date: 2018-03-18 13:03:26 -0400 (Sun, 18 Mar 2018) > -------------------------------------------------------------------------= ------------ >=20 > --- all_subdir_lib/libcasper --- > --- all_subdir_lib/libcasper/services/cap_sysctl --- > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: main > >>> referenced by crt1.c:74 (/usr/src/lib/csu/amd64/crt1.c:74) > >>> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/crt1.o:(_start= ) =20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_create > >>> referenced by cap_sysctl.c:64 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:64) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_add_string > >>> referenced by cap_sysctl.c:65 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:65) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_add_string > >>> referenced by cap_sysctl.c:66 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:66) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_add_number > >>> referenced by cap_sysctl.c:67 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:67) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_add_null > >>> referenced by cap_sysctl.c:69 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:69) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_add_number > >>> referenced by cap_sysctl.c:71 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:71) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_add_binary > >>> referenced by cap_sysctl.c:73 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:73) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > cap_xfer_nvlist > >>> referenced by cap_sysctl.c:74 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:74) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_get_number > >>> referenced by cap_sysctl.c:77 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:77) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_get_number > >>> referenced by cap_sysctl.c:78 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:78) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_destroy > >>> referenced by cap_sysctl.c:79 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:79) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_get_number > >>> referenced by cap_sysctl.c:84 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:84) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_get_binary > >>> referenced by cap_sysctl.c:86 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:86) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_destroy > >>> referenced by cap_sysctl.c:91 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:91) > >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > service_register > >>> referenced by cap_sysctl.c:295 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:295) > >>> /tmp/cap_sysctl-cfa2f8.o:(init_casper_service) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_next > >>> referenced by cap_sysctl.c:209 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:209) > >>> /tmp/cap_sysctl-cfa2f8.o:(sysctl_limit) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_get_number > >>> referenced by cap_sysctl.c:212 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:212) > >>> /tmp/cap_sysctl-cfa2f8.o:(sysctl_limit) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_next > >>> referenced by cap_sysctl.c:209 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:209) > >>> /tmp/cap_sysctl-cfa2f8.o:(sysctl_limit) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol:=20 > nvlist_error > >>> referenced by cap_sysctl.c:110 =20 > (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:110) > >>> /tmp/cap_sysctl-cfa2f8.o:(sysctl_command) =20 >=20 > /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: too many errors=20 > emitted, stopping now (use -error-limit=3D0 to see all errors) > --- all_subdir_lib/libpam --- > --- pam_setcred.3.gz --- > gzip -cn /usr/src/contrib/openpam/doc/man/pam_setcred.3 > pam_setcred.3.gz > --- all_subdir_lib/ncurses --- > --- all_subdir_lib/ncurses/form --- > --- fld_dup.po --- > cc -target x86_64-unknown-freebsd12.0=20 > --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp=20 > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -pg -O2 -pipe -I.=20 > -I/usr/obj/usr/src/amd64.amd64/lib/ncurses/ncurses=20 > -I/usr/src/lib/ncurses/ncurses -I/usr/src/lib/ncurses/ncurses=20 > -I/usr/src/contrib/ncurses/include -I/usr/src/contrib/ncurses/ncurses=20 > -Wall -DNDEBUG -DHAVE_CONFIG_H -I/usr/src/contrib/ncurses/form=20 > -I/usr/src/contrib/ncurses/menu -g -MD -MF.depend.fld_dup.po=20 > -MTfld_dup.po -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -Wer= ror=20 > -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes=20 > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign= =20 > -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable=20 > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality=20 > -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef=20 > -Wno-address-of-packed-member -Qunused-arguments -c=20 > /usr/src/contrib/ncurses/form/fld_dup.c -o fld_dup.po > --- all_subdir_lib/libpam --- > --- pam_setenv.3.gz --- > --- all_subdir_lib/libcasper --- > cc: error: linker command failed with exit code 1 (use -v to see=20 > invocation) > *** [cap_sysctl] Error code 1 >=20 > make[6]: stopped in /usr/src/lib/libcasper/services/cap_sysctl > 1 error >=20 > make[6]: stopped in /usr/src/lib/libcasper/services/cap_sysctl > *** [all_subdir_lib/libcasper/services/cap_sysctl] Error code 2 >=20 > make[5]: stopped in /usr/src/lib/libcasper/services > 1 error >=20 > make[5]: stopped in /usr/src/lib/libcasper/services > --- all_subdir_lib/libpam --- > gzip -cn /usr/src/contrib/openpam/doc/man/pam_setenv.3 > pam_setenv.3.gz > --- all_subdir_lib/libcasper --- > *** [all_subdir_lib/libcasper/services] Error code 2 >=20 > make[4]: stopped in /usr/src/lib/libcasper > 1 error >=20 > make[4]: stopped in /usr/src/lib/libcasper > --- all_subdir_lib/libpam --- > A failure has been detected in another branch of the parallel make > --- all_subdir_lib/libcasper --- > *** [all_subdir_lib/libcasper] Error code 2 >=20 > make[3]: stopped in /usr/src/lib > --- all_subdir_lib/libpam --- >=20 > make[5]: stopped in /usr/src/lib/libpam/libpam > *** [all_subdir_lib/libpam/libpam] Error code 2 >=20 > make[4]: stopped in /usr/src/lib/libpam > 1 error >=20 > make[4]: stopped in /usr/src/lib/libpam > *** [all_subdir_lib/libpam] Error code 2 >=20 > make[3]: stopped in /usr/src/lib > --- all_subdir_lib/ncurses --- > A failure has been detected in another branch of the parallel make >=20 > make[5]: stopped in /usr/src/lib/ncurses/form > *** [all_subdir_lib/ncurses/form] Error code 2 >=20 > make[4]: stopped in /usr/src/lib/ncurses > --- all_subdir_lib/libarchive --- > A failure has been detected in another branch of the parallel make >=20 > make[4]: stopped in /usr/src/lib/libarchive > *** [all_subdir_lib/libarchive] Error code 2 >=20 > make[3]: stopped in /usr/src/lib > --- all_subdir_lib/ncurses --- > --- all_subdir_lib/ncurses/menu --- > A failure has been detected in another branch of the parallel make >=20 > make[5]: stopped in /usr/src/lib/ncurses/menu > *** [all_subdir_lib/ncurses/menu] Error code 2 >=20 > make[4]: stopped in /usr/src/lib/ncurses > --- all_subdir_lib/ncurses/ncursesw --- > A failure has been detected in another branch of the parallel make >=20 > make[5]: stopped in /usr/src/lib/ncurses/ncursesw > *** [all_subdir_lib/ncurses/ncursesw] Error code 2 >=20 > make[4]: stopped in /usr/src/lib/ncurses > 3 errors >=20 > make[4]: stopped in /usr/src/lib/ncurses > *** [all_subdir_lib/ncurses] Error code 2 >=20 > make[3]: stopped in /usr/src/lib > --- all_subdir_lib/libprocstat --- > A failure has been detected in another branch of the parallel make >=20 > make[4]: stopped in /usr/src/lib/libprocstat > *** [all_subdir_lib/libprocstat] Error code 2 >=20 > make[3]: stopped in /usr/src/lib > --- all_subdir_lib/libunbound --- > A failure has been detected in another branch of the parallel make >=20 > make[4]: stopped in /usr/src/lib/libunbound > *** [all_subdir_lib/libunbound] Error code 2 >=20 > make[3]: stopped in /usr/src/lib > --- all_subdir_lib/atf --- > A failure has been detected in another branch of the parallel make >=20 > make[5]: stopped in /usr/src/lib/atf/libatf-c++ > *** [all_subdir_lib/atf/libatf-c++] Error code 2 >=20 > make[4]: stopped in /usr/src/lib/atf > 1 error >=20 > make[4]: stopped in /usr/src/lib/atf > *** [all_subdir_lib/atf] Error code 2 >=20 > make[3]: stopped in /usr/src/lib > --- all_subdir_lib/libsqlite3 --- > A failure has been detected in another branch of the parallel make >=20 > make[4]: stopped in /usr/src/lib/libsqlite3 > *** [all_subdir_lib/libsqlite3] Error code 2 >=20 > make[3]: stopped in /usr/src/lib > 8 errors >=20 > make[3]: stopped in /usr/src/lib > *** [all_subdir_lib] Error code 2 >=20 > make[2]: stopped in /usr/src > 1 error >=20 > make[2]: stopped in /usr/src > *** [everything] Error code 2 >=20 > make[1]: stopped in /usr/src > 1 error >=20 > make[1]: stopped in /usr/src > *** [buildworld] Error code 2 >=20 > make: stopped in /usr/src > 1 error >=20 > make: stopped in /usr/src >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" me, too here. --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/3FMC7ruO+2Y_M86+=ngfJ5B Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWq6iGAAKCRDS528fyFhY lNLcAf44QpiRkVmUiDMV0+zD9GNK0t+k6rIQ67PVz6CWsVIghbt9mwkvu4eRekeq u68lR2Ece3XshLNSyha5YOtBNaS2Af9oDvdSaNSVMhjkv4WsPE2N2O/88rFDdG7K GMMhaCQoKIQcD4ZeErBVJ4jwbQeac54kd7oZQlT6Tu9cqN7kuUzz =kP6G -----END PGP SIGNATURE----- --Sig_/3FMC7ruO+2Y_M86+=ngfJ5B--