Date: Mon, 26 Dec 2011 18:57:44 +0300 From: Sergey Kandaurov <pluknet@gmail.com> To: Volodymyr Kostyrko <c.kworr@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: minor regression after patching Message-ID: <CAE-mSOJx51E%2BcMGy_UytDtDBdujnzM2ZEXBBqFRTgC2VCaucng@mail.gmail.com> In-Reply-To: <4EF88D7B.4040600@gmail.com> References: <4EF88D7B.4040600@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > > =3D=3D=3D> libexec/ftpd (all) > clang -O2 -pipe =A0-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING > -I/usr/src/libexec/ftpd -Dmain=3Dls_main -I/usr/src/libexec/ftpd/../../bi= n/ls > -DINET6 -DUSE_PAM -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall > -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign =A0-o ftpd ftpd.o > ftpcmd.o logwtmp.o popen.o ls.o cmp.o print.o util.o -lutil -lcrypt -lopi= e > -lmd -lm -lpam > clang: warning: argument unused during compilation: '-std=3Dgnu99' > 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 This 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 --=20 wbr, pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOJx51E%2BcMGy_UytDtDBdujnzM2ZEXBBqFRTgC2VCaucng>