Re: Status of C++ in base system?

2002-07-11 Thread Sheldon Hearn

On (2002/07/11 11:01), Benjamin Close wrote:

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 ).

This is not a one-way mailing list.  I sent patches to this list in the
last two weeks.  Please read if you're going to post.

Ciao,
Sheldon.

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



Re: Status of C++ in base system?

2002-07-11 Thread Alexander Kabaev

On Thu, 11 Jul 2002 10:43:29 -0400 (EDT)
Kenneth Culver [EMAIL PROTECTED] wrote:

 I don't think kde3 compiles on the latest -CURRENT though, I've been
 trying to compile that for several days, and every time the linker
 says that things like cout and other standard c++ things aren't found.

This is FAQ. Have you deleted obsolete g++ include files? 
Do mv /usr/include /usr/include.old; mkdir /usr/inlcude before making
buildworld.

-- 
Alexander Kabaev

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



Re: Status of C++ in base system?

2002-07-11 Thread Kenneth Culver

 This is FAQ. Have you deleted obsolete g++ include files?  Do mv
 /usr/include /usr/include.old; mkdir /usr/inlcude before making
 buildworld.

I think I did that but I guess another try couldn't hurt...

Ken


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



Re: Status of C++ in base system?

2002-07-11 Thread Alexander Kabaev

 In any case, the more verbose error reports are highly appreciated.
Could you please post the error messages you are getting (assuming your
next try of installworld with clean /usr/include does not help).

On Thu, 11 Jul 2002 10:51:34 -0400 (EDT)
Kenneth Culver [EMAIL PROTECTED] wrote:

  This is FAQ. Have you deleted obsolete g++ include files?  Do mv
  /usr/include /usr/include.old; mkdir /usr/inlcude before making
  buildworld.
 
 I think I did that but I guess another try couldn't hurt...
 
 Ken

-- 
Alexander Kabaev

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



Re: Status of C++ in base system?

2002-07-11 Thread Kenneth Culver

  In any case, the more verbose error reports are highly appreciated.
 Could you please post the error messages you are getting (assuming your
 next try of installworld with clean /usr/include does not help).

Yeah, I can do that, the only reason I didn't do it this time is because
my home pc is off and I'm at work, so I can't log in and mess with it.

Ken

 On Thu, 11 Jul 2002 10:51:34 -0400 (EDT)
 Kenneth Culver [EMAIL PROTECTED] wrote:

   This is FAQ. Have you deleted obsolete g++ include files?  Do mv
   /usr/include /usr/include.old; mkdir /usr/inlcude before making
   buildworld.
 
  I think I did that but I guess another try couldn't hurt...
 
  Ken

 --
 Alexander Kabaev



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



Re: Status of C++ in base system?

2002-07-11 Thread Peter Wemm

Kenneth Culver wrote:
   In any case, the more verbose error reports are highly appreciated.
  Could you please post the error messages you are getting (assuming your
  next try of installworld with clean /usr/include does not help).
 
 Yeah, I can do that, the only reason I didn't do it this time is because
 my home pc is off and I'm at work, so I can't log in and mess with it.

Except do the 'cd /usr; mv include include.old' before 'make installworld'
not before 'make buildworld'.

 Ken
 
  On Thu, 11 Jul 2002 10:51:34 -0400 (EDT)
  Kenneth Culver [EMAIL PROTECTED] wrote:
 
This is FAQ. Have you deleted obsolete g++ include files?  Do mv
/usr/include /usr/include.old; mkdir /usr/inlcude before making
buildworld.
  
   I think I did that but I guess another try couldn't hurt...
  
   Ken
 
  --
  Alexander Kabaev
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message
 

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


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



Re: Status of C++ in base system?

2002-07-11 Thread M. Warner Losh

In message: [EMAIL PROTECTED]
Kenneth Culver [EMAIL PROTECTED] writes:
: I don't think kde3 compiles on the latest -CURRENT though, I've been
: trying to compile that for several days, and every time the linker says
: that things like cout and other standard c++ things aren't found.

The cerr not found thing is one of two problems.  gcc3 is pickier
about namespace issues than gcc2, so you need to say std::cerr or
using namespace std;.  However, the more common case is people
thinking they can link c++ programs with 'cc' rather than 'c++'

My C++ programs are large enough that there are issues, but nothing
this trivial.  Usually it is bad C++ that the newer compiler is
pickier about accepting.

Warner

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



Re: Status of C++ in base system?

2002-07-11 Thread Kenneth Culver

 The cerr not found thing is one of two problems.  gcc3 is pickier
 about namespace issues than gcc2, so you need to say std::cerr or
 using namespace std;.  However, the more common case is people
 thinking they can link c++ programs with 'cc' rather than 'c++'

 My C++ programs are large enough that there are issues, but nothing
 this trivial.  Usually it is bad C++ that the newer compiler is
 pickier about accepting.

Hrmm, maybe I'll try that too.

Ken


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



Status of C++ in base system?

2002-07-10 Thread Benjamin Close

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


Cheers,
Benjamin

-- 
3D Research Associate+61 8 8302 3669
School of Computer and Information Science   Room D1-07, Levels Campus
University of South AustraliaMawson Lakes Blvd.
[EMAIL PROTECTED]   South Australia, 5095




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



Re: Status of C++ in base system?

2002-07-10 Thread Erik Greenwald

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 AustraliaMawson Lakes Blvd.
 [EMAIL PROTECTED]   South Australia, 5095
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message

-- 
-Erik [EMAIL PROTECTED] [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 [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Status of C++ in base system?

2002-07-10 Thread M. Warner Losh

I'm not sure what the deal with X is, but I have several non-X11 C++
programs that work just fine.

Warner

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