Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 23:30:48 +0100
From:      Brian Somers <brian@FreeBSD.org>
To:        Ying-Chieh Liao <ijliao@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: make install failed on XFree86-4-client (with 6/10 -current)
Message-ID:  <20020629233048.49c6244f.brian@FreeBSD.org>
In-Reply-To: <20020617040914.GA8595@terry.dragon2.net>
References:  <20020617040914.GA8595@terry.dragon2.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org>                       <brian.somers@sun.com>
      <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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020629233048.49c6244f.brian>