On 7/20/05, Andrew Benton <[EMAIL PROTECTED]> wrote:
> Tushar Teredesai wrote:
> > #define ProjectRoot $PREFIX /* For folks who don't want to install X
> > in /usr/X11R6 */
> > #define FontDir /usr/share/fonts /* Default dir searched by fontconfig */
> > #define DocDir $PREFIX/share/doc /* FHS compliance */
> >
> 
> Thanks for the info. I find the idea of installing X windows in /usr very 
> appealing, however, I can't get past building freeglut. It errors out like 
> this
> 
> gcc -g -O2 -Wall -pedantic -Werror -o .libs/CallbackMaker 
> CallbackMaker-CallbackMaker.o -Wl,--export-dynamic  
> ../../../src/.libs/libglut.so -lm -lGL -lGLU -lXext -lX11 -lXxf86vm
> ../../../src/.libs/libglut.so: undefined reference to `pthread_getspecific'
> ../../../src/.libs/libglut.so: undefined reference to `pthread_key_create'
> ../../../src/.libs/libglut.so: undefined reference to `pthread_setspecific'
> collect2: ld returned 1 exit status
> make[4]: *** [CallbackMaker] Error 1
> make[4]: Leaving directory `/sources/freeglut-2.4.0/progs/demos/CallbackMaker'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/sources/freeglut-2.4.0/progs/demos'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/sources/freeglut-2.4.0/progs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/freeglut-2.4.0'
> make: *** [all] Error 2
> root:/sources#
> 
> :(
> 
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-dev
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
> 
The compile line doesn't seem to be pulling in pthreads with -pthread
or -lpthread.

-- 
Kevin Jordan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to