freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] ld: fatal: Symbol referencing errors....g++ -g -L.
- From: Martin Spott <Martin.Spott AT uni-duisburg.de>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] ld: fatal: Symbol referencing errors....g++ -g -L.
- Date: Thu, 2 Dec 2004 13:33:55 +0000 (UTC)
"Chaitanya B" wrote:
> 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)
On Solaris you usually have to add -lsocket and/or -lnsl to programs
that do communication over network. I'd use both: libsocket for
'socket' and libnsl for the rest ;-)
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
-
[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.