Date: Sun, 18 Mar 2018 18:29:33 +0100 From: "O. Hartmann" <ohartmann@walstatt.org> Cc: AN <andy@neu.net>, freebsd-current@freebsd.org, Mark Johnston <markj@FreeBSD.org>, Mariusz Zaborski <oshogbo@FreeBSD.org> 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: <alpine.BSF.2.21.1803181311050.21296@mail.neu.net> References: <alpine.BSF.2.21.1803181311050.21296@mail.neu.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <andy@neu.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180318183000.2c6fc352>