From owner-freebsd-current Wed Jul 10 19:13:26 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 559CC37B400 for ; Wed, 10 Jul 2002 19:13:18 -0700 (PDT) Received: from 12-218-135-53.client.mchsi.com (12-218-135-53.client.mchsi.com [12.218.135.53]) by mx1.FreeBSD.org (Postfix) with SMTP id 601BA43E5E for ; Wed, 10 Jul 2002 19:13:17 -0700 (PDT) (envelope-from erik@12-218-135-53.client.mchsi.com) Received: (qmail 10806 invoked by uid 1000); 11 Jul 2002 02:13:21 -0000 Date: Wed, 10 Jul 2002 21:13:21 -0500 From: Erik Greenwald To: Benjamin Close Cc: freebsd-current@freebsd.org Subject: Re: Status of C++ in base system? Message-ID: <20020711021321.GA10798@freya> References: <3D2CDFD8.1020308@unisa.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D2CDFD8.1020308@unisa.edu.au> User-Agent: Mutt/1.4i 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 On Thu, Jul 11, 2002 at 11:01:04AM +0930, Benjamin Close wrote: > Hi All, > I'm using current from just after the KSE & libc_r fix. However it > appears that XFree86-client c++ stuff is still broken. Is there a > planned time when this will be fixed or am I missing something else? > (XFree-libraries compiled and installed without a hitch ). > > 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 > this was a pretty easy fix, I edited the makefile in work/xc/programs/glxinfo and changed the 'cc' program to be 'c++', then it compiled fine. This is an error in the makefile, not a bsd problem... maybe we should have a patch to fix this? > > Cheers, > Benjamin > > -- > 3D Research Associate +61 8 8302 3669 > School of Computer and Information Science Room D1-07, Levels Campus > University of South Australia Mawson Lakes Blvd. > Benjamin.Close@cs.unisa.edu.au South Australia, 5095 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- -Erik [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message