GCC Advice Needed

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
bill
Posts: 490
Joined: Wed 28 May 2008, 15:32

GCC Advice Needed

#1 Post by bill »

Hello all,I am trying to compile a module for a Syba 4 Port PCI Sata controller card in Wary Watcher/Wary 5.1.1 (a distro by CatDude) kernel uname-r 2.6.32.28 .When I use gcc on either of these two files “siimage.c
Attachments
SataSil3114.tar.gz
(11.93 KiB) Downloaded 236 times

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

You need kernel-headers installed to compile out-of-tree kernel modules.

bill
Posts: 490
Joined: Wed 28 May 2008, 15:32

GCC Advice Needed

#3 Post by bill »

Thanks amigo.Now who was it that said "Google was not my friend " :? Looks like I'm going to have to get some of that YUM and APT.Just checked your screen name and didn't find that anon P.O.BOX :wink: [/img]
Attachments
kernelheaders.png
(72.53 KiB) Downloaded 212 times

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#4 Post by amigo »

Which P.O. box? For puppy you won't find a package with the kernel sources. Instead, they are in some sfs file. Perhaps searching the forum for kernel-source sfs will help -or hopefully someone will chime in with the proper file name.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#5 Post by muggins »

I think kernel_src-2.6.32.28-patched.sfs this might be the one you need.

u=puppy
p=linux

bill
Posts: 490
Joined: Wed 28 May 2008, 15:32

GCC Advice Needed

#6 Post by bill »

What P.O.BOX ? You ask ! amigo. This one:
I have noted another "fast gun" :) (Muggins)" has clocked in.Thanks Muggins,This is for you to consider also.I also would appreciate any
Pros and Cons from others.


http://www.murga-linux.com/puppy/viewtopic.php?t=85286

Post Reply