Donate Share

driver for rtl8180 + sa2400

Tracker: Bugs

5 make deletes sources - ID: 1695318
Last Update: Comment added ( nobody )

Hello

There seems to be a problem with newer systems. If i type make the whole
rtl-source-direcory is cleared.

Log:

make -C /lib/modules/2.6.19-gentoo-r5-laptop/build
SUBDIRS=/usr/src/wlan/rtl8180-0.21 MODVERDIR=/usr/src/wlan/rtl8180-0.21
modules
make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r5'
scripts/Makefile.build:17: /usr/src/wlan/rtl8180-0.21/Makefile: No such
file or directory
make[2]: *** No rule to make target `/usr/src/wlan/rtl8180-0.21/Makefile'.
Stop.
make[1]: *** [_module_/usr/src/wlan/rtl8180-0.21] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r5'
make: *** [2.6] Error 2

Could reproduce this on Gentoo 2006.1 and Debian Sid


Nobody/Anonymous ( nobody ) - 2007-04-05 23:14

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 9 )




Date: 2007-11-22 18:24
Sender: nobody

Logged In: NO

same problem whit ubuntu 7.04!


Date: 2007-08-20 03:39
Sender: nobody

Logged In: NO

I got a similar thing; Try removing the MODVERDIR=xxxx part from the
Makefile build line.

This probably won't fix everything; I'm trying to build against
2.6.23-rc3, and that is the least of the problems that I was having. It
just looks like the kernel API has changed so much that the code won't
compile against it without someone going in and taking a fresh look.


Date: 2007-06-24 03:00
Sender: nobody

Logged In: NO

Or rather use new fork of this driver from here:
http://rtl-wifi.sourceforge.net/


Date: 2007-06-23 20:52
Sender: nobody

Logged In: NO

Modify the Makefile - replace line:

modules:
# $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) MODVERDIR=$(PWD) modules
$(MAKE) -C $(KSRC) M=$(PWD) CC=$(CC) modules

by this:

modules:
$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) MODVERDIR=$(PWD)/modules

In my case it doesn't compile anyway, i see the old error again:

Amanda:~/test/rtl8187-newstack# make
make -C /lib/modules/2.6.21.3.20070606/build
SUBDIRS=/root/test/rtl8187-newstack
MODVERDIR=/root/test/rtl8187-newstack/modules
make[1]: Entering directory `/usr/src/linux-2.6.21.3'
LD /root/test/rtl8187-newstack/built-in.o
CC [M] /root/test/rtl8187-newstack/r8187_core.o
In file included from /root/test/rtl8187-newstack/r8187_core.c:64:
/root/test/rtl8187-newstack/r8187.h:29:26: error: linux/config.h: není
souborem ani adresářem
/root/test/rtl8187-newstack/r8187_core.c:107: error: expected ‘)’
before string constant
/root/test/rtl8187-newstack/r8187_core.c:116: error: expected ‘)’
before string constant
/root/test/rtl8187-newstack/r8187_core.c:127: error: unknown field
‘owner’ specified in initializer
/root/test/rtl8187-newstack/r8187_core.c:127: warning: initialization from
incompatible pointer type
/root/test/rtl8187-newstack/r8187_core.c: In function
‘rtl8187_rx_urbsubmit’:
/root/test/rtl8187-newstack/r8187_core.c:680: warning: passing argument 6
of ‘usb_fill_bulk_urb’ from incompatible pointer type
/root/test/rtl8187-newstack/r8187_core.c: In function ‘rtl8180_tx’:
/root/test/rtl8187-newstack/r8187_core.c:1463: warning: passing argument 6
of ‘usb_fill_bulk_urb’ from incompatible pointer type
/root/test/rtl8187-newstack/r8187_core.c:1659:64: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/root/test/rtl8187-newstack/r8187_core.c: In function ‘rtl8180_init’:
/root/test/rtl8187-newstack/r8187_core.c:1659: error: ‘INIT_WORK’
undeclared (first use in this function)
/root/test/rtl8187-newstack/r8187_core.c:1659: error: (Each undeclared
identifier is reported only once
/root/test/rtl8187-newstack/r8187_core.c:1659: error: for each function it
appears in.)
/root/test/rtl8187-newstack/r8187_core.c: In function
‘rtl8180_ioctl’:
/root/test/rtl8187-newstack/r8187_core.c:2329: warning: ISO C90 forbids
mixed declarations and code
/root/test/rtl8187-newstack/r8187_core.c: In function
‘rtl8187_usb_probe’:
/root/test/rtl8187-newstack/r8187_core.c:2382: error: ‘struct
net_device’ has no member named ‘get_wireless_stats’
make[2]: *** [/root/test/rtl8187-newstack/r8187_core.o] Error 1
make[1]: *** [_module_/root/test/rtl8187-newstack] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21.3'
make: *** [modules] Error 2

Currently on Debian Lenny, kernel 2.6.21.3.
Any idea what else I need to do...?


Date: 2007-06-09 19:58
Sender: nobody

Logged In: NO

Same Problem.

How I can fix then?


Date: 2007-06-07 00:53
Sender: nobody

Logged In: NO

Some thing on ebian Lenny, 2007-06


Date: 2007-04-27 03:21
Sender: nobody

Logged In: NO

Ditto. Same error. Run 'make' and it simply 'rm's the installation files
I unTarred. Using OpenSUSE 10.2


Date: 2007-04-26 20:01
Sender: vilerageAccepting Donations


Same problem on Debian Etch (Stable)


Date: 2007-04-21 02:18
Sender: nobody

Logged In: NO

I'm having this same problem with Ubuntu 7.04


Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.