-
Senior Member
registered user
New problems when compiling under 3.8.1
Under an earlier version of knoppix (3.4) 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?
Similar Threads
-
By Jameson in forum General Support
Replies: 6
Last Post: 06-23-2005, 07:50 PM
-
By Kowood in forum MS Windows & New to Linux
Replies: 1
Last Post: 04-17-2005, 10:44 AM
-
By covici in forum Customising & Remastering
Replies: 1
Last Post: 07-21-2004, 05:58 PM
-
By Frost in forum General Support
Replies: 7
Last Post: 06-09-2004, 08:59 PM
-
By Fang in forum Customising & Remastering
Replies: 8
Last Post: 12-01-2003, 05:54 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch
$115.00

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks
$224.95