cannot find -lADM_libswscale
Created attachment 201307 [details] build.log cannot find -lADM_libswscale
My personal guess is that it's a parallel make problem.
indeed, try with MAKEOPTS=-j1 if the problem persists, please add emerge --info
the same prob here (-j1 doesn't work) # emerge --info Portage 2.2_rc38 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.29-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 18 Aug 2009 15:15:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r5, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl" LANG="pl_PL.utf8" LDFLAGS="-Wl,-O1" LINGUAS="pl en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac accessibility acl acpi aiglx alsa amr ao apache2 aspnet2 audiofile avahi beagle berkdb bluetooth branding bzip2 cairo cdr cdrom cdrtools cli consolekit cracklib crypt cups dbus dhcpcd divx dri dts dv dvb dvd dvdr dvdread eds emboss encode evo exif expat faac faad fam ffmpeg firefox flac fortran fuse gajim gdbm gedit gif gimp git glx gnome gnome-keyring gnutls gpm gsm gstreamer gtk gtk2 hal i8x0 iconv ieee1394 imap insecude-drivers ipv6 isdnlog jabber java jingle jpeg lame libnotify libv4l2 lirc live mad mikmod mmx mmx2 mono moonlight mozbranding mp3 mp4 mpd mpeg mudflap mysql nas nautilus ncurses network networkmanager nls nptl nptlonly nsplugin nss objc objc++ ogg oggvorbis opengl openmp oss pam pcre pdf pdo perl php png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime readline realmedia reflection rtsp ruby samba scanner sdk sdl session slang spell spl sse sse2 ssh ssl startup-notification subversion svg svga symlink sysfs tcpd tetex tga theora threads tiff tlen truetype unicode upnp usb utf8 v4l v4l2 vcd vorbis win32codecs wma wmp x264 x86 xforms xml xorg xprint xsl xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate filter mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" DVB_CARDS="usb-dib0700" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" LIRC_DEVICES="pctv" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
CC'ing Qt team, maybe someone has an insight? I can't reproduce this. I use as-needed, so I wonder if it helps forcing that. Does adding LDFLAGS="-Wl,--as-needed" help?
Actually, this might be fixed in 2.5.1.
avidemux-2.5.1 is in qting-edge overlay[1]. Please check if the error persists, cause I couldn't reproduce it either. [1] http://github.com/gentoo-qt/qting-edge/commit/aba18032c11729ff80facdad2dcdfb990530190b
same error on one of my machines .. :(
with 2.5.0 or 2.5.1? Can you check with 2.5.1 from qting-edge?
(In reply to comment #9) > with 2.5.0 or 2.5.1? Can you check with 2.5.1 from qting-edge? > with 2.5.0 AND 2.5.1 (from ycarus, http://gentoo-overlays.zugaina.org/qting-edge/media-video.html.en#avidemux). The problem is: [ 42%] Building CXX object plugins/ADM_videoEncoder/ADM_vidEnc_avcodec/CMakeFiles/ADM_vidEnc_avcodec.dir/encoder.cpp.o Linking CXX shared library libADM_vf_addborders.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lADM_libswscale collect2: ld returned 1 exit status
Created attachment 204376 [details] Error from 2.5.1-r1, qting-edge, of course. compiling error..
(In reply to comment #11) > Created an attachment (id=204376) [edit] > Error from 2.5.1-r1 > > compiling error.. > it's referred to qting-edge ebuild.
(In reply to comment #12) > (In reply to comment #11) > > Created an attachment (id=204376) [edit] > > Error from 2.5.1-r1 > > > > compiling error.. > > > > it's referred to qting-edge ebuild. > [ 38%] make[2]: *** No rule to make target `lib/libADM5avcodec.so.52', needed by `plugins/ADM_audioEncoders/lavcodec/libADM_ae_lav_ac3.so'. Stop.
emerge --info please..
(In reply to comment #14) > emerge --info please.. > # emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.23-gentoo-r3-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.0 Timestamp of tree: Wed, 16 Sep 2009 21:45:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r6, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=prescott -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.ntua.gr/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl alsa berkdb bzip2 caps cdr cli cracklib crypt cups dri dvd exif fortran gdbm gimp gpm gtk iconv ipv6 isdnlog jack jpeg lcms midi mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcl tcpd tiff tk truetype type1 unicode x86 xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Carlo, I can't reproduce the bug with your use configuration on x86 and amd64. Did you try to compile with MAKEOPTS="-j1"? Another thing (in theory) that can cause your problem might be quite old toolchain (gcc-4.1/glibc-2.6). What about upgrading to (already stable) gcc-4.3/glibc-2.9?
(In reply to comment #16) > Carlo, I can't reproduce the bug with your use configuration on x86 and amd64. > Did you try to compile with MAKEOPTS="-j1"? > > > Another thing (in theory) that can cause your problem might be quite old > toolchain (gcc-4.1/glibc-2.6). What about upgrading to (already stable) > gcc-4.3/glibc-2.9? > Just compiled with MAKEOPTS="-j1"..and..no way: make[2]: *** No rule to make target `lib/libADM5avcodec.so.52', needed by `plugins/ADM_videoEncoder/ADM_vidEnc_avcodec/libADM_vidEnc_avcodec.so'.
Updated packages: - glibc - cmake ..and now the avidemux 2.5.0 is compiled correctly!! (In reply to comment #17) > (In reply to comment #16) > > Carlo, I can't reproduce the bug with your use configuration on x86 and amd64. > > Did you try to compile with MAKEOPTS="-j1"? > > > > > > Another thing (in theory) that can cause your problem might be quite old > > toolchain (gcc-4.1/glibc-2.6). What about upgrading to (already stable) > > gcc-4.3/glibc-2.9? > > > > Just compiled with MAKEOPTS="-j1"..and..no way: > make[2]: *** No rule to make target `lib/libADM5avcodec.so.52', needed by > `plugins/ADM_videoEncoder/ADM_vidEnc_avcodec/libADM_vidEnc_avcodec.so'. >