LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-04-2009, 05:11 PM   #1
tethysgods
Member
 
Registered: May 2004
Posts: 166

Rep: Reputation: 17
libv4l will not compile.


I downloaded the latest v4l2 and compiled the gspca drivers into the kernel (upgraded from 2.6.17 to 2.6.26.3 on Mandriva 2007 spring). (I understand that these are now part of the latest linux kernels)

So I have a /dev/video0, and if I run xawtv for instance, it "sees" the device.

I also understand that I need libv4l as an inteface between the driver and things like mplayer, xawtv, and skype.

So, I download different libv4l versions (latest is 0.5.9) but whichever version I try to compile I just get a whole bunch of compilation errors.

What on earth is going on here? (I am using gcc version 4.)
 
Old 04-04-2009, 08:45 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Quote:
Originally Posted by tethysgods View Post
What on earth is going on here?
Read the link in #4 in my signature. Then post the relevant information for troubleshooting your problem.
 
Old 04-05-2009, 05:12 AM   #3
tethysgods
Member
 
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
more information?

The version of gcc I have is 4.1.1-3. I did not post what the compilation errors are because there are many, and they a different for each version of libv4l I can find. I havn't been able to find a package manager that works on mandriva spring 2007.

All that I should have to do is make, then make install. Has anyone compiled libv4l from source? If so, which version? and what was the compiler?
 
Old 04-05-2009, 07:52 AM   #4
tethysgods
Member
 
Registered: May 2004
Posts: 166

Original Poster
Rep: Reputation: 17
It took a lot of searching elsewhere, and found it won't compile stand alone. It needs to be compiled as part of http://linuxtv.org/hg/v4l-dvb so it picks up the right headers.
 
  


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
[Compile kernel] How to compile/install the modules ? frenchn00b Linux - General 1 09-06-2009 03:18 PM
how to compile software for any other Linux box which is do not have compile? hocheetiong Linux - Newbie 4 03-06-2009 04:35 PM
Compile madwifi, ... compile error , how can i do. ERBRMN Linux - Networking 3 03-08-2006 07:56 PM
How do I compile this? zgauthier Programming 6 06-26-2005 09:13 AM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM

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

All times are GMT -5. The time now is 09:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration