[distcc] distcc 2.4 - linkage error

Alon Blayer-Gat alonbg at yahoo.com
Wed May 21 09:07:46 GMT 2003


Does not link on Solaris 2.8:

349 alonb on ~/dev/distcc-2.4>gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)351 

alonb on ~/dev/distcc-2.4>ld -v
GNU ld version 2.11.2 (with BFD 2.11.2)


gcc -g -O2 -W -Wall -W -Wimplicit -Wshadow
-Wpointer-arith -Wcast-align -Wwrite-strings
-Waggregate-return -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs  -o distcc
src/backoff.o src/climasq.o src/clinet.o src/clirpc.o
src/cpp.o src/distcc.o src/hosts.o src/hostfile.o
src/implicit.o src/loadfile.o src/ssh.o src/strip.o
src/timefile.o src/where.o src/trace.o src/util.o
src/io.o src/exec.o src/arg.o src/rpc.o src/tempfile.o
src/bulk.o src/help.o src/filename.o src/lock.o
src/ncpus.o src/netutil.o src/sendfile.o
src/safeguard.o src/snprintf.o src/timeval.o -lresolv
-lresolv -lsocket -lnsl 
src/hosts.o: In function `dcc_parse_hosts':
/h/alonb/dev/distcc-2.4/src/hosts.c:312: undefined
reference to `strndup'
collect2: ld returned 1 exit status
make: *** [distcc] Error 1


    Alon Blayer-Gat

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the distcc mailing list