LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-05-2003, 03:52 PM   #1
jpbedinger
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
getting kaweth driver to compile in mandrake 9.1


I'm having a dickens of a time getting the kaweth driver to compile for my Linksys USB10T (not the TX). My kernel is 2.4.21-0.13mdk, and I have installed the package containing the kernel source. Usbview reports that the usb nic does indeed use the kawasaki chipset. I changed kaweth.c to use gcc instead of kgcc, but when I run make, i get the following:

# make
gcc -I/usr/src/linux/include -O2 -Wall -Wstrict-prototypes -Winline -fno-strict-aliasing -fno-strength-reduce -malign-loops=2 -malign-functions=2 -malign-jumps=2 -DCPU=686 -D__SMP__ -D__KERNEL__ -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -fomit-frame-pointer kaweth.c
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from kaweth.c:34:
/usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
kaweth.c:82: warning: initialization from incompatible pointer type
kaweth.c: In function `kaweth_control':
kaweth.c:206: `purb_t' undeclared (first use in this function)
kaweth.c:206: (Each undeclared identifier is reported only once
kaweth.c:206: for each function it appears in.)
kaweth.c:206: parse error before "urb"
kaweth.c:207: `devrequest' undeclared (first use in this function)
kaweth.c:207: `dr' undeclared (first use in this function)
kaweth.c:215: `urb' undeclared (first use in this function)
make: *** [kaweth.o] Error 1

what is going on here? why so many warnings about using obsolete #include files? any suggestions to make this bugger compile so i can give this old usb nic a try? any help would be vastly appreciated.



Definition: [/I] temp firm (n.) [/I] - A brokerage selling people who are broke. See l/I] leech. [/I]
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't compile Nvidia driver for Mandrake 10.1 Chudilo Linux - Hardware 2 12-14-2004 11:35 PM
lot of problem with kaweth driver Amir21 Linux - Newbie 2 12-02-2004 05:52 PM
HOW TO USB Ethernet and Kaweth jazzboy Linux - Networking 0 03-13-2004 01:55 PM
How to compile a driver Kuki Linux - Newbie 2 03-04-2004 04:21 PM
How do I compile a driver lexy Linux - Newbie 3 12-16-2002 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration