Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23426 - quicktime4linux emerge fails to link
Summary: quicktime4linux emerge fails to link
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 19:00 UTC by Anthony Ventimiglia
Modified: 2003-09-14 17:34 UTC (History)
3 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 Anthony Ventimiglia 2003-06-24 19:00:02 UTC
I've read both Bugs #15578 and #20709 which seem to describe the same error, but 
none of the fixes in there have done me any good.  
 
I have tried using -mmmx in the CFLAGS, and -march=athlon-xp, but the build still 
fails. In fact the linker error is identical to that in 15578:  
 
gcc -c `cat i686/c_flags`  dump.c -o i686/dump.o 
gcc -o i686/qtdump i686/dump.o i686/libquicktime.a -lpng -lz -lpthread -lglib -ldl -lm 
i686/libquicktime.a(dv.o)(.text+0x180): In function `dv_init': 
: undefined reference to `mmx_ok' 
i686/libquicktime.a(parse.o)(.text+0x407): In function `dv_find_spilled_vlc': 
: undefined reference to `dv_peek_vlc' 
i686/libquicktime.a(parse.o)(.text+0x62f): In function `dv_parse_ac_coeffs': 
: undefined reference to `dv_peek_vlc' 
collect2: ld returned 1 exit status 
make: *** [i686/qtdump] Error 1 
 
!!! ERROR: media-libs/quicktime4linux-1.5.5-r1 failed. 
!!! Function src_compile, Line 30, Exitcode 2 
!!! (no error message) 
 
 

Reproducible: Always
Steps to Reproduce:
1. emerge quicktime4linux 
2. 
3. 
Actual Results:  
 
gcc -o i686/qtdump i686/dump.o i686/libquicktime.a -lpng -lz -lpthread -lglib -ldl -lm 
i686/libquicktime.a(dv.o)(.text+0x180): In function `dv_init': 
: undefined reference to `mmx_ok' 
i686/libquicktime.a(parse.o)(.text+0x407): In function `dv_find_spilled_vlc': 
: undefined reference to `dv_peek_vlc' 
i686/libquicktime.a(parse.o)(.text+0x62f): In function `dv_parse_ac_coeffs': 
: undefined reference to `dv_peek_vlc' 
collect2: ld returned 1 exit status 
make: *** [i686/qtdump] Error 1 
 
!!! ERROR: media-libs/quicktime4linux-1.5.5-r1 failed. 
!!! Function src_compile, Line 30, Exitcode 2 
!!! (no error message) 
 
 

Expected Results:  
emerged propoerly 

ant@afghan ant $ emerge info 
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz 
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo 
http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ mikmod mmx mpeg 
ncurses nls pdflib png spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang 
readline arts tetex svga ggi tcltk java guile mysql X gpm tcpd pam libwww perl 
python esd imlib oggvorbis qt kde motif opengl mozilla cdr -quicktime sdl ssl Xaw3d 
curl doc dvd emacs flash leim samba usb xinerama -cups -gnome -gtk" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -pipe -mmmx" 
CXXFLAGS="-march=pentium3 -pipe -mmmx" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache strict"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-06-25 12:52:49 UTC
could you please try again with
CFLAGS="-march=pentium3 -pipe -O2" 
Comment 2 Raul Assis 2003-07-08 03:31:43 UTC
I've tried with "-march=Pentium3 -02 -pipe" and it didn't work. Since I keep getting "Unkown Option: '-02'" from gcc I tried also removing the -02 part, but the result was the same.
Comment 3 Anthony Ventimiglia 2003-07-08 10:19:53 UTC
Using CFLAGS="-march=pentium3 -pipe -O2" works fine. 
Comment 4 Raul Assis 2003-07-10 02:59:26 UTC
Sorry. I used zero (-02) instead of O (-O2). Now it works.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-08-04 14:15:18 UTC
can i close this now ?
Comment 6 SpanKY gentoo-dev 2003-08-06 06:01:34 UTC
good enough for me ;)
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2003-08-15 12:02:24 UTC
I am having this exact same issue.  It appears that it has shown up a couple times before (bug #15578, bug #20709, and bug #19492).  I have tried this both with and without mmx in my USE.  I am in the process of an emerge -w world, and this is holding me up. Does anyone have any suggestions?
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-14 17:34:13 UTC
closing