Previous Thread  Next Thread

chat icon unresolved symbol on collect (OpenBSD)

multix

Posted: Wed May 28, 2003 8:32 pm
Joined: 24 May 2003
Posts: 45
Hello,

I made some progress with the port to OpenBSD. It seems it is pricky about includes and so I made several includes using CFLAGS etc.

the last "attempt" had the computer munching for half the afternoon just to get the following:

---
gcc -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/libpng -funsigned-char -o blender -Wl,--export-dynamic -L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/include/libpng -L/usr/local/lib/python2.2/config source/.libs/libblender_source.al intern/bsp/.libs/libblender_BSP.al intern/decimation/.libs/libblender_LOD.al intern/ghost/.libs/libblender_GHOST.al intern/string/.libs/libblender_STR.al intern/guardedalloc/.libs/libblender_guardedalloc.al intern/bmfont/.libs/libblender_BMF.al intern/container/.libs/libblender_CTR.al intern/memutil/.libs/libblender_MEM.al intern/keymaker/.libs/libblender_belgium.al intern/iksolver/.libs/libblender_IK.al intern/moto/.libs/libblender_MT.al intern/python/frozen/libfrozen.a -lpython2.2 -lGLU -lGL -lX11 -lXext -lutil -ljpeg -lpng -lcrypto -lpthread -lstdc++ -lz -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib
/usr/local/lib/libpython2.2.so.0.0: warning: tempnam() possibly used unsafely; consider using mkstemp()
/usr/local/lib/libpython2.2.so.0.0: warning: tmpnam() possibly used unsafely; consider using mkstemp()
intern/ghost/.libs/libblender_GHOST.al(GHOST_ISystem.lo): In function `GHOST_ISystem::createSystem(void)':
GHOST_ISystem.lo(.text+0x58): undefined reference to `GHOST_SystemX11::GHOST_SystemX11(void)'
collect2: ld returned 1 exit status
--

here my wisdom ends, since the unresolved symbol is from blender itself.

OpenBSD 3.3 is using gcc 2.95.3 and I installed gnu make

-ric
Reply with quote


alien-xmp

Posted: Thu May 29, 2003 8:31 am
Joined: 06 Apr 2003
Posts: 217
Check your config.log for the results of 'checking for X'
and
X11_FALSE='#'
X11_TRUE=''

(ie is X11 autodetected?)
Reply with quote


multix

Posted: Thu May 29, 2003 11:47 pm
Joined: 24 May 2003
Posts: 45
alien-xmp wrote:
Check your config.log for the results of 'checking for X'
and
X11_FALSE='#'
X11_TRUE=''

(ie is X11 autodetected?)


--
from config.log

-
configure:3681: checking for X
configure:3901: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include
configure:4054: gcc -o conftest -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/lib
png -L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/include/libpng conftest.c -L/usr/X11R6/lib -
lX11 >&5
configure:4057: $? = 0
configure:4060: test -s conftest
configure:4063: $? = 0

-

and more at the bottom:

X11_FALSE=''
X11_TRUE='#'

which is the opposite as you said Rolling Eyes

in fact i put in the flags for /usr/X11R6...

PS: shoudl hits thread be moved to Port related problems?
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group