From owner-freebsd-current Sat Jun 29 15:30:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4DC237B400; Sat, 29 Jun 2002 15:30:52 -0700 (PDT) Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D37643E09; Sat, 29 Jun 2002 15:30:51 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.4/8.12.4) with ESMTP id g5TMUnw0001189; Sat, 29 Jun 2002 23:30:49 +0100 (BST) (envelope-from brian@FreeBSD.org) Received: from hak.lan.Awfulhak.org (brian@localhost [IPv6:::1]) by hak.lan.Awfulhak.org (8.12.4/8.12.4) with SMTP id g5TMUmro001261; Sat, 29 Jun 2002 23:30:48 +0100 (BST) (envelope-from brian@FreeBSD.org) Date: Sat, 29 Jun 2002 23:30:48 +0100 From: Brian Somers To: Ying-Chieh Liao 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> X-Mailer: Sylpheed version 0.7.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message