GwenNelson / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

distcc build fail in zeroconf.c #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Building r456 fails for me on Ubuntu Dapper.

Looks like you need to add src/gcc-id.o to $common_obj in Makefile.in.

Console output:

gcc -g -O2 -MD -W -Wall -Wimplicit -Wuninitialized -Wshadow -Wpointer-arith
-Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wmissing-declarations -D_REENTRANT 
   -o distcc src/backoff.o src/climasq.o src/clinet.o src/clirpc.o
src/compile.o src/cpp.o src/distcc.o src/remote.o src/ssh.o src/state.o
src/strip.o src/timefile.o src/traceenv.o src/include_server_if.o
src/where.o src/zeroconf.o src/emaillog.o src/arg.o src/argutil.o
src/cleanup.o src/compress.o src/trace.o src/util.o src/io.o src/exec.o
src/rpc.o src/tempfile.o src/bulk.o src/help.o src/filename.o src/lock.o
src/netutil.o src/pump.o src/sendfile.o src/safeguard.o src/snprintf.o
src/timeval.o src/dotd.o src/hosts.o src/hostfile.o src/implicit.o
src/loadfile.o lzo/minilzo.o -lpthread   -lpopt -lavahi-common -lavahi-client
src/zeroconf.o: In function `daemon_proc':
/home/thestig/distcc/pump/distcc-read-only/src/zeroconf.c:431: undefined
reference to `dcc_get_gcc_version'
/home/thestig/distcc/pump/distcc-read-only/src/zeroconf.c:431: undefined
reference to `dcc_get_gcc_machine'
/home/thestig/distcc/pump/distcc-read-only/src/zeroconf.c:434: undefined
reference to `dcc_make_dnssd_subtype'
collect2: ld returned 1 exit status
make: *** [distcc] Error 1

Original issue reported on code.google.com by zhang...@gmail.com on 3 Jun 2008 at 9:35

GoogleCodeExporter commented 9 years ago

Original comment by csilv...@gmail.com on 3 Jun 2008 at 9:57