I am trying to link the libscotty.a into one of my programs on
a Sun. I want to use gcc -static but cannot get past an erro at
link time:
ld: /lib/libc.a(gethostent.o): -sethostent: multiply defined
ld: /lib/libc.a(gethostent.o): -gethostbyname: multiply defined
...
My compile line looks like:
gcc -static -c swish.c
gcc -static -o swish swish.o -ltkx -ltk -ltclx -ltcl -ltix -lscotty -L/usr/lib/X11 -lX11 -lresolv -lm
Is there something I am doing wrong? Everything compiles fine when I
leave off the -static flag.
-~a
//// Mick Ortwein (410)312-2683
(o o) ortwein@apexgrp.com
oOO-(_)-OOo