eric:~/src$ tar xf ~/dload/freeglut-2.4.0.tar.gz eric:~/src$ cd freeglut-2.4.0 eric:~/src/freeglut-2.4.0$ ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for an ANSI C-conforming const... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for X... libraries /opt/X11/lib, headers /opt/X11/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XF86VidModeSwitchToMode in -lXxf86vm... yes checking for ANSI C header files... (cached) yes checking GL/gl.h usability... no checking GL/gl.h presence... no checking for GL/gl.h... no checking GL/glu.h usability... no checking GL/glu.h presence... no checking for GL/glu.h... no checking GL/glx.h usability... no checking GL/glx.h presence... no checking for GL/glx.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for X11/extensions/xf86vmode.h... yes checking whether gcc needs -traditional... no checking for vprintf... yes checking for _doprnt... no checking for main in -lm... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating include/GL/Makefile config.status: creating include/Makefile config.status: creating progs/Makefile config.status: creating progs/demos/CallbackMaker/Makefile config.status: creating progs/demos/Fractals/Makefile config.status: creating progs/demos/Fractals_random/Makefile config.status: creating progs/demos/Lorenz/Makefile config.status: creating progs/demos/Makefile config.status: creating progs/demos/One/Makefile config.status: creating progs/demos/shapes/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing default-1 commands eric:~/src/freeglut-2.4.0$ make cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/home/eric/src/freeglut-2.4.0' Making all in src make[2]: Entering directory `/home/eric/src/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/X11/include -g -O2 -Wall -pedantic -Werror -c -o libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo './'`freeglut_callbacks.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/X11/include -g -O2 -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 cc1: warnings being treated as errors In file included from /opt/X11/include/X11/extensions/xf86vmode.h:39, from freeglut_internal.h:101, from freeglut_callbacks.c:29: /opt/X11/include/X11/Xmd.h:155: error: ISO C90 does not support 'long long' make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1 make[2]: Leaving directory `/home/eric/src/freeglut-2.4.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/eric/src/freeglut-2.4.0' make: *** [all] Error 2 eric:~/src/freeglut-2.4.0$