[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OT] error compiling libFOX - pthread problem?



	Hi,

	I was wondering if anyone could help my try to determine why
fox-0.99.142 doesn't seem to want to compile for me. It seems to act
like I don't have libpthread. I tried it with fox-0.99.174 also and get
the same error as follows...


make[1]: Entering directory `/usr/local/src/fox-0.99.142/tests'
c++ -DPACKAGE=\"fox\" -DVERSION=\"0.99.142\" -DTIME_WITH_SYS_TIME=1
-DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_PARAM_H=1
-DHAVE_SYS_SELECT_H=1 -DHAVE_ZLIB_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_PNG_H=1
-I. -I.  -I../include -I../include    -DHAVE_XSHM -DHAVE_ZLIB_H=1
-DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -Wall -W -Wmissing-prototypes
-Woverloaded-virtual -Wformat -DHAVE_OPENGL -DSUN_OGL_NO_VERTEX_MACROS
-I/usr/X11R6/include -c minheritance.cpp
/bin/sh ../libtool --mode=link c++  -DHAVE_XSHM -DHAVE_ZLIB_H=1
-DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -Wall -W -Wmissing-prototypes
-Woverloaded-virtual -Wformat -DHAVE_OPENGL -DSUN_OGL_NO_VERTEX_MACROS
-I/usr/X11R6/include  -o minheritance  minheritance.o ../src/libFOX.la
-lm -lz -ljpeg -lpng -lz
mkdir .libs
c++ -DHAVE_XSHM -DHAVE_ZLIB_H=1 -DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -Wall -W
-Wmissing-prototypes -Woverloaded-virtual -Wformat -DHAVE_OPENGL
-DSUN_OGL_NO_VERTEX_MACROS -I/usr/X11R6/include -o .libs/minheritance
minheritance.o ../src/.libs/libFOX.so -L/usr/X11R6/lib -lXext -lX11 -lGL
-lGLU -lz -ljpeg -lpng -lz -lm -lz -ljpeg -lpng -lz
../src/.libs/libFOX.so: undefined reference to `dlerror'
../src/.libs/libFOX.so: undefined reference to `pthread_getspecific'
../src/.libs/libFOX.so: undefined reference to `dlclose'
../src/.libs/libFOX.so: undefined reference to `pthread_key_create'
../src/.libs/libFOX.so: undefined reference to `dlopen'
../src/.libs/libFOX.so: undefined reference to `dlsym'
../src/.libs/libFOX.so: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make[1]: *** [minheritance] Error 1
make[1]: Leaving directory `/usr/local/src/fox-0.99.142/tests'
make: *** [all-recursive] Error 1


Kinda hope someone might have an idea as to what's wrong there.

	Thanks,

	Jim Richards


Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to
produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook




Reply to: