I've been seing this problem for ages on my dev box, but it
doesn't happen on other boxes.

The problem is because the glxinfo program uses CCLINK to
link, but it's a c++ program.  Changing the CCLINK to CXXLINK
works.

I have no idea why there's no problem on some machines.

On Mon, 17 Jun 2002 12:09:14 +0800, Ying-Chieh Liao wrote:
> make build all ok, but failed on install
> should I rebuild world first ?
> 
> installing in programs/glxinfo...
> rm -f glxinfo
> LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo  -ansi -pedantic -Dasm=__asm -Wall 
>-Wpointer-arith     -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 
>-L/usr/X11R6/lib -lc_r -lm   -Wl,-rpath,/usr/X11R6/lib
> /usr/X11R6/lib/libGLU.so: undefined reference to `operator new[](unsigned)'
> /usr/X11R6/lib/libGLU.so: undefined reference to `vtable for 
>__cxxabiv1::__si_class_type_info'
> /usr/X11R6/lib/libGLU.so: undefined reference to `operator delete(void*)'
> /usr/X11R6/lib/libGLU.so: undefined reference to `__gxx_personality_v0'
> /usr/X11R6/lib/libGLU.so: undefined reference to `__cxa_pure_virtual'
> /usr/X11R6/lib/libGLU.so: undefined reference to `vtable for 
>__cxxabiv1::__class_type_info'
> /usr/X11R6/lib/libGLU.so: undefined reference to `operator delete[](void*)'
> /usr/X11R6/lib/libGLU.so: undefined reference to `vtable for 
>__cxxabiv1::__vmi_class_type_info'
> /usr/X11R6/lib/libGLU.so: undefined reference to `operator new(unsigned)'
> *** Error code 1
> 
> Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/glxinfo.
> *** Error code 1
> -- 
> self-producing in perl :
> $_=q(print"\$_=q($_);eval;");eval;
>                                       -- V Vinay
> 


-- 
Brian <[EMAIL PROTECTED]>                       <[EMAIL PROTECTED]>
      <http://www.Awfulhak.org>                <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !       <brian@[uk.]OpenBSD.org>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to