This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Dummy problem when linking
- From: daniel rangel <dr_moreira at yahoo dot com dot br>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 17 Aug 2004 18:34:35 -0300 (ART)
- Subject: Dummy problem when linking
Hi, i have two objs (that i would like to make a lib):
rddpgsql.c rddpgsql0.c and im trying to link this
files against a source file (tstconn.c) that will use
symbos that belongs to the two file above with the
following command: gcc -otstconn
-I/usr/include/xharbour -L/usr/lib/xharbour -lpq
-lxharbour -lslang rddpgsql.o rddpgsql0.o tstconn.c
and it tells me that there is unresolved symbols on
tstconn.c that are the symbols presente in the
rddpgsql.o(i saw them with nm) and the weird is that
if i put the statement '-lpq' after tstconn.c i get
unresolved symbols from libpq like ssl and krb5
functions called by that lib.
could anyone give me a clue on what is happening?
best regards,
[]´s daniel rangel moreira
_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/