[ODE] Neither SVN code nor ode-0.7 release builds on FreeBSD
mal content
artifact.one at googlemail.com
Sat Nov 18 10:27:37 MST 2006
Seems to be some weird problem with drawstuff. Can anybody help?
$ ./configure
checking build system type... i386-unknown-freebsd6.1
checking host system type... i386-unknown-freebsd6.1
checking target system type... i386-unknown-freebsd6.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether make sets $(MAKE)... (cached) yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for windres... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for ranlib... ranlib
checking for size_t... yes
checking if a soname should be set... no
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for string.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking if gyroscopic term should be used... yes
checking if double precision is requested... test: freebsd6.1:
unexpected operator
no
checking for appropriate dInfinity constant...
checking for float.h... (cached) yes
checking for appropriate dEpsilon constant... test: xyes: unexpected operator
test: no: unexpected operator
1.19209290e-07f
test: freebsd6.1: unexpected operator
test: xno: unexpected operator
no
checking for a x86-64 CPU... test: freebsd6.1: unexpected operator
test: xno: unexpected operator
no
checking if building a release library... test: xno: unexpected operator
no
checking if building a debug library... test: xno: unexpected operator
no
checking for char... yes
checking size of char... 1
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long int... yes
checking size of long int... 4
checking for void*... yes
checking size of void*... 4
checking which drawstuff lib to build... X11
checking for the suffix of shared libraries... .so
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glext.h... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for main in -lopengl32... no
checking for main in -lglu32... no
checking for main in -lXmu... yes
checking for main in -lXi... yes
checking for main in -lX... no
checking for main in -lX11... yes
checking for main in -lcomctl32... no
checking for main in -lkernel32... no
checking for main in -luser32... no
checking for main in -lgdi32... no
checking for main in -lwinmm... no
checking for main in -lstdc++... yes
checking for main in -lm... yes
checking for main in -lpthread... yes
checking for gprof... no
checking for floor... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for sqrt... yes
checking for sqrtf... yes
checking for sinf... yes
checking for cosf... yes
checking for fabsf... yes
checking for atan2f... yes
checking for fmodf... yes
checking for copysignf... yes
checking for copysign... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for gettimeofday... yes
checking for isnan... yes
checking for isnanf... yes
checking for _isnan... no
checking for _isnanf... no
checking for __isnan... yes
checking for __isnanf... yes
test: freebsd6.1: unexpected operator
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/ode/Makefile
config.status: creating ode/Makefile
config.status: creating ode/src/Makefile
config.status: creating drawstuff/Makefile
config.status: creating drawstuff/src/Makefile
config.status: creating drawstuff/dstest/Makefile
config.status: creating ode/test/Makefile
config.status: creating ode-config
config.status: creating include/ode/config.h
config.status: executing depfiles commands
Configuration:
Target system type: i386-unknown-freebsd6.1
Build system type: i386-unknown-freebsd6.1
Host system type: i386-unknown-freebsd6.1
Use double precision: no
Use OPCODE: yes
Use GIMPACT: no
Use gyroscopic term: yes
Is this a Pentium: no
Is the CPU x86-64: no
Is this a release build: no
Is this a debug build: no
Using SONAME: no
Headers will be installed in /usr/local/include/ode
Libraries will be installed in /usr/local/lib
$ gmake
Making all in include
gmake[1]: Entering directory `/mnt/home/mc/svn-ext/opende/include'
Making all in ode
gmake[2]: Entering directory `/mnt/home/mc/svn-ext/opende/include/ode'
gmake all-am
gmake[3]: Entering directory `/mnt/home/mc/svn-ext/opende/include/ode'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/mnt/home/mc/svn-ext/opende/include/ode'
gmake[2]: Leaving directory `/mnt/home/mc/svn-ext/opende/include/ode'
gmake[2]: Entering directory `/mnt/home/mc/svn-ext/opende/include'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/mnt/home/mc/svn-ext/opende/include'
gmake[1]: Leaving directory `/mnt/home/mc/svn-ext/opende/include'
Making all in drawstuff
gmake[1]: Entering directory `/mnt/home/mc/svn-ext/opende/drawstuff'
Making all in src
gmake[2]: Entering directory `/mnt/home/mc/svn-ext/opende/drawstuff/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -I../../include
-I../../include -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib -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
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -I../../include
-I../../include -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib -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
rm -f libdrawstuff.a
ar cru libdrawstuff.a libdrawstuff_a-drawstuff.o libdrawstuff_a-x11.o
ranlib libdrawstuff.a
gmake[2]: Leaving directory `/mnt/home/mc/svn-ext/opende/drawstuff/src'
Making all in dstest
gmake[2]: Entering directory `/mnt/home/mc/svn-ext/opende/drawstuff/dstest'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode -I../../include
-I../.. -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib -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++ -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib -o dstest
-L../../drawstuff/src dstest-dstest.o -ldrawstuff -lGL -lGLU -lXmu
-lXi -lX11 -lstdc++ -lm -lpthread -lstdc++ -lm -lpthread
/usr/bin/ld: warning: libm.so.3, needed by /usr/X11R6/lib/libGL.so,
may conflict with libm.so.4
/usr/bin/ld: warning: libm.so.3, needed by /usr/X11R6/lib/libGL.so,
may conflict with libm.so.4
dstest-dstest.o(.text+0x336): In function `simLoop(int)':
/mnt/home/mc/svn-ext/opende/drawstuff/dstest/dstest.cpp:100: undefined
reference to `dsDrawCapsule'
gmake[2]: *** [dstest] Error 1
gmake[2]: Leaving directory `/mnt/home/mc/svn-ext/opende/drawstuff/dstest'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/mnt/home/mc/svn-ext/opende/drawstuff'
gmake: *** [all-recursive] Error 1
I can't figure out why dsDrawCapsule is undefined. It's certainly present
in libdrawstuff.a:
$ nm drawstuff/src/libdrawstuff.a | grep Capsule
00000f38 t _Z11drawCapsuleff
00003188 T dsDrawCapsule
000035f4 T dsDrawCapsuleD
00003688 T dsSetCapsuleQuality
Any ideas?
MC
More information about the ODE
mailing list