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 ... ]
                               ^^^^^^^^^^^^^^^
-- 

Rod.

Reply via email to