ports/62016: New port: graphics/demeter A C++ library to render 3D terrains using OpenGL

Thierry Thomas thierry at FreeBSD.org
Sun May 30 09:08:47 UTC 2004


Synopsis: New port: graphics/demeter A C++ library to render 3D terrains using OpenGL

State-Changed-From-To: open->feedback
State-Changed-By: thierry
State-Changed-When: Sun May 30 02:05:02 PDT 2004
State-Changed-Why: 

1) This port uses libtool => you should define USE_LIBTOOL_VER
in place of GNU_CONFIGURE.

2) Compilation of the example aborts:

/bin/sh ../../libtool --mode=link c++ `sdl11-config --cflags` -O -pipe -march=pentium4 -I/usr/X11R6/include -I/usr/local/include  -L/usr/X11R6/lib -L/usr/local/lib -o SampleRawApplication `sdl11-config --libs` SampleRawMain.o Camera.o Matrix.o Data.o ../../src/libDemeter.la -lGLU -lGL 
mkdir .libs
c++ -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -pipe -march=pentium4 -I/usr/X11R6/include -I/usr/local/include -o .libs/SampleRawApplication -Wl,-rpath -Wl,/usr/local/lib SampleRawMain.o Camera.o Matrix.o Data.o  -L/usr/X11R6/lib -L/usr/local/lib /usr/local/lib/libSDL-1.1.so -lm -lvgl -laudio -lXt -lX11 -lXext -lvga -laa -lusbhid ../../src/.libs/libDemeter.so -lGLU -lGL -Wl,--rpath -Wl,/usr/local/lib
SampleRawMain.o: In function `main':
SampleRawMain.o(.text+0x5fd): undefined reference to `glXGetProcAddress'
/usr/local/lib/libSDL-1.1.so: undefined reference to `pthread_create'
/usr/local/lib/libSDL-1.1.so: undefined reference to `pthread_attr_init'
/usr/local/lib/libSDL-1.1.so: undefined reference to `pthread_exit'
/usr/local/lib/libSDL-1.1.so: undefined reference to `pthread_cancel'
/usr/local/lib/libSDL-1.1.so: undefined reference to `pthread_setcanceltype'
/usr/local/lib/libSDL-1.1.so: undefined reference to `pthread_attr_setdetachstate'
/usr/local/lib/libSDL-1.1.so: undefined reference to `pthread_join'
/usr/local/lib/libSDL-1.1.so: undefined reference to `pthread_cond_timedwait'
gmake[2]: *** [SampleRawApplication] Erreur 1
gmake[2]: Leaving directory `/usr/ports/graphics/demeter/work/demeter-3.21/samples/SampleRawApplication'

It should be linked with ${PTHREAD_LIBS}.


http://www.freebsd.org/cgi/query-pr.cgi?pr=62016



More information about the freebsd-ports-bugs mailing list