[distcc] building on Solaris 8
Dimitri PAPADOPOULOS-ORFANOS
papadopo at shfj.cea.fr
Fri Jul 12 10:18:20 GMT 2002
Hi,
Building distcc-0.6 on Solaris 8 with the Forte 6 update 2 compiler:
"filename.c", line 49: warning: improper pointer/integer combination: op "="
cc -o distcc distcc.o clinet.o where.o hosts.o trace.o util.o io.o exec.o arg.o
rpc.o tempfile.o bulk.o help.o filename.o -lpopt
ld: fatal: library -lpopt: not found
ld: fatal: File processing errors. No output written to distcc
You should link using:
-lnsl -lsocket
instead of:
-lpopt
Then there's still an error:
$ cc -o distcc distcc.o clinet.o where.o hosts.o trace.o util.o io.o exec.o
arg.o rpc.o tempfile.o bulk.o help.o filename.o -lnsl -lsocket
Undefined first referenced
symbol in file
asprintf where.o
ld: fatal: Symbol referencing errors. No output written to distcc
I'm not sure what asprintf is. Is it supposed to be in the "popt"
library? Where can I find this library?
More information about the distcc
mailing list