From owner-freebsd-ports@FreeBSD.ORG Wed Feb 11 15:36:59 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 F1CC216A4CF for ; Wed, 11 Feb 2004 15:36:59 -0800 (PST) Received: from PIKES.panasas.com (gw2.panasas.com [65.194.124.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5374743D1F for ; Wed, 11 Feb 2004 15:36:59 -0800 (PST) (envelope-from chris@behanna.org) Received: from waumbek.panasas.com ([172.17.2.36]) by PIKES.panasas.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id SVSY3LR6; Wed, 11 Feb 2004 18:36:57 -0500 Date: Wed, 11 Feb 2004 18:36:57 -0500 (EST) From: Chris BeHanna Sender: cbehanna@waumbek.panasas.com To: ports@freebsd.org Message-ID: <20040211183025.B37219@waumbek.panasas.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Problem Building audio/id3lib X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: chris@behanna.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 23:37:00 -0000 I'm building audio/id3lib (a dependency of kdemultimedia3) on 4.9-STABLE as of a few weeks ago. It falls over during linking, like so: /usr/local/bin/g++33 -O -pipe -march=pentiumpro -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -L/usr/local/lib -o .libs/id3info demo_info_options.o demo_info.o ../src/.libs/libid3.so -liconv -lz getopt.o getopt1.o -liconv -Wl,--rpath -Wl,/usr/local/lib ../src/.libs/libid3.so: undefined reference to `std::char_traits::compare(wchar_t const*, wchar_t const*, unsigned)' ../src/.libs/libid3.so: undefined reference to `std::char_traits::assign(wchar_t*, unsigned, wchar_t)' ../src/.libs/libid3.so: undefined reference to `std::char_traits::copy(wchar_t*, wchar_t const*, unsigned)' ../src/.libs/libid3.so: undefined reference to `std::char_traits::move(wchar_t*, wchar_t const*, unsigned)' collect2: ld returned 1 exit status *** Error code 1 Stop in /usr0/ports/build/usr0/ports/ports/audio/id3lib/work/id3lib-3.8.3/examples. *** Error code 1 Stop in /usr0/ports/build/usr0/ports/ports/audio/id3lib/work/id3lib-3.8.3. *** Error code 1 Stop in /usr0/ports/build/usr0/ports/ports/audio/id3lib/work/id3lib-3.8.3. *** Error code 1 Stop in /usr0/ports/ports/audio/id3lib. *** Error code 1 Grepping through the sources, I found a wchar_t in tag_file.cpp that likely creates the dependency described in the error, but why, pray tell me, wouldn't this be resolved in the generated template or in libstdc++? Clues gratefully received. Thanks, -- Chris BeHanna Software Engineer (Remove "bogus" before responding.) behanna@bogus.zbzoom.net Turning coffee into software since 1990.