On Tue, Sep 15, 2009 at 09:59:37AM -0700, Rod Evans wrote: > Yura Vishnevskiy wrote: > >Thanks! Yes, I have to define static libs after obj files. > > > >But now ld can't find some symbols which are used by libapr-1.a itself: > >Undefined first referenced > > symbol in file > >bind > >/export/home/yura/Projects/MYPROJ/dev/trunk/build/solaris-gcc-x86-i686/Debug/apr/lib/libapr-1.a(sockets.o) > > % man bind > > Sockets Library Functions bind(3SOCKET) > > NAME > bind - bind a name to a socket > > SYNOPSIS > cc [ flag ... ] file ... -lsocket -lnsl [ library ... ] > ^^^^^^^^^^^^^^^
This is one of those Linux familiarity issues. Any reason not to have at least filters in libc for these? Nico --