Dummy problem when linking

daniel rangel dr_moreira@yahoo.com.br
Wed Aug 18 07:18:00 GMT 2004


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/



More information about the Gcc-help mailing list