LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-01-2004, 09:51 PM   #1
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Rep: Reputation: 30
I'm getting errors when trying to make install Mplayer. What is going wrong?


Im trying to compile Mplayer from source and I get this when I try to make install. What is going wrong? This is at the end of the "make"


ffv1.c: In function `encode_rgb_frame':
ffv1.c:465: internal compiler error: in find_function_data, at function.c:329
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[1]: *** [ffv1.o] Error 1
make[1]: Leaving directory `/home/******/Desktop/MPlayer-1.0pre5/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2




This is the make install... Im stuck... Can anyone help me?


# make install
make -C libavcodec LIBPREF=lib LIBSUF=.a
make[1]: Entering directory `/home/******/Desktop/MPlayer-1.0pre5/libavcodec'
cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffv1.o ffv1.c
ffv1.c: In function `encode_rgb_frame':
ffv1.c:465: internal compiler error: in find_function_data, at function.c:329
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[1]: *** [ffv1.o] Error 1
make[1]: Leaving directory `/home/*****/Desktop/MPlayer-1.0pre5/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

Last edited by Ausar; 08-01-2004 at 09:53 PM.
 
Old 08-01-2004, 09:59 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
LOL, do you have the Gcc compiler installed?????
 
Old 08-01-2004, 10:48 PM   #3
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Original Poster
Rep: Reputation: 30
I dunno. Whats that? Do I have to install that? Can I just urpmi it?
 
Old 08-01-2004, 10:51 PM   #4
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Original Poster
Rep: Reputation: 30
I just did "urpmi gcc" and it said everything is already installed. I tried "urpmi gcc compiler" and it said their is no package with that name.
 
Old 08-02-2004, 01:10 AM   #5
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Original Poster
Rep: Reputation: 30
anyone?
 
Old 08-02-2004, 02:21 AM   #6
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
Hmm looks like this problem has cropped up before with ffmpeg (google). You might let us know which gcc you are using by entering gcc --version at the command prompt. I was able to compile mplayer with no problems using gcc 3.3.3
 
Old 08-02-2004, 11:39 AM   #7
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Original Poster
Rep: Reputation: 30
This is what I got.

gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
Old 08-02-2004, 02:19 PM   #8
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Original Poster
Rep: Reputation: 30
anyone?
 
Old 08-03-2004, 03:08 AM   #9
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Original Poster
Rep: Reputation: 30
^
 
Old 08-03-2004, 03:32 AM   #10
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try upgrading to the latest ffmpeg (uninstall the rpm first)
http://ffmpeg.sourceforge.net
 
Old 08-08-2004, 10:12 AM   #11
Anarchofascist
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Same problem, same result

I have an identical problem, so I can confirm that this problem is real and not due to freak winds or bizarre hardware. Looks like the version of gcc is not compatible with the latest version of mplayer.
 
Old 08-08-2004, 10:37 AM   #12
Anarchofascist
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Solution... without new package

I'm a C programmer (amongst other things) so if you are not comfortable editing code then this solution is not for you. That said:

1. Edit .../libavcodec/ffv1.c
2. Find line 465 (the line mentioned in the error message)
3. Change:
Code:
sample[p][i]= sample_buffer[p][(h+i-y)%ring_size]+3;
to
Code:
{
	int tmp;
	tmp=(h+i-y)%ring_size;
	sample[p][i]= sample_buffer[p][tmp]+3;
}
 
Old 09-04-2004, 05:57 PM   #13
alpinweiss88
LQ Newbie
 
Registered: Oct 2003
Location: Chicagoland
Distribution: Redhat, Mandrake, SUSE, Peanut, Knoppix
Posts: 14

Rep: Reputation: 0
Thanks for the code fix!
I was having the same problem compiling Mplayer, and didn't really want to have to upgrade gcc.

I can confirm that this code change does work. I made it, and was able to compile Mplayer without any other problems.
 
Old 09-04-2004, 07:05 PM   #14
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
Question

I hate to be the one to take the low road, but if you are using Mandrake 10, as your user tag suggests, why not just install the Mplayer RPM included on your installation CD-roms?

Mplayer has soooo many dependancies and codecs...
 
Old 09-05-2004, 09:51 AM   #15
alpinweiss88
LQ Newbie
 
Registered: Oct 2003
Location: Chicagoland
Distribution: Redhat, Mandrake, SUSE, Peanut, Knoppix
Posts: 14

Rep: Reputation: 0
valid point

You make a valid point, but there is a reason.
I did install Mplayer from the CDs. That version is slower, probably because it was compiled with cpu-runtime-detection. It also always comes up fullscreen instead of in a window.

I have compiled it successfully in the past without much problem at all, so for me it isn't a big deal.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make install errors in vsftpd swatward Linux - Software 4 09-20-2005 09:47 PM
'Make install' errors lazwaz Red Hat 2 05-21-2005 05:03 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
make install-init creating wrong symbolic link ServerStorm Linux - Software 1 01-18-2005 02:32 PM
mplayer make errors..... Tuttle Slackware 3 07-23-2003 08:30 PM


All times are GMT -5. The time now is 01:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration