| Summary: | mplayer-1.0_pre6-r1 failed @ cannot find -ldha etc.. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Fernando (likewhoa) <email> |
| Component: | New packages | Assignee: | Chris White (RETIRED) <chriswhite> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | media-video |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Fernando (likewhoa)
2005-03-18 21:33:43 UTC
Whoever told you to mess with LDFLAGS slap them for me please... try unsetting LDFLAGS as well as taking your MAKEOPTS down to about -j1 and see what happens. n/m it suddenly emerged for me the second time around,.. only thing i did was erase the /var/tmp/portage/mplayer... folder. chris it wasn't the LDFLAGS.. it just emerged after running it twice, kind of weird.. Please reopen this bug. I'm getting the same error, and reemerging mplayer does not fix the problem. I'm not using any outrages flags or anything, here's my emerge info: Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 Celeron (Coppermine) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 01:26:03)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" 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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.linux.no/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib acl alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bootspla bootsplash bzip2 bzlib calendar caps cdparanoia cdr crypt cscope cups curl curlwrappers dba dvd dvdr eds encode ethereal evo faad flac foomaticdb gcj gd gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal howl iconv imagemagick imap imlib ipv6 irda irmc jabber jack java jpeg kdeenablefinal ladcca ladspa lcms ldap libg++ libgda libwww mad mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql ncurses net nls nptl objc offensive ogg oggvorbis opengl operanom2 pam pcmcia pcre pda pdf pdflib perl png pnp ppds python qt quicktime readline real samba sasl scanner sdl slang slp speex spell sse ssl svg svga tcltk tcpd tetex theora tidy tiff timidity truetype truetype-fonts trusted type1-fonts unicode usb userlocales wifi xine xinerama xml2 xmms xprint xrandr xv xvid zlib video_cards_rage128 linguas_pl" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS My error follows: make[2]: Entering directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/vidix/drivers' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -march=pentium3 -O2 -pipe -frename-registers -fno-pie -fno-pie -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fPIC -I. -I.. -o cyberblade_vid.o cyberblade_vid.c cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -march=pentium3 -O2 -pipe -frename-registers -fno-pie -fno-pie -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fPIC -I. -I.. -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/ -o pci_names.o pci_names.c cc -shared cyberblade_vid.o -L../../libdha -ldha -lm -Wl,-soname,cyberblade_vid.so -o cyberblade_vid.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldha collect2: ld returned 1 exit status make[2]: *** [cyberblade_vid.so] Error 1 make[2]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/vidix/drivers' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/vidix' make: *** [vidix/libvidix.a] Error 2 make: *** Waiting for unfinished jobs.... #cc -shared -Wl,-soname,libdha.so.1 -o libdha.so.1.0 libdha.o mtrr.o pci.o pci_names.o cc -shared -Wl,-soname -Wl,libdha.so.1.0 -o libdha.so.1.0 libdha.o mtrr.o pci.o pci_names.o ln -sf libdha.so.1.0 libdha.so.1 ln -sf libdha.so.1.0 libdha.so make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r1/work/MPlayer-1.0pre6a/libdha' One more thing -- adding USE="-svga" for mplayer worked around the problem (I got it to compile), so it's something around that. Best regards. Antek, did you run revdep-rebuild? bug reopened per request... or emerging svgalib? And also did you take MAKEOPTS down to -j1? It seems to not like -j2.. Resolving bug as TEST-REQUEST. Please try the specified tests requested and re-open the bug if the issue persists. Well, I'm a -j5 fan, but -j1 fixed the problem for me. Mplayer Makefiles are known to be not -j safe. Johnny |