freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] ld: fatal: Symbol referencing errors....g++ -g -L. orgClient.o -lctiwf
- From: "Chaitanya B" <chaitanyap AT knowsys.net>
- To: <FreeTDS AT lists.ibiblio.org>
- Cc:
- Subject: [freetds] ld: fatal: Symbol referencing errors....g++ -g -L. orgClient.o -lctiwf
- Date: Thu, 2 Dec 2004 18:34:46 +0530
Hi All,
Can any one please help me, i am facing a problem in linking an external
Library libctiwf.a with my c++ program which has the respective ctiapiwf.h
file included.
The following is the error i am getting when executing it in Solaris 5.8 and
g++ compiler.
I have tried with most of the comman linking commands....
bash-2.03# g++ -c orgClient.cc
bash-2.03# ls
ctiapiwf.h header libctiwf.a orgClient.c orgClient.cc
orgClient.o
bash-2.03# g++ -g -L. orgClient.o -lctiwf
Undefined first referenced
symbol in file
socket ./libctiwf.a(api.o)
recv ./libctiwf.a(api.o)
gethostbyname ./libctiwf.a(api.o)
send ./libctiwf.a(api.o)
setsockopt ./libctiwf.a(api.o)
getservbyname ./libctiwf.a(api.o)
connect ./libctiwf.a(api.o)
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
It is very urgent , please help.....
Thankz and regards,
Chaitanya Prabhu. B
-
[freetds] ld: fatal: Symbol referencing errors....g++ -g -L. orgClient.o -lctiwf,
Chaitanya B, 12/02/2004
-
Re: [freetds] ld: fatal: Symbol referencing errors....g++ -g -L.,
Martin Spott, 12/02/2004
-
Re: [freetds] ld: fatal: Symbol referencing errors....g++ -g -L.,
Chaitanya B, 12/02/2004
- Re: [freetds] ld: fatal: Symbol referencing errors....g++ -g -L., Martin Spott, 12/02/2004
-
Re: [freetds] ld: fatal: Symbol referencing errors....g++ -g -L.,
Chaitanya B, 12/02/2004
-
Re: [freetds] ld: fatal: Symbol referencing errors....g++ -g -L.,
Martin Spott, 12/02/2004
Archive powered by MHonArc 2.6.24.