LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-13-2004, 08:54 AM   #1
gazza
Member
 
Registered: Jun 2003
Distribution: Mandrake 10.1 Official
Posts: 157

Rep: Reputation: 30
mplayer make problems


./configure went ok but "make" returned these errors :

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/user/MPlayer-1.0pre5/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

those are the last set of lines, i dont have a clue

can anyone help ?
 
Old 08-13-2004, 08:58 AM   #2
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
check out This Thread & look for my various posts. the highlites are.........

skip trying to build MPlayer from source, & use the PLF MPlayer packages & codecs. it will install & work with any audio/video file without you having to muck around at all.

otis
 
Old 08-13-2004, 09:01 AM   #3
Eule
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Rep: Reputation: 0
thats a Problem from the programmers. Solution:

go to the file 'ffv1.c' in '~/MPlayer-1.0pre5/libavcodec' and remove in line '456' the 'const'

bevor:
const int ring_size=2;

after:
int ring_size=2;

this works :;-):
 
Old 08-13-2004, 09:04 AM   #4
gazza
Member
 
Registered: Jun 2003
Distribution: Mandrake 10.1 Official
Posts: 157

Original Poster
Rep: Reputation: 30
ive just found this post as well http://www.linuxquestions.org/questi...44#post1096044

Im not a programmer but i dont mind editing source files, could you take a look ?

Is the code change that is suggested correct, and more importantlt does it work ?
 
Old 08-13-2004, 09:11 AM   #5
gazza
Member
 
Registered: Jun 2003
Distribution: Mandrake 10.1 Official
Posts: 157

Original Poster
Rep: Reputation: 30
Ok the ffv1.c file reads (from line 456) :

const int ring_size=2;
int_fast16_t sample_buffer[3][ring_size][w+6], *sample[3][ring_size];
s->run_index=0;

memset(sample_buffer, 0, sizeof(sample_buffer));

Thankyou for your suggestions but the other post suggested this :

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;
}

Im confused now which one to try ? will they both work ? or maybe one is incorrect ?
 
Old 08-13-2004, 09:39 AM   #6
Eule
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Rep: Reputation: 0
I had compiled mplayer more then 10 times.Everytimes I change this code like i'd written. and i works perfectly. But you can test it. As long as you don't install it nothing happens. You only see that's wokr or not
 
Old 08-13-2004, 09:46 AM   #7
Eule
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Rep: Reputation: 0
But if you are not sure you look at this. I think its an offical statement

http://qui4mplayer.sourceforge.net/main.shtml
 
Old 08-13-2004, 09:51 AM   #8
gazza
Member
 
Registered: Jun 2003
Distribution: Mandrake 10.1 Official
Posts: 157

Original Poster
Rep: Reputation: 30
Eule many thanks, I edited the file you said and "make" returned no errors, all installed fine now great

Thanks again.
 
  


Reply



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 Mplayer jupiter3437 Linux - Software 2 08-29-2005 10:22 PM
how to make mplayer play tv??? caleb star Linux - Software 1 05-15-2005 09:00 AM
Mplayer make error Jan_W Linux - Newbie 6 03-29-2005 08:44 AM
mplayer make errors..... Tuttle Slackware 3 07-23-2003 08:30 PM
installing mplayer...... problems occured when "make" was typed.... kublador Linux - General 5 02-22-2003 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration