DragonFly BSD
DragonFly commits List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libc Makefile


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Mon, 21 Feb 2005 00:00:43 +0900

On Sun, Feb 20, 2005 at 06:29:45AM -0800, walt wrote:
> /usr/obj/usr/src/world_i386/usr/lib/libc_r.so: undefined reference to
> `__sys_sigwaitinfo'
> 
> 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?

Hi, seems like we're in the same boat :)
When you go to the sshd's build directory and run make command, it tries
to link against the libraries already installed on your system(so you can't
reproduce the error that way). During buildworld on the other hand, things
are installed under /usr/obj/usr/src/world_i386, and binary executables are
linked against the libraries there.
Try wmake instead of make command and you'll see the error message above.
wmake command is a tiny shell script to run make using the environment
which has already been built during buildworld. A very useful script in
such a situation.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]