Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33748 - libdv won't compile
Summary: libdv won't compile
Status: RESOLVED DUPLICATE of bug 34472
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 05:03 UTC by Wim Uyttebroek
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Wim Uyttebroek 2003-11-18 05:03:21 UTC
I have this problem for weeks now.
I follow the unstable (~x86) branch of the gentoo ebuilds

Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge libdv
3.

Actual Results:  
glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c `test -f 'display.c' || 
echo './'`display.c
source='oss.c' object='oss.o' libtool=no \
depfile='.deps/oss.Po' tmpdepfile='.deps/oss.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -Wall -I/usr/include/SDL 
-D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -c `test -f 'oss.c' || echo '.
/'`oss.c
/bin/sh ../libtool --silent --mode=link gcc  -g -O2 -Wall -I/usr/include/SDL 
-D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include   -o playdv  playdv.o display.o 
oss.o -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/lib -L/usr/X11R6/lib 
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lXv ..
/libdv/libdv.la -lpopt -lm 
libtool: link: cannot find the library `'
make[2]: *** [playdv] Error 1
make[2]: Leaving directory `/var/tmp/portage/libdv-0.99-r1/work/libdv-0.
99/playdv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libdv-0.99-r1/work/libdv-0.99'
make: *** [all] Error 2

!!! ERROR: media-libs/libdv-0.99-r1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! compile problem



Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/xdvi/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/home/gentoo/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 encode foomaticdb gif jpeg libg++ mad mikmod nls pdflib xmms xv gdbm 
berkdb slang readline bonobo tcltk guile ruby sdl gpm tcpd pam libwww ssl perl 
esd imlib gtk motif X opengl mysql apache2 mod_php mod_ssl php java kde gtk2 
gnome qt alsa arts 3dnow cdr cups crypt apm avi dvd icc junit mozilla mmx mpeg 
ncurses oggvorbis oss png python quicktime spell sse svga truetype tetex usb 
zlib samba prebuilt xml xml2 mbox"
Comment 1 Krister Wicksell 2003-11-23 05:15:56 UTC
I'vd had the same problem and found that something goes wrong when linking to sdl so i merged using:
>USE=-sdl emerge libdv
This works but will disable sdl support. Have not had time to find a proper solution for the problem.

/Krister
Comment 2 Wim Uyttebroek 2003-11-23 07:30:42 UTC
USE=-sdl emerge libdv
USE=-sdl emerge libmpeg2

thanks, this solves my problem, I had it with this 2 ebuilds
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-11-25 13:35:51 UTC
which version of media-libs/libsdl do you use ?
Comment 4 Wim Uyttebroek 2003-11-25 14:03:48 UTC
I 've got  media-libs/libsdl-1.2.6-r2  
My use flags that matter for this ebuild:
+oss +alsa +esd +arts -nas +X -dga +xv -xinerama -fbcon -directfb -ggi +svga -aalib +opengl -noaudio -novideo -nojoystick 
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-11-27 14:09:15 UTC

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