if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_REENTRANT -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -falign-loops=16 -MT ADM_8bits.o -MD -MP -MF ".deps/ADM_8bits.Tpo" -c -o ADM_8bits.o ADM_8bits.cpp; \ then mv -f ".deps/ADM_8bits.Tpo" ".deps/ADM_8bits.Po"; else rm -f ".deps/ADM_8bits.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_REENTRANT -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -falign-loops=16 -MT ADM_codecfaad.o -MD -MP -MF ".deps/ADM_codecfaad.Tpo" -c -o ADM_codecfaad.o ADM_codecfaad.cpp; \ then mv -f ".deps/ADM_codecfaad.Tpo" ".deps/ADM_codecfaad.Po"; else rm -f ".deps/ADM_codecfaad.Tpo"; exit 1; fi ADM_codecfaad.cpp: In constructor `ADM_faad::ADM_faad(uint32_t, WAVHeader*, uint32_t, uint8_t*)': ADM_codecfaad.cpp:52: error: invalid conversion from `long unsigned int*' to `unsigned int*' ADM_codecfaad.cpp:52: error: initializing argument 4 of `char faacDecInit2(void*, unsigned char*, unsigned int, unsigned int*, unsigned char*)' ADM_codecfaad.cpp: In member function `virtual uint8_t ADM_faad::run(uint8_t*, uint32_t, uint8_t*, uint32_t*)': ADM_codecfaad.cpp:103: error: invalid conversion from `long unsigned int*' to `unsigned int*' ADM_codecfaad.cpp:103: error: initializing argument 4 of `int faacDecInit(void*, unsigned char*, unsigned int, unsigned int*, unsigned char*)' make[3]: *** [ADM_codecfaad.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc1/work/avidemux-2.0.38rc1/avidemux/ADM_audiocodec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc1/work/avidemux-2.0.38rc1/avidemux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc1/work/avidemux-2.0.38rc1' make: *** [all] Error 2 !!! ERROR: media-video/avidemux-2.0.38_rc1 failed. # emerge info Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r1 i686) ================================================================= System uname: 2.6.11-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 16:39:30)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.2.3-r5, 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.5, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs distlocks prelink sandbox sfperms sign" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo/ http://gentoo.osuosl.org" MAKEOPTS="-j2" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts cairo cdr crypt cups curl dba dmx dvd emboss encode esd faad flac font-server foomaticdb footmaticdb gd gdbm gif glitz gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 hal howl imagemagick imlib ipv6 jpeg kde ldap libg++ libwww live mad mikmod mmx mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql nas ncurses nogcj nptl nvidia oav oggvorbis opengl oss pam pcmcia pdflib perl php pic png pnp ppds python qt quicktime readline samba sdl slang slp smooth spell sqlite sse sse2 ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb wmf x86 xml xml2 xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Lovely bogus C++ code...
same package fails to compile here, but different error: DIA_acodec.cpp: In function `GtkWidget* create_dialogAudioCodec()': DIA_acodec.cpp:190: error: `faac' undeclared (first use this function) DIA_acodec.cpp:190: error: (Each undeclared identifier is reported only once for each function it appears in.)
I can confirm that I get this exact same error...
I've a patch for it with a bit of cleanups in the ebuild. Patch for ebuild and for sources following :)
Created attachment 55311 [details, diff] avidemux-2.0.38_rc2.patch (ebuild)
Created attachment 55312 [details, diff] 2.0.38_rc2-fix-faad.patch (sources)
*** Bug 87828 has been marked as a duplicate of this bug. ***
Diego patches committed, please tell me if it works for you