[Bf-python] blender openbsd

Rolando Rubio R 8rolando1 at tutopia.com
Sun Sep 14 15:51:29 CEST 2003


Hi!!!
Actually I work to compile the version of CVS on Bleder whit lots of problems 
, the problem that I can't solve is when finally compile almost anything I 
get an error but I'm very close, if anyone want to help me to compile my 
version of blender to porting on OpenBSD here is the problems and how I 
solve:
I get the CVS version of blender 

next i need openal then I get it
 cvs -d:pserver:guest at opensource.creative.com:/usr/local/cvs-repository login
password: guest
 cvs -d:pserver:guest at opensource.creative.com:/usr/local/cvs-repository co 
openal
then compile openal whitout any problem.

Next export some vars
export CXXFLAGS="-I/usr/X11R6/include/ -I/usr/local/include -L/usr/local/lib 
-L/usr/X11R6/lib -I/usr/local/include/python2.2 
-L/usr/local/lib/python2.2/config"
export CFLAGS="-I/usr/X11R6/include/ -I/usr/local/include -L/usr/local/lib 
-L/usr/X11R6/lib -I/usr/local/include/python2.2 
-L/usr/local/lib/python2.2/config"

move the ltmain.sh to another location an replace whit one in my system.
 mv /home/rolando/blender/blender/ltmain.sh 
/home/rolando/blender/blender/ltmain.sh.bak
cp /usr/local/share/libtool/ltmain.sh  /home/rolando/blender/blender/ltmain.sh

I install python 2.2 

Finally everything compile less the final part I get this error:
/bin/sh ./libtool --mode=link gcc  -g -O2 -funsigned-char 
-I/usr/local/include/SDL -D_REENTRANT  -pthread -o blender 
-L/lib/python at PYTHON_VERSION@/config    source/libblender_source.la 
intern/bsp/libblender_BSP.la intern/decimation/libblender_LOD.la 
intern/ghost/libblender_GHOST.la intern/string/libblender_STR.la 
intern/guardedalloc/libblender_guardedalloc.la 
intern/bmfont/libblender_BMF.la intern/container/libblender_CTR.la 
intern/memutil/libblender_MEM.la intern/iksolver/libblender_IK.la 
intern/moto/libblender_MT.la intern/SoundSystem/libsoundsystem.la 
-lpython at PYTHON_VERSION@ -lm -lGLU -lGL -lX11 -lXext -lopenal -lvorbisfile 
-lvorbis -logg -lesd -lsmpeg -lutil -lSDL -lutil -ljpeg -lpng -lpthread 
-lstdc++ -lz -L/usr/local/lib -L/usr/X11R6/lib -lSDL -pthread -lm 
-L/usr/X11R6/lib -lX11 -lXext -lusbhid
gcc -g -O2 -funsigned-char -I/usr/local/include/SDL -D_REENTRANT -pthread -o 
blender -L/lib/python at PYTHON_VERSION@/config 
source/.libs/libblender_source.al -L/usr/local/lib -L/usr/X11R6/lib 
-L/usr/local/lib/python2.2/config -pthread -pthread -pthread -pthread 
-pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread 
-pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread 
-pthread -pthread -pthread intern/bsp/.libs/libblender_BSP.al -pthread 
intern/decimation/.libs/libblender_LOD.al -pthread 
intern/ghost/.libs/libblender_GHOST.al -pthread 
intern/string/.libs/libblender_STR.al -pthread 
intern/guardedalloc/.libs/libblender_guardedalloc.al -pthread 
intern/bmfont/.libs/libblender_BMF.al -pthread 
intern/container/.libs/libblender_CTR.al -pthread 
intern/memutil/.libs/libblender_MEM.al -pthread 
intern/iksolver/.libs/libblender_IK.al -pthread 
intern/moto/.libs/libblender_MT.al -pthread 
intern/SoundSystem/.libs/libsoundsystem.al -pthread -lGLU -lGL -lX11 -lXext 
-lopenal -lvorbisfile -lvorbis -logg -lesd -lsmpeg -lutil -lSDL -lutil -ljpeg 
-lpng -lpthread -lstdc++ -lz -lSDL -pthread -lm -lX11 -lXext -lusbhid 
-lpython at PYTHON_VERSION@ -lm -lGLU -lGL -lX11 -lXext -lopenal -lvorbisfile 
-lvorbis -logg -lesd -lsmpeg -lutil -lSDL -lutil -ljpeg -lpng -lpthread 
-lstdc++ -lz -L/usr/local/lib -L/usr/X11R6/lib -lSDL -pthread -lm 
-L/usr/X11R6/lib -lX11 -lXext -lusbhid
ld: -lpython at PYTHON_VERSION@: no match
collect2: ld returned 1 exit status
gmake[2]: *** [blender] Error 1
gmake[2]: Leaving directory `/home/rolando/blender/newdir'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/rolando/blender/newdir'
gmake: *** [all] Error 2

I solve the problem changin the @PYTHON_VERSION@ whit 2.2 then I get this :
[rolando at master:~/blender/newdir] $ /bin/sh ./libtool --mode=link gcc  -g -O2 
-funsigned-char -I/usr/local/include/SDL -D_REENTRANT  -pthread -o blender 
-L/lib/python2.2/config    source/libblender_source.la 
intern/bsp/libblender_BSP.la intern/decimation/libblender_LOD.la 
intern/ghost/libblender_GHOST.la intern/string/libblender_STR.la 
intern/guardedalloc/libblender_guardedalloc.la 
intern/bmfont/libblender_BMF.la intern/container/libblender_CTR.la 
intern/memutil/libblender_MEM.la intern/iksolver/libblender_IK.la 
intern/moto/libblender_MT.la intern/SoundSystem/libsoundsystem.la -lpython2.2 
-lm -lGLU -lGL -lX11 -lXext -lopenal -lvorbisfile -lvorbis -logg -lesd 
-lsmpeg -lutil -lSDL -lutil -ljpeg -lpng -lpthread -lstdc++ -lz 
-L/usr/local/lib -L/usr/X11R6/lib -lSDL -pthread -lm -L/usr/X11R6/lib -lX11 
-lXext -lusbhid
gcc -g -O2 -funsigned-char -I/usr/local/include/SDL -D_REENTRANT -pthread -o 
blender -L/lib/python2.2/config source/.libs/libblender_source.al 
-L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib/python2.2/config -pthread 
-pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread 
-pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread 
-pthread -pthread -pthread -pthread -pthread -pthread 
intern/bsp/.libs/libblender_BSP.al -pthread 
intern/decimation/.libs/libblender_LOD.al -pthread 
intern/ghost/.libs/libblender_GHOST.al -pthread 
intern/string/.libs/libblender_STR.al -pthread 
intern/guardedalloc/.libs/libblender_guardedalloc.al -pthread 
intern/bmfont/.libs/libblender_BMF.al -pthread 
intern/container/.libs/libblender_CTR.al -pthread 
intern/memutil/.libs/libblender_MEM.al -pthread 
intern/iksolver/.libs/libblender_IK.al -pthread 
intern/moto/.libs/libblender_MT.al -pthread 
intern/SoundSystem/.libs/libsoundsystem.al -pthread -lGLU -lGL -lX11 -lXext 
-lopenal -lvorbisfile -lvorbis -logg -lesd -lsmpeg -lutil -lSDL -lutil -ljpeg 
-lpng -lpthread -lstdc++ -lz -lSDL -pthread -lm -lX11 -lXext -lusbhid 
-lpython2.2 -lm -lGLU -lGL -lX11 -lXext -lopenal -lvorbisfile -lvorbis -logg 
-lesd -lsmpeg -lutil -lSDL -lutil -ljpeg -lpng -lpthread -lstdc++ -lz 
-L/usr/local/lib -L/usr/X11R6/lib -lSDL -pthread -lm -L/usr/X11R6/lib -lX11 
-lXext -lusbhid
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0xb61
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0xb08
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0xafc
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0x5ed
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0x53d
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0x531
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0x4a1
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0x495
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0x2d5
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Effect.lo): 
relocation must refer to global symbol at 0x2c9
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Particle.lo): 
relocation must refer to global symbol at 0x391
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Particle.lo): 
relocation must refer to global symbol at 0x385
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Wave.lo): 
relocation must refer to global symbol at 0x3f1
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Wave.lo): 
relocation must refer to global symbol at 0x3e5
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Build.lo): 
relocation must refer to global symbol at 0x151
ld: source/.libs/libblender_source.al(libblender_api2_2x_la-Build.lo): 
relocation must refer to global symbol at 0x145
GHOST_ISystem.lo: Undefined symbol `GHOST_SystemX11::GHOST_SystemX11(void)' 
referenced from text segment
./Modules/posixmodule.c:4457: warning: tempnam() possibly used unsafely; 
consider using mkstemp()
./Modules/posixmodule.c:4509: warning: tmpnam() possibly used unsafely; 
consider using mkstemp()
collect2: ld returned 1 exit status

thanks to anyone!!!!!
Att: 
	Rolando



More information about the Bf-python mailing list