Date: Sun, 30 May 2004 02:08:30 -0700 (PDT) From: Thierry Thomas <thierry@FreeBSD.org> To: tiamat@comset.net, thierry@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/62016: New port: graphics/demeter A C++ library to render 3D terrains using OpenGL Message-ID: <200405300908.i4U98UoB092649@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405300908.i4U98UoB092649>