LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-24-2002, 11:23 AM   #1
cyrille
LQ Newbie
 
Registered: Mar 2002
Posts: 24

Rep: Reputation: 15
Mplayer, GCC and Red Hat 7.1


I need helppppp...

I would like to have the new mplayer version on my red hat 7.1.

The pb is that it refuses to compile because of gcc ( 2.96 wich is unsupported)

i decided to try gcc 3.xxx which is on the red had 7.2 cdrom but how to install 2 version of a same program on my linux ????

i try some rpm -ivh --force, some rpm -Uvh ....

and lost my gcc, nothing at all compiled !! i had to reinstall gcc through the installation wizard.

i would like to have the 2 versions of gcc on my computer and launch the one i desire, is it possible ?

thanks for any advice.
 
Old 04-24-2002, 11:34 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just installing them with rpm -ivh WILL work fine. you should NOT need to force anything, as they are seperate packages and will happily live side by side.
 
Old 04-24-2002, 01:17 PM   #3
cyrille
LQ Newbie
 
Registered: Mar 2002
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for your answer !

you were right ! i have two version on my linux

Checking for gcc version ... 2.96, bad
Checking for gcc3 version ... 3.0.2, ok !!

thanks you

but now the make process don't go to the end ?

here's the message :
{standard input}:978: Warning: Unrecognized .section attribute: want a,w,x
{standard input}:978: Warning: Unrecognized .section attribute: want a,w,x
{standard input}:978: Error: Rest of line ignored. First ignored character is `,'.


any ideas ? thanks
 
Old 04-24-2002, 07:01 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
not the faintest idea. make sure you're using the newest cvs for it, but that error doesn't look particuarly mplayer based... maybe an issue with your glibc or something...

try making clean and starting again.
 
Old 04-25-2002, 04:19 AM   #5
cyrille
LQ Newbie
 
Registered: Mar 2002
Posts: 24

Original Poster
Rep: Reputation: 15
Another Thanks for your help

do you think that i have to upgrade Glibc ? what do you mean when you say making clean ?

i m going to studies mplayer mailing lists!
 
Old 04-25-2002, 03:51 PM   #6
cyrille
LQ Newbie
 
Registered: Mar 2002
Posts: 24

Original Poster
Rep: Reputation: 15
DEMUXER: Too many (4096 in 8266519 bytes) video packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
a52: CRC check failed![


is this a memory problem ?

a hardware problem ?

if it continues, i will have to use win... to watch DVD !!!

(only a joke!!!)

thanks for any help!
 
Old 04-25-2002, 04:33 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
dunno exactly what that would mean, i get that when i'm playing totally screwed up files. maybe you're not decrypting files properly or haven't installed it properly. I'd think that any questions from this stage would really best be aimed at the mplayer lists, there's vastly more info there.
 
Old 04-26-2002, 08:52 AM   #8
frkstein
Member
 
Registered: Jan 2002
Location: Livonia, MI
Distribution: Ubuntu 10.04
Posts: 126

Rep: Reputation: 15
I found this....

I found this on the mplayer webiste which may be off help to you.

2.3.2. Audio output devices

MPlayer's audio interface is called libao2. It currently contains these drivers:

General:

oss

OSS (ioctl) driver
sdl
SDL driver (supports up/downsampling, ESD, ARTS etc)
nas
NAS (Network Audio System) driver
alsa5
native ALSA 0.5 driver
alsa9
native ALSA 0.9 driver (works, but has problems -> use OSS)
sun
SUN audio driver (/dev/audio) for BSD and Solaris8 users


Fact is, Linux sound card drivers have compatibility problems. It may take a while to find your optimal settings.

If you have an OSS driver, first try -ao oss (this is the default). If you experience glitches, halts or anything out of the ordinary, try -ao sdl
(NOTE: you need to have SDL libraries and header files installed). The SDL audio driver helps in a lot of cases and also supports ESD, ARTS,
and up/downsampling. (ESD is the sound daemon from GNOME, ARTS is from KDE.)
If you have ALSA version 0.5, then you almost always have to use -ao alsa5 , since ALSA 0.5 has buggy OSS emulation code, and will crash
MPlayer with a message like this:
DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!

If you have ALSA version 0.9 you may choose between -ao oss and -ao sdl. You can also use -ao alsa9. It works, but there are problems like
lost sync and disappearing audio.

On Solaris/FreeBSD systems, use the SUN audio driver with the -ao sun option, otherwise neither video nor audio will work.


Hope this helps
 
  


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
HowTo Install GCC on Red Hat Enterprise 3 ? skate Red Hat 4 02-27-2006 10:11 PM
Installing gcc-2.95.3 and glibc-2.2.5 on Red Hat 9 sspraggs Red Hat 2 09-25-2004 02:10 PM
How do i install gcc on red hat 9 NRHBasher Linux - Newbie 5 03-11-2004 09:35 PM
kernel, compile, gcc, red hat 8.0 illtbagu Linux - Software 9 03-24-2003 01:12 PM
Installing gcc 2.95.3 on Red Hat 7.0 Quen Linux - Software 0 09-22-2001 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 PM.

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