Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2004 20:09:44 +0000
From:      "Lee Harr" <missive@hotmail.com>
To:        freebsd-ports@freebsd.org
Subject:   c++ problem?
Message-ID:  <BAY2-F128UP5t27eRBx0002d896@hotmail.com>

next in thread | raw e-mail | index | archive | help
I am not sure this is a ports problem, but trying to build
ports is where I notice it. I rebuilt and reinstalled the
world today thinking that might correct it, but no luck.

Many ports I try to build fail with what look like errors
trying to find standard c++ libraries (during linking)

Like this from devel/gettext ...



c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  
.libs/lib-asprintf.o .libs/autosprintf.o -Wl,--whole-archive 
/usr/local/lib/./libstdc++.a -Wl,--no-whole-archive  
-L/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3/../../.. 
-L/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3 
-L/usr/ports/lang/gcc33/work/build/gcc 
-L/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd4.9/libstdc++-v3/src/.libs 
-L/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd4.9/libstdc++-v3/src 
-L/usr/local/lib -L/usr/lib -lm -lgcc /usr/lib/crtendS.o /usr/lib/crtn.o  
-Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0
/usr/lib/libgcc.a(new.o)(.data+0x0): multiple definition of `__new_handler'
/usr/local/lib/./libstdc++.a(new_handler.o)(.bss.__new_handler+0x0): first 
defined here
/usr/lib/libgcc.a(tinfo2.o): In function `__dynamic_cast':
tinfo2.o(.text+0x7d8): multiple definition of `__dynamic_cast'
/usr/local/lib/./libstdc++.a(tinfo.o)(.text.__dynamic_cast+0x0): first 
defined here
/usr/libexec/elf/ld: Warning: size of symbol `__dynamic_cast' changed from 
250 to 75 in /usr/lib/libgcc.a(tinfo2.o)
*** Error code 1


At one point I had gcc33 installed and removed that. Also I
remember there was something strange going on with gettext
a few weeks ago.

Anyone recognize this problem (or even better, how I can
fix it :o) ?

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



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