Hi all. Am I the only one seeing this on RELENG_9? ===> libexec/ftpd (all) clang -O2 -pipe -DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -I/usr/src/libexec/ftpd -Dmain=ls_main -I/usr/src/libexec/ftpd/../../bin/ls -DINET6 -DUSE_PAM -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -o ftpd ftpd.o ftpcmd.o logwtmp.o popen.o ls.o cmp.o print.o util.o -lutil -lcrypt -lopie -lmd -lm -lpam clang: warning: argument unused during compilation: '-std=gnu99' ftpd.o: In function `pass': /usr/src/libexec/ftpd/ftpd.c:(.text+0x2676): undefined reference to `__FreeBSD_libc_enter_restricted_mode' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 -- Sphinx of black quartz judge my vow.
On Mon, Dec 26, 2011 at 05:06:35PM +0200, Volodymyr Kostyrko wrote:> Hi all. > > Am I the only one seeing this on RELENG_9? > ...Rather than patching (per se), I updated my sources & rebuilt; I didn't see a problem doing that; I'm running FreeBSd/i386. Peace, david -- David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20111226/ce0253ff/attachment.pgp
On 26 December 2011 19:06, Volodymyr Kostyrko <c.kworr@gmail.com> wrote:> Hi all. > > Am I the only one seeing this on RELENG_9? > > ===> libexec/ftpd (all) > clang -O2 -pipe ?-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING > -I/usr/src/libexec/ftpd -Dmain=ls_main -I/usr/src/libexec/ftpd/../../bin/ls > -DINET6 -DUSE_PAM -std=gnu99 -fstack-protector -Wsystem-headers -Wall > -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign ?-o ftpd ftpd.o > ftpcmd.o logwtmp.o popen.o ls.o cmp.o print.o util.o -lutil -lcrypt -lopie > -lmd -lm -lpam > clang: warning: argument unused during compilation: '-std=gnu99' > ftpd.o: In function `pass': > /usr/src/libexec/ftpd/ftpd.c:(.text+0x2676): undefined reference to > `__FreeBSD_libc_enter_restricted_mode' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** Error code 1This means that linker has not found a mentioned symbol, i.e. likely you haven't updated your libc before trying to build ftpd. In this case you need to act the next order: 1) rebuild && reinstall libc 2) rebuild && reinstall ftpd -- wbr, pluknet
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/26/11 07:06, Volodymyr Kostyrko wrote:> Hi all. > > Am I the only one seeing this on RELENG_9? > > ===> libexec/ftpd (all) clang -O2 -pipe -DSETPROCTITLE -DLOGIN_CAP > -DVIRTUAL_HOSTING -I/usr/src/libexec/ftpd -Dmain=ls_main > -I/usr/src/libexec/ftpd/../../bin/ls -DINET6 -DUSE_PAM -std=gnu99 > -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k > -Wno-uninitialized -Wno-pointer-sign -o ftpd ftpd.o ftpcmd.o > logwtmp.o popen.o ls.o cmp.o print.o util.o -lutil -lcrypt -lopie > -lmd -lm -lpam clang: warning: argument unused during compilation: > '-std=gnu99' ftpd.o: In function `pass': > /usr/src/libexec/ftpd/ftpd.c:(.text+0x2676): undefined reference > to `__FreeBSD_libc_enter_restricted_mode' clang: error: linker > command failed with exit code 1 (use -v to see invocation) *** > Error code 1Ah sorry, you will need to do a 'make install' in /usr/src/include before rebuilding ftpd. Cheers, - -- Xin LI <delphij@delphij.net> https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk76OEsACgkQOfuToMruuMASqACfdPe9HtXnYemRZgyd0tYDMiWX kwcAnA/ggg3Ed7yg1+PCXdvooR/TWLfL =vZeD -----END PGP SIGNATURE-----