make fails with freeglut-2.4.0. (Current stable version of the BLFS
book.)

Is Mesa required? I didn't install it, since I use a Nvidia driver.

$ make
make  all-recursive
make[1]: Entering directory 
`/local/run/management/packages/freeglut/freeglut-2.4.0'
Making all in src
make[2]: Entering directory 
`/local/run/management/packages/freeglut/freeglut-2.4.0/src'
source='freeglut_callbacks.c' object='libglut_la-freeglut_callbacks.lo' 
libtool=yes \
depfile='.deps/libglut_la-freeglut_callbacks.Plo' 
tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
  -I/opt/xorg/include -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall 
-pedantic -Werror -c -o libglut_la-freeglut_callbacks.lo `test -f 
freeglut_callbacks.c || echo './'`freeglut_callbacks.c
rm -f .libs/libglut_la-freeglut_callbacks.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/xorg/include -O2 
-march=pentium4 -pipe -fomit-frame-pointer -Wall -pedantic -Werror -c 
freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF 
.deps/libglut_la-freeglut_callbacks.TPlo  -fPIC -DPIC -o 
.libs/libglut_la-freeglut_callbacks.lo
In file included from ../include/GL/freeglut.h:17,
                  from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:115:20: error: GL/glu.h: No such file or directory
cc1: warnings being treated as errors
In file included from /opt/xorg/include/X11/extensions/xf86vmode.h:39,
                  from freeglut_internal.h:101,
                  from freeglut_callbacks.c:29:
/opt/xorg/include/X11/Xmd.h:155: warning: ISO C90 does not support 'long long'
make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
make[2]: Leaving directory 
`/local/run/management/packages/freeglut/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/local/run/management/packages/freeglut/freeglut-2.4.0'
make: *** [all] Error 2


-- 
Jorge Almeida
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to