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 Fri 31 Oct 2014, 06:53
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 Posts_count  
Author Message
James186282


Joined: 08 Sep 2009
Posts: 146
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: 146
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0428s ][ Queries: 11 (0.0089s) ][ GZIP on ]