View previous topic :: View next topic |
Author |
Message |
orzetto Apprentice


Joined: 05 Mar 2003 Posts: 165 Location: Magdeburg, Germany
|
Posted: Wed Mar 05, 2003 10:01 pm Post subject: quicktime4linux-1.5.5-r1 |
|
|
Hi all,
I had to install this q4l, about which I could not care less, but it's needed both for gnome and especially xine, which I would like to use for my dvd's. It simply keeps crashing during compile.
**What happens: the last lines of compile before crash are as follows:
(continues below)
**********************************************
gcc -c `cat i686/c_flags` libdv/transpose_x86.S -o i686/libdv/transpose_x86.o
ar rcs i686/libquicktime.a `cat i686/objs`
gcc -shared -o i686/libquicktime.so `cat i686/objs`
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 29, Exitcode 2
!!! (no error message)
**************************************************
I searched the net and found the homepage of a 17yo guy from kansas that seemed to have identified the problem and published an alternative quicktime_makefile.patch. I tried, but got another error, that this time looked like:
***************************************************
gcc -c `cat i686/c_flags` libdv/YUY2.c -o i686/libdv/YUY2.o
In file included from libdv/YUY2.c:37:
libdv/mmx.h:62: syntax error before "int"
libdv/mmx.h:221: syntax error before "int"
make: *** [i686/libdv/YUY2.o] Error 1
!!! ERROR: media-libs/quicktime4linux-1.5.5-r1 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
***************************************************
This happened a few lines before the previous.
My USE flags are untouched from the Gentoo default, except the addition of "dvd" in /etc/make.conf.
Please, is there any solution, workaround, hack, spell or kick that may help me? How do normal people get to install xine in gentoo, is it painless? Am I in deep Scheiße?
Bye!
-Federico
PS-Please do give a foolproof explanation. I (have been) installed(/ing) Gentoo (since) last friday and I am relatively new. _________________ Why is everybody always generalising? |
|
Back to top |
|
 |
orzetto Apprentice


Joined: 05 Mar 2003 Posts: 165 Location: Magdeburg, Germany
|
Posted: Fri Mar 14, 2003 1:16 am Post subject: |
|
|
...for the information of the readers: problem was solved by re-commenting the CFLAG -march=pentium3 in /etc/make.conf .
Now I'm still suffering with xine install, but that's another story... _________________ Why is everybody always generalising? |
|
Back to top |
|
 |
glober Tux's lil' helper

Joined: 20 Oct 2002 Posts: 77 Location: Vancouver, Canada
|
Posted: Thu Mar 27, 2003 2:21 am Post subject: |
|
|
orzetto wrote: | ...for the information of the readers: problem was solved by re-commenting the CFLAG -march=pentium3 in /etc/make.conf .
Now I'm still suffering with xine install, but that's another story... |
I also got an error when compiling quicktime4linux-1.5.5, and along the same lines I got rid of it by correcting my /etc/make.conf file. Being a bit of a noob with gentoo I had:
CFLAGS="-mcpu=athlon-xp -03 -pipe" ,
when in fact it should be:
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
and I also missed setting anything for march, which I then also made:
CFLAGS="-march=athlon-xp -O3 -pipe"
quicktime4linux compiled after that OK.
Cheers
. |
|
Back to top |
|
 |
reaz82 Apprentice


Joined: 14 Mar 2003 Posts: 203 Location: Austin, Texas
|
Posted: Thu Mar 27, 2003 8:16 am Post subject: |
|
|
orzetto wrote: | ...for the information of the readers: problem was solved by re-commenting the CFLAG -march=pentium3 in /etc/make.conf .
Now I'm still suffering with xine install, but that's another story... |
If we remove 'quicktime' or input '-quicktime' in the USE flags in /etc/make.conf, will the quicktime4linux package be avoided? Does portage use the USE flags to determine which packages to merge?
By using '-march=pentium3' you turned on the '-mmmx' and '-msse' flags which are not turned on when you use the 'i686' architecture flag. This might have had an effect on the way your computer interacted with the compile process. I am assuming you are using gcc 3.*
I have a celeron processor and I set my CFLAG to include '-march=pentium3'. Everything compiles just fine.
Thank you |
|
Back to top |
|
 |
QuantumFoam Tux's lil' helper

Joined: 07 Jun 2003 Posts: 100 Location: San Clemente, CA
|
Posted: Thu Jun 12, 2003 3:13 am Post subject: Worked for me, too |
|
|
I had the same problem and commented out my CFLAG="-march=athlon" and the CXXFLAGS. quicktime4linux compiled just fine after that. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|