Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 21:13:21 -0500
From:      Erik Greenwald <erik@smluc.org>
To:        Benjamin Close <Benjamin.Close@unisa.edu.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Status of C++ in base system?
Message-ID:  <20020711021321.GA10798@freya>
In-Reply-To: <3D2CDFD8.1020308@unisa.edu.au>
References:  <3D2CDFD8.1020308@unisa.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <erik@smluc.org> [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




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