I'm starting to use libpq.a in a test C/C++ program, but am getting the
following the linker errors:

bash$ gmake
gcc -o test test.o libpq.a
Undefined                       first referenced
 symbol                             in file
socket                              libpq.a(fe-connect.o)
recv                                libpq.a(fe-misc.o)
getprotobyname                      libpq.a(fe-connect.o)
gethostbyname                       libpq.a(fe-connect.o)
send                                libpq.a(fe-connect.o)
setsockopt                          libpq.a(fe-connect.o)
getsockname                         libpq.a(fe-connect.o)
connect                             libpq.a(fe-connect.o)
ld: fatal: Symbol referencing errors. No output written to test
gmake: *** [test] Error 1
bash$

What library am I missing?
It looks like a system library with the tcpip functions.
I ran 'configure' and recompiled libpq.a

--
Bob VonMoss
mailto:[EMAIL PROTECTED]
from Chicago, IL


Reply via email to