LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-23-2005, 02:39 PM   #1
redss
Member
 
Registered: Jun 2003
Posts: 167

Rep: Reputation: 16
Problems compiling under knoppix 3.8.1


Under an earlier version of knoppix (3.4, a derivant of Debian) I was able
to compile a webcam driver without errors.

Now under knoppix 3.8.1 liveCD, I had errors and
discovered that knoppix 3.8.1 does not contain the
necessary header files in the directory
/lib/modules/2.6.11/build/include/linux (The
corresponding directory did indeed contain the
required header files in 3.4)

So I downloaded the kernel source for 3.8.1 and
untarred it into /usr/src/2.6.11, which is where the
symbolic link /lib/modules/2.6.11/build points to.
(This is only possible now with UNIONFS, which is the
only reason I'm upgrading to 3.8)

I was hoping (guessing) that this would fix the
problem of missing header files, however now I am
getting a slew of error messages (from
/lib/modules/2.6.11/build/include/linux/kernel.h)
like:
error: parse error before "size_t"
warning: function declaration isn't a prototype
warning: conflicting types for built-in function
`snprintf'

Apparently this liveCD is not completely configured
for compiling certain source code, since these errors
did not come up in v3.4.

What do I need to do to prepare the 3.8.1 environment
for compiling?
 
Old 04-23-2005, 09:55 PM   #2
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Umm,Im not sure I understand...you want to compile the new knoppix liveCD,or the webcam driver under the new knoppix 3.8?
 
  


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
KNOPPIX: knoppix.sh problems ocgltd Linux - General 2 10-12-2005 12:19 PM
Compiling programs in Knoppix gnukish Programming 3 07-12-2005 12:43 AM
need help compiling slmodem-2.9.10 driver on Knoppix 3.9 Joseph Schiller Debian 3 06-13-2005 03:05 PM
Compiling with Knoppix rigel_kent Linux - Distributions 2 11-04-2004 11:42 AM
compiling on knoppix myister Linux - Newbie 3 05-12-2004 10:26 PM

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

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