[ODE] Autotools added to UNSTABLE

Rodrigo Hernandez kwizatz at aeongames.com
Tue Apr 12 06:43:33 MST 2005


Ok, done, try again :)

Just in case the file to edit for changes required in config.h is 
configure.in.

Cheers!

Tanguy Fautre wrote:

>
> Hi,
>
> I've just tested it on a Debian AMD64 but could not get it to work (I 
> have to admit I did not try for long).
>
> I do:
>
> sh autogen.sh
> ./configure --with-opcode --with-double-precision --enable-release
> make
>
> The make process generates errors on the first file it compiles:
>
> g++ -fomit-frame-pointer -ffast-math -g -O2 
> -I/home/tfautre/development/ode_unstable_cvs/ode/include 
> -fomit-frame-pointer -ffast-math -g -O2 -o dstest dstest.o  -lstdc++ -lm
> dstest.o(.text+0x1a): In function `start()':
> /home/tfautre/development/ode_unstable_cvs/ode/drawstuff/dstest/dstest.cpp:37: 
> undefined reference to `dsGetViewpoint'
> dstest.o(.text+0x37):/home/tfautre/development/ode_unstable_cvs/ode/drawstuff/dstest/dstest.cpp:39: 
> undefined reference to `dsSetViewpoint'
> dstest.o(.text+0xc5): In function `simLoop(int)':
> /home/tfautre/development/ode_unstable_cvs/ode/drawstuff/dstest/dstest.cpp:54: 
> undefined reference to `dsSetTexture'
> dstest.o(.text+0x192):/home/tfautre/development/ode_unstable_cvs/ode/drawstuff/dstest/dstest.cpp:63: 
> undefined reference to `dsSetColor'
> dstest.o(.text+0x1a9):/home/tfautre/development/ode_unstable_cvs/ode/drawstuff/dstest/dstest.cpp:64: 
> undefined reference to `dsDrawSphere'
> dstest.o(.text+0x1b0):/home/tfautre/development/ode_unstable_cvs/ode/drawstuff/dstest/dstest.cpp:66: 
> undefined reference to `dsSetTexture'
> [...]
>
>
> PS:
>
> On a more cosmetic side, I know this mistake comes from the patch I 
> applied to configurator.c and timer.cpp, but the 64 bits detection 
> routine is in fact an x86-64 detection and not a generic 64 bits 
> detection.
>
> To reflect this, I changed the define from "SYS64bits" to 
> "X86_64_SYSTEM" (as well as the printf messages), which unfortunately 
> breaks the autotools scripts that still defines SYS64bits instead of 
> X86_64_SYSTEM.
>
> I also suggest you change the output of the configure:
> "Is the CPU 64bit:"   to   "Is the CPU x86-64:"
> "checking for a 64 bit processor..."    to    "checking for an x86-64 
> processor..."
>
>
> Cheers
>
> Tanguy
>
>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>



More information about the ODE mailing list