Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Jul 2014, 06:53
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
GCC Advice Needed
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
bill

Joined: 28 May 2008
Posts: 492

PostPosted: Sat 30 Mar 2013, 13:37    Post subject:  GCC Advice Needed  

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” or “siimage.h”(attached) I get notice it can’t find #include /linux/ config.h or #include /linux/delay.h Sure
enough ,when I go to /usr/include/linux/ I can’t find them either.There may be
others ? but remembering I must answer all complaints as gcc submits them,I’m stuck .Can someone advise me a way forward ? Thanks
SataSil3114.tar.gz
Description 
gz

 Download 
Filename  SataSil3114.tar.gz 
Filesize  11.93 KB 
Downloaded  82 Time(s) 
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2217

PostPosted: Sat 30 Mar 2013, 16:36    Post subject:  

You need kernel-headers installed to compile out-of-tree kernel modules.
Back to top
View user's profile Send private message 
bill

Joined: 28 May 2008
Posts: 492

PostPosted: Sat 30 Mar 2013, 18:25    Post subject: GCC Advice Needed  

Thanks amigo.Now who was it that said "Google was not my friend " Confused 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]
kernelheaders.png
 Description   
 Filesize   72.53 KB
 Viewed   185 Time(s)

kernelheaders.png

Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2217

PostPosted: Sun 31 Mar 2013, 03:08    Post subject:  

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.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Sun 31 Mar 2013, 07:27    Post subject:  

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

u=puppy
p=linux
Back to top
View user's profile Send private message 
bill

Joined: 28 May 2008
Posts: 492

PostPosted: Sun 31 Mar 2013, 08:01    Post subject: GCC Advice Needed  

What P.O.BOX ? You ask ! amigo. This one:
I have noted another "fast gun" Smile (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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0486s ][ Queries: 12 (0.0076s) ][ GZIP on ]