Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47914 - imp3sh build error
Summary: imp3sh build error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 05:05 UTC by Tarragon M. Allen
Modified: 2004-04-20 01:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tarragon M. Allen 2004-04-15 05:05:22 UTC
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*)':
: undefined reference to `operator new(unsigned)'
vorbis_codec.o(.text+0x3ee): In function `codec_new(XA_CodecInstance**, char const*, char const*, XA_CodecModuleClassInfo*, XA_DecoderInfo*)':
: undefined reference to `__cxa_begin_catch'
vorbis_codec.o(.text+0x3f9): In function `codec_new(XA_CodecInstance**, char const*, char const*, XA_CodecModuleClassInfo*, XA_DecoderInfo*)':
: undefined reference to `__cxa_end_catch'
vorbis_codec.o(.text+0xeb): In function `VorbisCodec::~VorbisCodec [in-charge deleting]()':
: undefined reference to `operator delete(void*)'
vorbis_codec.o(.gnu.linkonce.r._ZTI11VorbisCodec+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
vorbis_codec.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
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'
make: *** [all-recursive] Error 1

===

My make.conf is as follows :

CFLAGS="-march=athlon -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"

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

USE="$USE bindist"

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

CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j2"

#GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.gentoo.gr.jp http://gentoo.ccccom.com http://www.zentek-international.com/mirrors/gentoo/"
GENTOO_MIRRORS="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/"

ACCEPT_KEYWORDS="~x86"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-20 01:01:20 UTC
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="x86"
 
 DEPEND="sys-libs/ncurses
        oggvorbis? ( media-libs/libvorbis
-                media-libs/libogg
-                media-libs/libao )"
-RDEPEND=""
+                    media-libs/libao )"
 
 src_compile() {
        econf || die
-       emake || die
+       emake CCLD=g++ || die
 }
 
 src_install() {
-       make DESTDIR=${D} install || die
+       make DESTDIR="${D}" 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