Subject: glut does not build on -current/i386
To: None <rh@netbsd.org, tech-pkg@netbsd.org>
From: Sean Davis <dive-nb@endersgame.net>
List: tech-pkg
Date: 07/06/2003 17:45:13
script output follows (stripped of <CR>'s):
Script started on Sun Jul 6 17:42:12 2003
eros# make
===> do-fetch [glut-5.0.1] ===> Checking for vulnerabilities in glut-5.0.1
=> Checksum OK for MesaLib-5.0.1.tar.bz2.
=> Checksum OK for MesaDemos-5.0.1.tar.bz2.
work -> /misc/obj/wrkobj/graphics/glut/work
===> extract-message [glut-5.0.1] ===> Extracting for glut-5.0.1
===> install-depends [glut-5.0.1] ===> Required installed package MesaLib>=5.0.1: MesaLib-5.0.1 found
===> install-depends [glut-5.0.1] ===> Required installed package gmake>=3.78: gmake-3.80nb1 found
===> install-depends [glut-5.0.1] ===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb14 found
===> install-depends [glut-5.0.1] ===> Required installed package x11-links>=0.12: x11-links-0.12 found
===> patch-message [glut-5.0.1] ===> Patching for glut-5.0.1
===> buildlink-message [glut-5.0.1] ===> Buildlinking for glut-5.0.1
===> configure-message [glut-5.0.1] ===> Configuring for glut-5.0.1
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether /usr/pkg/bin/gmake sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... i386-unknown-netbsdelf1.6U
checking host system type... i386--netbsdelf
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for i386--netbsdelf-g++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... match_pattern /lib[^/\.]+\.so$
checking command to parse nm output... ok
checking for dlfcn.h... yes
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo...
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (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... NetBSD ld.elf_so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether /usr/pkg/bin/gmake sets ${MAKE}... (cached) yes
checking for ANSI C header files... yes
checking for math.h... yes
checking for malloc.h... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for strchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking whether the assembler supports cpuid... yes
checking whether the assembler supports MMX... yes
checking whether the assembler supports 3DNow... yes
checking for ggi/ggi.h... no
checking whether to build the GGI driver... no
checking for vga.h... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XmuRegisterExternalAgent in -lXmu... yes
checking for sys/shm.h... yes
checking for c++... yes
checking which GLU to build (SGI requires a C++ compiler)... SGI
checking for GL/glut.h... no
checking whether to use an external (=already-installed) GLUT... no
checking for GLUT source dir in '.' ... yes
checking for Mesa demo source dirs in '.' ... yes
checking which compiler flag updates dependencies... -MD
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/GL/Makefile
config.status: creating src/Makefile
config.status: creating src/array_cache/Makefile
config.status: creating src/math/Makefile
config.status: creating src/swrast/Makefile
config.status: creating src/swrast_setup/Makefile
config.status: creating src/tnl/Makefile
config.status: creating src/Trace/Makefile
config.status: creating src/FX/Makefile
config.status: creating src/FX/X86/Makefile
config.status: creating src/GGI/Makefile
config.status: creating src/GGI/include/Makefile
config.status: creating src/GGI/include/ggi/Makefile
config.status: creating src/GGI/include/ggi/mesa/Makefile
config.status: creating src/GGI/ggimesa.conf
config.status: creating src/GGI/default/Makefile
config.status: creating src/GGI/default/genkgi.conf
config.status: creating src/GGI/display/Makefile
config.status: creating src/GGI/display/fbdev.conf
config.status: creating src/OSmesa/Makefile
config.status: creating src/SVGA/Makefile
config.status: creating src/X/Makefile
config.status: creating src/X86/Makefile
config.status: creating src/SPARC/Makefile
config.status: creating util/Makefile
config.status: creating src-glu/Makefile
config.status: creating si-glu/Makefile
config.status: creating si-glu/include/Makefile
config.status: creating si-glu/libnurbs/Makefile
config.status: creating si-glu/libnurbs/interface/Makefile
config.status: creating si-glu/libnurbs/internals/Makefile
config.status: creating si-glu/libnurbs/nurbtess/Makefile
config.status: creating si-glu/libtess/Makefile
config.status: creating si-glu/libutil/Makefile
config.status: creating src-glut/Makefile
config.status: creating book/Makefile
config.status: creating demos/Makefile
config.status: creating samples/Makefile
config.status: creating xdemos/Makefile
config.status: creating ggi/ggiglut/Makefile
config.status: creating ggi/demos/Makefile
config.status: creating conf.h
===> build-message [glut-5.0.1] ===> Building for glut-5.0.1
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glut_8x13.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -DNDEBUG -DGLX_GLXEXT_LEGACY -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -O2 -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glut_8x13.c -fPIC -DPIC -o .libs/glut_8x13.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -DNDEBUG -DGLX_GLXEXT_LEGACY -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -O2 -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glut_8x13.c -o glut_8x13.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glut_9x15.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -DNDEBUG -DGLX_GLXEXT_LEGACY -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -O2 -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glut_9x15.c -fPIC -DPIC -o .libs/glut_9x15.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -DNDEBUG -DGLX_GLXEXT_LEGACY -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -O2 -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glut_9x15.c -o glut_9x15.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glut_bitmap.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -DNDEBUG -DGLX_GLXEXT_LEGACY -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -O2 -I/misc/obj/wrkobj/graphics/glut/work/.buildlink/include -I/misc/obj/wrkobj/graphics/glut/work/.buildlink-x11/include -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -D_REENTRANT -DPTHREADS -c glut_bitmap.c -fPIC -DPIC -o .libs/glut_bitmap.o
In file included from glut_bitmap.c:8:
glutint.h:780: parse error before `GLXFBConfigSGIX'
glutint.h:785: parse error before `GLXFBConfigSGIX'
glutint.h:788: parse error before `__glut_glXGetFBConfigFromVisualSGIX'
glutint.h:789: warning: type defaults to `int' in declaration of `__glut_glXGetFBConfigFromVisualSGIX'
glutint.h:789: warning: data definition has no type or storage class
gmake: *** [glut_bitmap.lo] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/graphics/glut
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/glut
eros# ^D
Script done on Sun Jul 6 17:43:41 2003
--
/~\ The ASCII
\ / Ribbon Campaign Sean Davis
X Against HTML aka dive
/ \ Email!