64-bit machine
Posted: Fri Jan 25, 2008 7:54 am
Hi,
Someone have tryed to build the ocaml wrapper on a 64-bit machine, and has reported this error:
Does someone know how to manage these kind of problems ?
Someone have tryed to build the ocaml wrapper on a 64-bit machine, and has reported this error:
Code: Select all
ocamlc -c -cc "gcc -static -O3 -std=gnu99 -ffast-math -o wrap_chipmunk.o" wrap_chipmunk.c
ocamlmklib \
-L/usr/local/ -L/usr/local/lib \
-o _chipmunk_stubs wrap_chipmunk.o \
-ccopt -O3 -ccopt -std=gnu99 -ccopt -ffast-math \
-lchipmunk -lchipmunk_static
/usr/bin/ld: wrap_chipmunk.o: relocation R_X86_64_32 against `a local symbol'
can not be used when making a shared object; recompile with -fPIC
wrap_chipmunk.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [dll_chipmunk_stubs.so] Error 2