Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86276 - mplayer 1pre6 does not compile, libdha problem
Summary: mplayer 1pre6 does not compile, libdha problem
Status: RESOLVED DUPLICATE of bug 86245
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-22 10:17 UTC by yair
Modified: 2005-07-17 13:06 UTC (History)
2 users (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 yair 2005-03-22 10:17:41 UTC
this is the error i get:

make[2]: Entering directory `/var/tmp/portage/mplayer-1.0_pre6-r2/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 -O2 -mcpu=athlon-xp -march=athlon-xp -frename-registers -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 -O2 -mcpu=athlon-xp -march=athlon-xp -frename-registers -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 -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
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-r2/work/MPlayer-1.0pre6a/vidix/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r2/work/MPlayer-1.0pre6a/vidix'
make: *** [vidix/libvidix.a] Error 2
make: *** Waiting for unfinished jobs....
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-r2/work/MPlayer-1.0pre6a/libdha'


Reproducible: Always
Steps to Reproduce:
1.emerge mplayer
2.
3.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-22 14:34:25 UTC
please provide the output of emerge info, thanks
Comment 2 yair 2005-03-23 09:50:24 UTC
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(TM) XP 3200+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 21 2005, 00:45:00)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -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/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://ftp.rhnet.is/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apm arts avi bash-completion berkdb bidi bitmap-fonts bmp bonobo cdr crypt cups dvd emacs emboss encode esd fam foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk2 gtkhtml hal imlib ipv6 java javascript jpeg libg++ libwww lm_sensors mad mikmod mime mmx mono motif mozilla mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png pnp posix python quicktime readline samba sdl spell ssl svg svga symlink tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Comment 3 Paul Marks 2005-03-24 08:56:08 UTC
I encountered the same problem after trying to add dvd and dvdread to my USE flags.  Without those flags, it compiles fine.
Comment 4 Luca Barbato gentoo-dev 2005-03-26 05:17:30 UTC
if you have makeopts set to -j1 it works
Comment 5 Peter Gordon (RETIRED) gentoo-dev 2005-04-02 18:58:09 UTC
I can confirm that setting MAKEOPTS="-j1" seems to fix this (~x86 system).
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-07 07:48:17 UTC

*** This bug has been marked as a duplicate of 86245 ***