[ODE] trouble compiling from SVN on Debian Sid (unstable)

Jean de Largentaye jlargentaye at gmail.com
Fri May 5 13:20:46 MST 2006


Greetings,

So I'm trying to catch up on the code itself now. However, I seem to
be encountering some problems during the compilation process.
After running autogen.sh (with automake 1.9.6) and configure with
extra options, I get this:
--SNIP--
make[2]: Entering directory `/home/john/Prog/ode-svn/trunk/drawstuff/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode   -g
-I../../include -I../../include -g -I -MT libdrawstuff_a-drawstuff.o
-MD -MP -MF ".deps/libdrawstuff_a-drawstuff.Tpo" -c -o
libdrawstuff_a-drawstuff.o `test -f 'drawstuff.cpp' || echo
'./'`drawstuff.cpp; \
        then mv -f ".deps/libdrawstuff_a-drawstuff.Tpo"
".deps/libdrawstuff_a-drawstuff.Po"; else rm -f
".deps/libdrawstuff_a-drawstuff.Tpo"; exit 1; fi
g++: libdrawstuff_a-drawstuff.o: No such file or directory
--SNIP--

and it exits. If I run make again, I get this (you'll notice it
complains about another file) :
--SNIP--
make[2]: Entering directory `/home/john/Prog/ode-svn/trunk/drawstuff/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode   -g
-I../../include -I../../include -g -I -MT libdrawstuff_a-x11.o -MD -MP
-MF ".deps/libdrawstuff_a-x11.Tpo" -c -o libdrawstuff_a-x11.o `test -f
'x11.cpp' || echo './'`x11.cpp; \
        then mv -f ".deps/libdrawstuff_a-x11.Tpo"
".deps/libdrawstuff_a-x11.Po"; else rm -f
".deps/libdrawstuff_a-x11.Tpo"; exit 1; fi
g++: libdrawstuff_a-x11.o: No such file or directory
--SNIP--

third time's a charm? Nope:
--SNIP--
make[2]: Entering directory `/home/john/Prog/ode-svn/trunk/drawstuff/dstest'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode   -g
-I../../include -I../.. -g -I -MT dstest-dstest.o -MD -MP -MF
".deps/dstest-dstest.Tpo" -c -o dstest-dstest.o `test -f 'dstest.cpp'
|| echo './'`dstest.cpp; \
        then mv -f ".deps/dstest-dstest.Tpo" ".deps/dstest-dstest.Po";
else rm -f ".deps/dstest-dstest.Tpo"; exit 1; fi
g++: dstest-dstest.o: No such file or directory
--SNIP--

OK, breathe deep. Again:
--SNIP--
make[2]: Entering directory `/home/john/Prog/ode-svn/trunk/drawstuff/dstest'
g++  -g -I  -L -o dstest -L../../drawstuff/src dstest-dstest.o -ldrawstuff  -L
g++: argument to '-L' missing
--SNIP--

... And from then on, every time I run make, I get the last error. I'm
completely at a loss here. I guess somehow, somewhere, autotools
generated borken makefiles. I'm pretty clueless when it comes to
autotools, and don't know where to start here. Any ideas?

Note that I cut out some parts of the compilation process in what I
reported, the rest is only entering directories and exiting du to the
error. The Autotools phase, generating configure, seems to go fine: no
error messages. The configure goes pretty fine too, although there's
this:
--SNIP--
/home/john/Prog/ode-svn/trunk/missing: Unknown `--run' option
Try `/home/john/Prog/ode-svn/trunk/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
--SNIP--
Which I guess remains from the configure/etc.. generation by automake
1.8.5 I tried before.

John



More information about the ODE mailing list