[ODE] building on intel OSX

Hampus Soderstrom hampus at sxp.se
Sun Apr 2 21:05:25 MST 2006


Hi,

I'm trying to build ODE on a Intel OS X machine and get "PIC register  
'%ebx' clobbered in 'asm'"

Any suggestions on how to fix this?

regards

/Hampa
toribash.com



..........
Configuration:
   Target system type:      i386-apple-darwin8.4.1
   Build  system type:      i386-apple-darwin8.4.1
   Host   system type:      i386-apple-darwin8.4.1
   Use double precision:    yes
   Use OPCODE:              yes
   Support cylinder:        yes
   Is this a Pentium:       yes
   Is the CPU x86-64:       no
   Is this a release build: no
   Headers will be installed in /usr/local/include/ode
   Libraries will be installed in /usr/local/lib
..........
hampa:~/code/ode/ode/ode/src hampa$ make
source='timer.cpp' object='timer.o' libtool=no \
depfile='.deps/timer.Po' tmpdepfile='.deps/timer.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode  -march=i386 -I../../ 
include -I../../include -g -march=i386 -I../../include -I../../ 
include -g -c -o timer.o `test -f 'timer.cpp' || echo './'`timer.cpp
timer.cpp: In function 'void serialize()':
timer.cpp:130: error: PIC register '%ebx' clobbered in 'asm'
make: *** [timer.o] Error 1
hampa:~/code/ode/ode/ode/src hampa$ uname -a
Darwin hampa.local 8.4.1 Darwin Kernel Version 8.4.1: Tue Jan  3  
18:23:53 PST 2006; root:xnu-792.7.90.obj~1/RELEASE_I386 i386 i386




More information about the ODE mailing list