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 Tue 21 Oct 2014, 05:16
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
struct (C programming) question.
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
James186282


Joined: 08 Sep 2009
Posts: 142
Location: Minnesota

PostPosted: Sat 24 Oct 2009, 23:59    Post subject:  struct (C programming) question.  

I've been trying to come up to speed on linux and C at the same time. My background is assembler along with long ago classes in Fortran, Basic, and Cobol.

Anyhow... I'm playing around with the madwifi driver as I'm also a radio guy and have been trying to get the wifi card (Atheros) that I've got in my laptop to talk on channels 12 and 13 (and 0, -1, -2) as well as being able to select non standard 5GHz channels using my ham radio license. I've got a lot of compiler errors. I'm using puppy 4.30 and the Linux kernel is 2.6.30.6
An example of a line that causes an error is.
struct ath_softc *sc = dev->priv;

An example of the error is
error: 'struct net_device' has no member named 'priv' In another post I think the suggestion was made that Linux kernels after a certain version stopped supporting 'priv' I'm kinda lost. Can someone clue me in on whats going wrong and suggest a solution? I really appreciate all the help I've been getting this community of users is the best!

- James

*And sorry for the new guy (moron) questions.
Back to top
View user's profile Send private message 
James186282


Joined: 08 Sep 2009
Posts: 142
Location: Minnesota

PostPosted: Mon 26 Oct 2009, 22:12    Post subject:    

I don't know if I should list this as [SOLVED] but I downloaded the very latest version of madwifi and it compiled without error. I really spent some serious time head scratching on this and I'm still not sure why the other versions were so filled with errors. I spoke to a chum who told me that Compiler "warnings" are many. Maybe I'm just cockpit overloaded trying too many things at once.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 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.0427s ][ Queries: 12 (0.0086s) ][ GZIP on ]