Re: make install failed on XFree86-4-client (with 6/10 -current)
Well, this has been happening for about a year on my dev box. It's not gcc 3.1 specific. I've never gotten around to figuring out why it works on some machines. On Sat, 29 Jun 2002 19:41:51 -0700, David O'Brien wrote: On Sat, Jun 29, 2002 at 11:30:48PM +0100, Brian Somers wrote: The problem is because the glxinfo program uses CCLINK to link, but it's a c++ program. Changing the CCLINK to CXXLINK works. We can't be the only ones seeing this -- surely anyone using Gcc 3.1 on their i386 (any OS) box. Has anyone [that cares] emailed any of the XFree86 guys?? -- Brian [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.Awfulhak.orgbrian@[uk.]FreeBSD.org Don't _EVER_ lose your sense of humour ! brian@[uk.]OpenBSD.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: make install failed on XFree86-4-client (with 6/10 -current)
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 [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.Awfulhak.orgbrian@[uk.]FreeBSD.org Don't _EVER_ lose your sense of humour ! brian@[uk.]OpenBSD.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: make install failed on XFree86-4-client (with 6/10 -current)
On Sat, Jun 29, 2002 at 11:30:48PM +0100, Brian Somers wrote: The problem is because the glxinfo program uses CCLINK to link, but it's a c++ program. Changing the CCLINK to CXXLINK works. We can't be the only ones seeing this -- surely anyone using Gcc 3.1 on their i386 (any OS) box. Has anyone [that cares] emailed any of the XFree86 guys?? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: make install failed on XFree86-4-client (with 6/10 -current)
On Mon, Jun 17, 2002 at 12:09:14 +0800, Ying-Chieh Liao wrote: make build all ok, but failed on install should I rebuild world first ? after adding -lstdc++ , it's all ok and I find that everything link with libGL* must link to stdc++, too (at least ports/x11-toolkits/gtkglarea) maybe the same situation with pr/27036 ? -- Pi seconds is a nanocentury. --- Tom Duff msg39870/pgp0.pgp Description: PGP signature
Re: make install failed on XFree86-4-client (with 6/10 -current)
On Sun, Jun 23, 2002 at 07:19:06PM +0800, Ying-Chieh Liao wrote: On Mon, Jun 17, 2002 at 12:09:14 +0800, Ying-Chieh Liao wrote: make build all ok, but failed on install should I rebuild world first ? after adding -lstdc++ , it's all ok It is not OK. One should NEVER be explicity adding -lstdc++. Please use the right compiler which takes care of all this for you. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: make install failed on XFree86-4-client (with 6/10 -current)
On Sun, Jun 23, 2002 at 12:46:25 -0700, David O'Brien wrote: It is not OK. One should NEVER be explicity adding -lstdc++. Please use the right compiler which takes care of all this for you. I dont know how to make a patch against X (it's too complex :/ ) but I do know that it works (for me :) -- KISS : Keep It Simple, Stupid. msg39885/pgp0.pgp Description: PGP signature