cvs commit: src/lib/libc Makefile

walt wa1ter at
Sun Feb 20 06:29:45 PST 2005

On Sat, 19 Feb 2005, David Xu wrote:

>   Modified files:
>     lib/libc             Makefile
>   Log:
>   generate __sys_sigtimedwait and __sys_sigwaitinfo to allow
>   thread libraries override their libc version.

Hi David,

This moring I get this error during buildworld:
===> secure/usr.sbin/sshd
cc -O -pipe  -DCUSTOM_SYS_AUTH_PASSWD -DXAUTH_PATH=\"/usr/X11R6/bin/xauth\"
-DUSE_POSIX_THREADS -I/usr/src/secure/usr.sbin/sshd/../../lib/libssh
-I/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh-3.9p1 -DNO_IDEA     -o
sshd auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o
serverloop.o uidswap.o auth.o auth1.o auth-options.o auth-chall.o auth2-chall.o
groupaccess.o auth-bsdauth.o auth2-pam-freebsd.o auth2-hostbased.o
auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o
monitor_wrap.o monitor_fdpass.o kexdhs.o kexgexs.o misc.o dh.o kex.o channels.o
bsd-closefrom.o xmmap.o auth-passwd-freebsd.o auth-skey.o auth2.o loginrec.o
monitor.o servconf.o session.o sshd.o -lopie -lmd -lcrypt -lutil -lz -lwrap
-lpam -pthread -lssh -lcrypto
/usr/obj/usr/src/world_i386/usr/lib/ undefined reference to

I'm trying to improve my detective skills -- so here's a riddle:  when I cd
to /usr/src/secure/usr.sbin/sshd and do a 'make' manually, it all compiles
perfectly.  The list of compiler flags and files is identical in both cases.

So, where does the reference to libc_r come from when doing a buildworld,
and why not the same problem when compiling sshd by hand?

Thanks for any clues!

More information about the Commits mailing list