I'm having good luck getting started with Irrlicht on Suse 9.1, but at home I use Fedora Core 3. I can't get Hello World to compile.
I get this error, anyone know why?
__________________________________
Building the whole Project: 01_HelloWorld ...
make
g++ main.cpp -o example -I"../../include" -I"/usr/X11R6/include" -L"/usr/X11R6/lib" -L"../../lib/Linux" -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lz -ljpeg
/usr/X11R6/lib/libGL.a(glxext.o)(.text+0x1f): In function `__glXGetCurrentContext':
: undefined reference to `pthread_key_create'
/usr/X11R6/lib/libGL.a(glxext.o)(.text+0x3c): In function `__glXGetCurrentContext':
: undefined reference to `pthread_getspecific'
/usr/X11R6/lib/libGL.a(glxext.o)(.text+0x6e): In function `__glXSetCurrentContext':
: undefined reference to `pthread_setspecific'
/usr/X11R6/lib/libGL.a(glxext.o)(.text+0x84): In function `__glXSetCurrentContext':
: undefined reference to `pthread_key_create'
/usr/X11R6/lib/libGL.a(glxext.o)(.text+0x9f): In function `__glXSetCurrentContext':
: undefined reference to `pthread_setspecific'
/usr/X11R6/lib/libGL.a(glthread.o)(.text+0x1f): In function `_glthread_InitTSD':
: undefined reference to `pthread_key_create'
/usr/X11R6/lib/libGL.a(glthread.o)(.text+0x6d): In function `_glthread_GetTSD':
: undefined reference to `pthread_getspecific'
/usr/X11R6/lib/libGL.a(glthread.o)(.text+0xa5): In function `_glthread_SetTSD':
: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make: *** [all] Error 1
Completed ... unsuccessful
Total time taken: 17 secs
ps
I searched the forums but found nothing.
Fedora Core 3 Compile Error
-
- Posts: 12
- Joined: Tue Jan 04, 2005 11:54 pm
- Location: florida
- Contact:
Fedora Core 3 Compile Error
Last edited by cyberbillp on Wed Jan 05, 2005 4:51 am, edited 1 time in total.
-
- Posts: 12
- Joined: Tue Jan 04, 2005 11:54 pm
- Location: florida
- Contact:
thanks
I knew it was something simple like that. Thanks.