When runnung make we get the following error:
Making all in src source='ingraphs.c' object='ingraphs.lo' libtool=yes depfile='.deps/ingraphs.Plo' tmpdepfile='.deps/ingraphs.TPlo' depmode=gcc3 /bin/sh ../../config/depcomp /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../graph -I../../agraph -I../../cdt -I../../pathplan -I../. ./dotneato/pack -I../../dotneato/neatogen -I../../dotneato/gvrender -I../../d otneato/common LIBS = -lm -I/usr/local/include -g -O2 -Wall -Wno-unknown-prag mas -c -o ingraphs.lo `test -f 'ingraphs.c' || echo './'`ingraphs.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../graph -I../../agraph -I../.. /cdt -I../../pathplan -I../../dotneato/pack -I../../dotneato/neatogen -I../../do tneato/gvrender -I../../dotneato/common LIBS = -lm -I/usr/local/include -g -O2 - Wall -Wno-unknown-pragmas -c ingraphs.c -MT ingraphs.lo -MD -MP -MF .deps/ingrap hs.TPlo -fPIC -DPIC -o ingraphs.lo gcc: cannot specify -o with -c or -S and multiple compilations *** Error exit code 1
Stop. *** Error exit code 1
Stop. *** Error exit code 1
Stop. *** Error exit code 1
Stop.
Comments:
[ellson] The problem is caused by the "LIBS = -lm" that has somehow become part of the gcc command.
Have you modified tools/src/Makefile.am in any way? My guess is that the
"LIBS = @LIBS@" line has gotten appended to the AM_CPPFLAGS list.
Owner: ellson
Status: Fixed