Back to ubuntu
debian
debiani386 at gmail.com
Sun Sep 16 00:43:23 UTC 2007
Derek Broughton wrote:
> debian wrote:
>
>
>> Derek Broughton wrote:
>>
>
>
>>> If your wireless works under KDE, it'll work under Gnome.
>>>
>>>
>> ok then how come i can only compile and install them in kubuntu 6.06,
>> but not in regular ubuntu 6.06 or any other version of ubuntu?
>>
>
> You tell me, What sort of error did you get? Compilers are _also_ not
> specific to either KDE or Gnome.
>
so i attempted to compile the drivers on ubuntu 7.04, and heres what it
gave me:
----------------------------------------------------------------------------------------------------------------------------------------------
make -C /lib/modules/2.6.20-15-generic/build
SUBDIRS=/home/debian/Desktop/rndis_wlan modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /home/debian/Desktop/rndis_wlan/usbnet.o
/home/debian/Desktop/rndis_wlan/usbnet.c: In function ‘init_status’:
/home/debian/Desktop/rndis_wlan/usbnet.c:179: error: ‘SLAB_KERNEL’
undeclared (first use in this function)
/home/debian/Desktop/rndis_wlan/usbnet.c:179: error: (Each undeclared
identifier is reported only once
/home/debian/Desktop/rndis_wlan/usbnet.c:179: error: for each function
it appears in.)
/home/debian/Desktop/rndis_wlan/usbnet.c:187: warning: passing argument
6 of ‘usb_fill_int_urb’ from incompatible pointer type
/home/debian/Desktop/rndis_wlan/usbnet.c: In function ‘rx_submit’:
/home/debian/Desktop/rndis_wlan/usbnet.c:311: warning: passing argument
6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/debian/Desktop/rndis_wlan/usbnet.c: In function ‘usbnet_start_xmit’:
/home/debian/Desktop/rndis_wlan/usbnet.c:875: warning: passing argument
6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/debian/Desktop/rndis_wlan/usbnet.c:1071:38: error: macro
"INIT_WORK" passed 3 arguments, but takes just 2
/home/debian/Desktop/rndis_wlan/usbnet.c: In function ‘usbnet_probe’:
/home/debian/Desktop/rndis_wlan/usbnet.c:1071: error: ‘INIT_WORK’
undeclared (first use in this function)
make[2]: *** [/home/debian/Desktop/rndis_wlan/usbnet.o] Error 1
make[1]: *** [_module_/home/debian/Desktop/rndis_wlan] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [default] Error 2
----------------------------------------------------------------------------------------------------------------------------------------------
i dont know if the following is of any help, but the site said that i
had to run clean.sh, which uninstalles my usb drivers so i can compile
their modified usb drivers and install them.
I also installed GCC, CPP, Build-essential, and updated my linux headers
(which were already up to date, i just what they recommended)
its strange how it only works on kubuntu 6.06, cause i tried it on
regular ubuntu 6.06 and it gave me the same exact thing
--cj
More information about the ubuntu-users
mailing list