From owner-freebsd-ports@FreeBSD.ORG Wed Mar 10 12:09:45 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EA7F16A4CE for ; Wed, 10 Mar 2004 12:09:45 -0800 (PST) Received: from hotmail.com (bay2-f128.bay2.hotmail.com [65.54.247.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4518E43D2F for ; Wed, 10 Mar 2004 12:09:45 -0800 (PST) (envelope-from missive@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 10 Mar 2004 12:09:45 -0800 Received: from 24.97.94.145 by by2fd.bay2.hotmail.msn.com with HTTP; Wed, 10 Mar 2004 20:09:44 GMT X-Originating-IP: [24.97.94.145] X-Originating-Email: [missive@hotmail.com] X-Sender: missive@hotmail.com From: "Lee Harr" To: freebsd-ports@freebsd.org Date: Wed, 10 Mar 2004 20:09:44 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Mar 2004 20:09:45.0029 (UTC) FILETIME=[A17F3750:01C406DB] Subject: c++ problem? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 20:09:45 -0000 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