Subject: Re: graphics/gle problems
To: None <tech-pkg@NetBSD.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 10/04/2004 09:18:15
On Mon, 4 Oct 2004, Martti Kuparinen wrote:

> I just updated my copy of the pkgsrc and started to rebuild almost
> everything on my Linux host. Currently I can't build gle:
>
> checking for glGetError in -lGL... yes
> checking for gluNewQuadric in -lGLU... no
> configure: error: Cannot find required GLU library
> *** Error code 1
>
> Stop.
> bmake: stopped in /usr/pkgsrc/graphics/gle
> *** Error code 1
>
> From config.log:
>
> configure:9279: checking for gluNewQuadric in -lGLU
> configure:9310: gcc -o conftest -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY 
> -Wall -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -L/usr/pkg/lib 
> -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -lGLU 
> -lSM -lICE -lGL  -L/usr/X11R6/lib -lX11   -lm >&5
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGLU.so: undefined reference 
> to `operator new[](unsigned)'
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGLU.so: undefined reference 
> to `vtable for __cxxabiv1::__si_class_type_info'
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGLU.so: undefined reference 
> to `operator delete(void*)'
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGLU.so: undefined reference 
> to `__gxx_personality_v0'
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGLU.so: undefined reference 
> to `__cxa_pure_virtual'
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGLU.so: undefined reference 
> to `vtable for __cxxabiv1::__class_type_info'
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGLU.so: undefined reference 
> to `operator delete[](void*)'
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGLU.so: undefined reference 
> to `vtable for __cxxabiv1::__vmi_class_type_info'
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGLU.so: undefined reference 
> to `operator new(unsigned)'
> collect2: ld returned 1 exit status
>
> Any ideas?

# type gcc
gcc is /usr/bin/gcc

# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4

Martti