<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>47914</bug_id>
          
          <creation_ts>2004-04-15 05:05 0000</creation_ts>
          <short_desc>imp3sh build error</short_desc>
          <delta_ts>2004-04-20 01:01:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2004.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo-bugs@moto-coda.org</reporter>
          <assigned_to>eradicator@gentoo.org</assigned_to>
          <cc>sound@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo-bugs@moto-coda.org</who>
            <bug_when>2004-04-15 05:05:22 0000</bug_when>
            <thetext>Trying to emerge imp3sh results in this error:

gcc  -march=athlon -O3 -fomit-frame-pointer -pipe -Llib -o imp3sh -L./lib main.o dbuf.o buff.o command.o intdec.o event.o tags.o info.o proc.o keys.o extdec.o list.o listmanip.o listfile.o listlogic.o queue.o stream.o shell.o expl.o util.o vorbis_codec.o vcedit.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm -lvorbisfile -lxaudio -ldl -lncurses 
vorbis_codec.o(.text+0x383): In function `codec_new(XA_CodecInstance**, char const*, char const*, XA_CodecModuleClassInfo*, XA_DecoderInfo*)&apos;:
: undefined reference to `operator new(unsigned)&apos;
vorbis_codec.o(.text+0x3ee): In function `codec_new(XA_CodecInstance**, char const*, char const*, XA_CodecModuleClassInfo*, XA_DecoderInfo*)&apos;:
: undefined reference to `__cxa_begin_catch&apos;
vorbis_codec.o(.text+0x3f9): In function `codec_new(XA_CodecInstance**, char const*, char const*, XA_CodecModuleClassInfo*, XA_DecoderInfo*)&apos;:
: undefined reference to `__cxa_end_catch&apos;
vorbis_codec.o(.text+0xeb): In function `VorbisCodec::~VorbisCodec [in-charge deleting]()&apos;:
: undefined reference to `operator delete(void*)&apos;
vorbis_codec.o(.gnu.linkonce.r._ZTI11VorbisCodec+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info&apos;
vorbis_codec.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0&apos;
collect2: ld returned 1 exit status
make[1]: *** [imp3sh] Error 1
make[1]: Leaving directory `/var/tmp/portage/imp3sh-0.2.3/work/imp3sh-0.2.3&apos;
make: *** [all-recursive] Error 1

===

My make.conf is as follows :

CFLAGS=&quot;-march=athlon -O3 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;

USE=&quot;&quot;
USE=&quot;$USE 3dnow X Xaw3d aci acl acpi alsa apm audiofile avi berkdb&quot;
USE=&quot;$USE bonobo caps cdr crypt curl doc dga dvd encode fftw&quot;
USE=&quot;$USE flac gb gd gdbm gif ginac gnome gstreamer&quot;
USE=&quot;$USE gtk gtk2 gtkhtml guile imagemagick imlib java jikes jpeg&quot;
USE=&quot;$USE kde lcms libg++ libwww&quot;
USE=&quot;$USE mad mbox memlimit mikmod mmx motif lesstif mozilla mpeg mpi ncurses&quot;
USE=&quot;$USE nhc98 nls&quot;
USE=&quot;$USE nocd nptl offensive oggvorbis opengl pam pdflib perl png postgres&quot;
USE=&quot;$USE python qt quicktime readline ruby samba sdl slang speex spell sse ssl&quot;
USE=&quot;$USE svga tcltk tcpd theora tiff truetype unicode usb videos wmf wxwindows x86&quot;
USE=&quot;$USE xinerama xml2 xmms xosd xv zlib&quot;

USE=&quot;$USE bindist&quot;

USE=&quot;$USE -arts -cups -esd -directfb -ethereal -fbcon -foomaticdb -gphoto2 -gpm -jack&quot;
USE=&quot;$USE -ladcca -oss&quot;

CXXFLAGS=&quot;${CFLAGS}&quot;

MAKEOPTS=&quot;-j2&quot;

#GENTOO_MIRRORS=&quot;ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.gentoo.gr.jp http://gentoo.ccccom.com http://www.zentek-international.com/mirrors/gentoo/&quot;
GENTOO_MIRRORS=&quot;ftp://planetmirror.com/pub/gentoo ftp://ftp.vic.keypoint.com.au http://mirror.gentoo.gr.jp http://gentoo.ccccom.com http://www.zentek-international.com/mirrors/gentoo/&quot;

ACCEPT_KEYWORDS=&quot;~x86&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-04-20 01:01:20 0000</bug_when>
            <thetext>now fixed in cvs...

/usr/local/download/portage-cvs/media-sound/imp3sh $ cvs diff imp3sh-0.2.3.ebuild 
Warning: No xauth data; using fake authentication data for X11 forwarding.
Index: imp3sh-0.2.3.ebuild
===================================================================
RCS file: /home/cvsroot/gentoo-x86/media-sound/imp3sh/imp3sh-0.2.3.ebuild,v
retrieving revision 1.6
diff -u -3 -p -r1.6 imp3sh-0.2.3.ebuild
--- imp3sh-0.2.3.ebuild 1 Mar 2004 05:37:14 -0000       1.6
+++ imp3sh-0.2.3.ebuild 20 Apr 2004 08:00:46 -0000
@@ -12,17 +12,15 @@ KEYWORDS=&quot;x86&quot;
 
 DEPEND=&quot;sys-libs/ncurses
        oggvorbis? ( media-libs/libvorbis
-                media-libs/libogg
-                media-libs/libao )&quot;
-RDEPEND=&quot;&quot;
+                    media-libs/libao )&quot;
 
 src_compile() {
        econf || die
-       emake || die
+       emake CCLD=g++ || die
 }
 
 src_install() {
-       make DESTDIR=${D} install || die
+       make DESTDIR=&quot;${D}&quot; install || die
        dodoc README* CHANGES web/README.imp3web web/imp3web.php EXAMPLE.imp3sh EXTERNAL.players
        # Some docs are liner notes in the actual .c files. UHG.
        dodoc piped-io/imp3sh*.c
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>