lib.c

Mick Ortwein (ortwein@apexgrp.com)
Fri, 22 Dec 1995 09:35:49 -0500

I am having a problem with a static compile using
gcc on a Sun-OS 4.1.3 machine. I can get it to go
dynamically but when I use the static compile I
get the following errors:

gcc -static -o swish swish.o -L/usr/local/aac3/lib -ltkx -ltk -ltclx -ltcl -ltix -lscotty -L/usr/lib/X11 -lX11 -lresolv -lm
collect2: ld returned 2 exit status
ld: /lib/libc.a(gethostent.o): _sethostent: multiply defined
ld: /lib/libc.a(gethostent.o): _gethostbyname: multiply defined
ld: /lib/libc.a(gethostent.o): _gethostbyaddr: multiply defined
ld: /lib/libc.a(gethostent.o): _endhostent: multiply defined
*** Error code 1
make: Fatal error: Command failed for target `swish'

-------------------------

Is there something wrong with libc?

Thanks

//// Mick Ortwein (410)312-2683
(o o) ortwein@apexgrp.com
oOO-(_)-OOo