Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Programming & Scripting
Reload this Page Problems when building a driver
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Programming & Scripting C, Perl, PHP, Bash Scripts, anything programming or script related post in here!

Closed Thread
 
Thread Tools Display Modes
Old 01-06-2006   #1 (permalink)
bidi
Linux Enthusiast
 
Join Date: Jun 2005
Location: The Hot Humid South
Posts: 600
Problems when building a driver

Not sure if this is the right place, but the forum title makes it sound like it is.

I'm having trouble building a driver which I've build hundreds of time before with no issues. This is the Atmel wireless adapter chipset driver. There are two different drivers, a SourceForge and a Berlios driver, and I can't seem to compile either one. I got the error message for the Berlios driver, which I currently have installed on 2 other Linux systems (a Debian Etch, and a Slackware 10.2). I've also managed to get the SourceForge driver working in the past, but am also getting an error during the build (completely different error but I forgot to get the error messages written to a file.

These are messages all happen one after the other (I used the 2> redirector).
Code:
In file included from /lib/modules/2.4.27-2-386/build/include/linux/kernel.h:15,
                 from at76c503.c:78:
/lib/modules/2.4.27-2-386/build/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
/lib/modules/2.4.27-2-386/build/include/asm/byteorder.h:30: warning: type qualifiers ignored on function return type
In file included from /lib/modules/2.4.27-2-386/build/include/linux/byteorder/little_endian.h:11,
                 from /lib/modules/2.4.27-2-386/build/include/asm/byteorder.h:65,
                 from /lib/modules/2.4.27-2-386/build/include/linux/kernel.h:15,
                 from at76c503.c:78:
/lib/modules/2.4.27-2-386/build/include/linux/byteorder/swab.h:160: warning: type qualifiers ignored on function return type
/lib/modules/2.4.27-2-386/build/include/linux/byteorder/swab.h:173: warning: type qualifiers ignored on function return type
/lib/modules/2.4.27-2-386/build/include/linux/byteorder/swab.h:186: warning: type qualifiers ignored on function return type
/lib/modules/2.4.27-2-386/build/include/linux/byteorder/swab.h:200: warning: type qualifiers ignored on function return type
In file included from /lib/modules/2.4.27-2-386/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.27-2-386/build/include/linux/list.h:6,
                 from /lib/modules/2.4.27-2-386/build/include/linux/wait.h:14,
                 from /lib/modules/2.4.27-2-386/build/include/linux/fs.h:12,
                 from /lib/modules/2.4.27-2-386/build/include/linux/capability.h:17,
                 from /lib/modules/2.4.27-2-386/build/include/linux/binfmts.h:5,
                 from /lib/modules/2.4.27-2-386/build/include/linux/sched.h:9,
                 from at76c503.c:79:
/lib/modules/2.4.27-2-386/build/include/asm/processor.h:75: error: array type has incomplete element type
In file included from /lib/modules/2.4.27-2-386/build/include/linux/netdevice.h:159,
                 from at76c503.c:92:
/lib/modules/2.4.27-2-386/build/include/linux/skbuff.h: In function '__skb_pull':
/lib/modules/2.4.27-2-386/build/include/linux/skbuff.h:854: warning: pointer targets in return differ in signedness
/lib/modules/2.4.27-2-386/build/include/linux/skbuff.h: In function 'skb_pull':
/lib/modules/2.4.27-2-386/build/include/linux/skbuff.h:872: warning: pointer targets in return differ in signedness
/lib/modules/2.4.27-2-386/build/include/linux/skbuff.h: In function '__pskb_pull':
/lib/modules/2.4.27-2-386/build/include/linux/skbuff.h:883: warning: pointer targets in return differ in signedness
/lib/modules/2.4.27-2-386/build/include/linux/skbuff.h: In function 'pskb_pull':
/lib/modules/2.4.27-2-386/build/include/linux/skbuff.h:890: warning: pointer targets in return differ in signedness
In file included from at76c503.c:92:
/lib/modules/2.4.27-2-386/build/include/linux/netdevice.h: In function '__netif_rx_schedule':
/lib/modules/2.4.27-2-386/build/include/linux/netdevice.h:781: error: invalid lvalue in assignment
/lib/modules/2.4.27-2-386/build/include/linux/netdevice.h: In function 'netif_rx_reschedule':
/lib/modules/2.4.27-2-386/build/include/linux/netdevice.h:806: error: invalid lvalue in assignment
/lib/modules/2.4.27-2-386/build/include/linux/netdevice.h: In function 'netif_tx_disable':
/lib/modules/2.4.27-2-386/build/include/linux/netdevice.h:857: error: invalid lvalue in increment
/lib/modules/2.4.27-2-386/build/include/linux/netdevice.h:859: error: invalid lvalue in unary '&'
at76c503.c: In function 'ioctl_setspy':
at76c503.c:3632: warning: pointer targets in passing argument 1 of 'mac2str' differ in signedness
at76c503.c: In function 'at76c503_ioctl':
at76c503.c:3927: warning: pointer targets in assignment differ in signedness
at76c503.c:3935: warning: pointer targets in assignment differ in signedness
make: *** [at76c503.o] Error 1
Someone please shine a light on this!

Thanks.

EDIT: Forgot to mention this is on a very basic Debian Etch install (first CD only).
bidi is offline  
Old 12-27-2007   #2 (permalink)
GuanweiYu
Just Joined!
 
Join Date: Dec 2007
Posts: 1
hi, I've met the same problem as you
if anyone who knows how to solve this, please send an email to me...
thanks in advance~
GuanweiYu is offline  
Old 12-27-2007   #3 (permalink)
ozar
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 8,504
Welcome to the forums, GuanweiYu!

This thread is almost 2 years old, and you've asked for an email response, so I'm locking it. Don't hesitate to create a new thread of your own if you should wish to have a reply posted here on the forums.
__________________
oz

New Users: * FAQ *

ozar is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 01:42 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0