Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77119 - vlc 0.8.1 fails to compile on amd64
Summary: vlc 0.8.1 fails to compile on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 03:22 UTC by Christoph Safferling
Modified: 2005-01-10 05:07 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 Christoph Safferling 2005-01-08 03:22:35 UTC
The new vlc 0.8.1 fail to compile giving this error message: 

[...]
Making all in video_output
make[3]: Entering directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1/modules/video_output'
make[4]: Entering directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1/modules/video_output'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin aa` -Wsign-compare -Wall -march=athlon64 -O2 -pipe -pipe -MT libaa_plugin_a-aa.o -MD -MP -MF ".deps/libaa_plugin_a-aa.Tpo" \
  -c -o libaa_plugin_a-aa.o `test -f 'aa.c' || echo './'`aa.c; \
then mv -f ".deps/libaa_plugin_a-aa.Tpo" ".deps/libaa_plugin_a-aa.Po"; \
else rm -f ".deps/libaa_plugin_a-aa.Tpo"; exit 1; \
fi
x86_64-pc-linux-gnu-gcc -Wsign-compare -Wall -march=athlon64 -O2 -pipe -pipe -o libaa_plugin.so libaa_plugin_a-aa.o `top_builddir=../.. ../../vlc-config --libs plugin aa`
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin vout_sdl` -Wsign-compare -Wall -march=athlon64 -O2 -pipe -pipe -MT libvout_sdl_plugin_a-sdl.o -MD -MP -MF ".deps/libvout_sdl_plugin_a-sdl.Tpo" \
  -c -o libvout_sdl_plugin_a-sdl.o `test -f 'sdl.c' || echo './'`sdl.c; \
then mv -f ".deps/libvout_sdl_plugin_a-sdl.Tpo" ".deps/libvout_sdl_plugin_a-sdl.Po"; \
else rm -f ".deps/libvout_sdl_plugin_a-sdl.Tpo"; exit 1; \
fi
x86_64-pc-linux-gnu-gcc -Wsign-compare -Wall -march=athlon64 -O2 -pipe -pipe -o libvout_sdl_plugin.so libvout_sdl_plugin_a-sdl.o `top_builddir=../.. ../../vlc-config --libs plugin vout_sdl`
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin opengl` -Wsign-compare -Wall -march=athlon64 -O2 -pipe -pipe -MT libopengl_plugin_a-opengl.o -MD -MP -MF ".deps/libopengl_plugin_a-opengl.Tpo" \
  -c -o libopengl_plugin_a-opengl.o `test -f 'opengl.c' || echo './'`opengl.c; \
then mv -f ".deps/libopengl_plugin_a-opengl.Tpo" ".deps/libopengl_plugin_a-opengl.Po"; \
else rm -f ".deps/libopengl_plugin_a-opengl.Tpo"; exit 1; \
fi
x86_64-pc-linux-gnu-gcc -Wsign-compare -Wall -march=athlon64 -O2 -pipe -pipe -o libopengl_plugin.so libopengl_plugin_a-opengl.o `top_builddir=../.. ../../vlc-config --libs plugin opengl`
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[4]: *** [libopengl_plugin.so] Error 1
make[4]: Leaving directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1/modules/video_output'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1/modules/video_output'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.8.1 failed.
!!! Function src_compile, Line 170, Exitcode 2
!!! make of VLC failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge -av vlc
2.
3.

Actual Results:  
Emerge fails.

Expected Results:  
Compile vlc

My emerge info: 

Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 24 2004, 12:54:52)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-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/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=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo/
http_//gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
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="amd64 X aalib acpi alsa arts avi berkdb bitmap-fonts cdparanoia cdr cjk
crypt doc dvd dvdr emacs encode esd f77 fam flac font-server fortran gdbm
gifgphoto2 gpm gtk2 imagemagick imlib java jp2 jpeg kde leim libwww lzw lzw-tiff
mad motif mpeg multilib ncurses nls offensive oggvorbis opengl pam perl png
python qt quicktime readline sdl ssl tcpd tetex theora tiff truetype
truetype-fonts type1-fonts unicode usb userlocales wmf xine xml2 xmms xosd xpm
xprint xrandr xv zlib linguas_de linguas_en_GB linguas_nds"


Also, I compiling vlc with the following USE flags: 

(-3dfx) +X -a52 +aalib +alsa (-altivec) +arts +bidi* -cdda -cddb -cdio -debug
-dts -dvb +dvd +esd -faad -fbcon +ffmpeg* +flac +freetype* -ggi -gnutls -hal
-httpd -joystick -libcaca -lirc -live +mad -matroska -mozilla +mpeg2* +ncurses
+nls +ogg* +opengl -oss -stream -svg (-svga) +theora +utf8* -v4l +vcd* -vlm
+vorbis* -wxwindows +xosd +xv 

Note that vlc also complains with exactly the same error message if I use my old
USE flags (revert the * USE flags).
Comment 1 Tom Martin (RETIRED) gentoo-dev 2005-01-08 05:22:15 UTC
This is not AMD64 specific -- it just seems like you currently don't have a GL provider installed, and the ebuild does not have an opengl? ( virtual/opengl ) DEPEND.

Is GL working on your system?

(Reassigning to media-video@)
Comment 2 Chris White (RETIRED) gentoo-dev 2005-01-08 06:44:48 UTC
Bah, I did miss the opengl dep, bad Chris!  No Cookie!  Well anyways, the dep is back in so things should work.  If not, please reopen the bug.
Comment 3 Christoph Safferling 2005-01-10 05:07:01 UTC
Thanks, works now. Did finally install nvidia-kernel et al.