LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2004, 09:04 PM   #1
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Rep: Reputation: 15
Installing Xine. Problems in the code


I get a problem dealing with 'cdda'. I found out online that this error is notorious for occuring on 5.2.1 yet there was no answer on how to work around it.

Anyone here have xine running on there machines?
Configure passed fine and creates the make file.
Then when I start to make install I get this.

input_cdda.c: In function `read_cdrom_frames':
input_cdda.c:688: error: storage size of `cdda' isn't known
input_cdda.c:699: error: `CDIOCREADAUDIO' undeclared (first use in this function)
input_cdda.c:699: error: (Each undeclared identifier is reported only once
input_cdda.c:699: error: for each function it appears in.)
input_cdda.c:688: warning: unused variable `cdda'
*** Error code 1

Stop in /usr/home/sam/xine-lib-1-rc5/src/input.
*** Error code 1

Stop in /usr/home/sam/xine-lib-1-rc5/src/input.
*** Error code 1

Stop in /usr/home/sam/xine-lib-1-rc5/src.
*** Error code 1

Stop in /usr/home/sam/xine-lib-1-rc5.
*** Error code 1

Stop in /usr/home/sam/xine-lib-1-rc5.

I looked through 2000 lines of code till I found line 680 on my way up and that was the function called 'read_cdrom_frames'. I found the function but could not figure out the code. I only had 2 semesters of C++.

I also tried doing a port install of Xine LIb and that installs sucessfully but when I attempt to install xine-ui it tells me that it cant find a version of xine lib greater then 1.0 and it cant locate some test file for xine and has trouble linking. It offeres to edit xine-config in the message but I have no idea what to edit in the file.

please help guys, I want to watch dvds on my laptop. This is the first problem in bsd since I started 3 weeks ago that I am truly stumped on.
 
Old 09-07-2004, 07:55 AM   #2
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Bump
 
Old 09-07-2004, 10:35 AM   #3
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
Wow, not fun...
Maybe try adding the location of xine-lib to your $PATH, if it isn't already.
Have you tried a different frontend as well? Maybe totem or one of the others available here --> http://xinehq.de/index.php/releases. You may also want to try mplayer and see if that works as well, even went and found a link for ya ---> http://www.freshports.org/multimedia/mplayer/ I really don't have a diagnosis for ya but I figured this is better input than "bump" Just tryin to help.

linux_terror
 
Old 09-07-2004, 11:15 AM   #4
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Tried other front ends and same shit.
 
Old 09-07-2004, 01:32 PM   #5
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Fckgw it, just got gmplayer working. it rocks and it works.

Edit: didnt know, cursing wasnt allowed. Sorry.

Now gmplayer freezes and quits with signal 11, when will the nightmare end.

Last edited by Lurker01; 09-07-2004 at 02:27 PM.
 
Old 09-07-2004, 02:46 PM   #6
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
YAY IT WORKS. Had to recompile with make --DISABLE-RUNTIME-CPUDETECTION


Edit: Nope just had another crash. Something about bad usage of cpu/fpu/ram. Its a fatal error to.

Last edited by Lurker01; 09-07-2004 at 02:48 PM.
 
Old 09-07-2004, 03:11 PM   #7
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Try just plain, old mplayer before worrying about the gui. You'll be rewareded with _loads_ of diagnostic goop as well.
 
Old 09-07-2004, 04:49 PM   #8
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mcleodnine
Try just plain, old mplayer before worrying about the gui. You'll be rewareded with _loads_ of diagnostic goop as well.
How exactly do I try it without gui?

I can play stuff from the command line and it will open a video window?

Also, it tells me it cant initialize sound for some reason. I set it up for OSS, made sure to chmod 755 my devices and it still says the same thing.

Last edited by Lurker01; 09-07-2004 at 04:57 PM.
 
Old 09-07-2004, 05:55 PM   #9
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Hey cool. It magically just started to work.

I wonder if It was because I didnt restart my computer after setting chmod 755 on the mixer and audio device.
 
Old 09-07-2004, 06:33 PM   #10
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
in a console - 'mplayer' and any command-line options. you can even watch movies without using X windows.

Pretty much any time I build from source (and every time I'm building libraries from source) I run /sbin/ldconfig so that the system knows where to find the new goodies.
 
Old 09-07-2004, 08:14 PM   #11
Lurker01
Member
 
Registered: Aug 2004
Location: Brooklyn, NY
Posts: 133

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mcleodnine
in a console - 'mplayer' and any command-line options. you can even watch movies without using X windows.

Pretty much any time I build from source (and every time I'm building libraries from source) I run /sbin/ldconfig so that the system knows where to find the new goodies.

Wait are you saying this will fix the xine problems?

Also, Interesting thing happens with Mplayer. It crashes only after I attempt to enter preferences after stopping a movie. Funny, but hey it works. I just dont go into preferences when the player is stopped lol.
 
  


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
Installing Xine. Problems in the code Lurker01 *BSD 7 09-07-2004 01:32 PM
Link Problems?? with installing xine mickeyboa Fedora 5 08-28-2004 03:19 PM
Problems with installing Xine Killah Linux - Newbie 11 04-03-2004 04:00 AM
Problems with Mplayer and help installing Xine caleb star Linux - Newbie 6 04-02-2004 12:56 PM
problems installing xine, kxine Synth218 Linux - Software 8 05-25-2003 07:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:45 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