LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-18-2009, 11:20 PM   #1
yuanyang317
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
the problem of porting rt73 onto s3c2440


hi~~everybody~~
i am porting rt73 wirless network adapter on s3c2440,the kernel version is 2.6.24.4,and the driver version is RT73_Linux_STA_Drv1.0.4.0.tar.gz,here are the problems when corss-compiling,i dont know why??how it caused the problem?is the 2.6.24 kernel conflict with the driver?? help,please...

include/asm/hardware.h:16:31: asm/arch/hardware.h: No such file or directory
/utuLinux2.6.24/kernel-2.6.24/drivers/net/wireless/rt73/rtmp_main.c: In function `usb_rtusb_probe':
/utuLinux2.6.24/kernel-2.6.24/drivers/net/wireless/rt73/rtmp_main.c:1030: error: implicit declaration of function `SET_MODULE_OWNER'
/utuLinux2.6.24/kernel-2.6.24/drivers/net/wireless/rt73/rtmp_main.c:1048: error: structure has no member named `weight'
/utuLinux2.6.24/kernel-2.6.24/drivers/net/wireless/rt73/rtmp_main.c:1070: warning: passing arg 1 of `dev_get_by_name' from incompatible pointer type
/utuLinux2.6.24/kernel-2.6.24/drivers/net/wireless/rt73/rtmp_main.c:1070: error: too few arguments to function `dev_get_by_name'
/utuLinux2.6.24/kernel-2.6.24/drivers/net/wireless/rt73/rtmp_main.c:1060: warning: unused variable `device'
make[2]: *** [/utuLinux2.6.24/kernel-2.6.24/drivers/net/wireless/rt73/rtmp_main.o] Error 1
make[1]: *** [_module_/utuLinux2.6.24/kernel-2.6.24/drivers/net/wireless/rt73] Error 2
make[1]: Leaving directory `/utuLinux2.6.24/kernel-2.6.24'
make: *** [all] Error 2
[root@localhost rt73]#



Makefile:


WFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs

## Comment/uncomment the following line to enable/disable debugging
#CFLAGS += -DDBG

CFLAGS += $(WFLAGS)

obj-m := rt73.o

rt73-objs := rtmp_main.o mlme.o connect.o rtusb_bulk.o rtusb_io.o sync.o assoc.o auth.o auth_rsp.o rtusb_data.o rtmp_init.o sanity.o rtmp_wep.o rtmp_info.o rtmp_tkip.o wpa.o md5.o

## Configuration files on SuSE
#NDDIR=/etc/sysconfig/network
#MOD_CONF=/etc/modprobe.d/module-renames

## NDDIR/ifcfg-rausb0
KDIR := /utuLinux2.6.24/kernel-2.6.24

all:
make -C $(KDIR) SUBDIRS=$(shell pwd) modules

clean:
rm -rf *.o *~ .*.cmd *.ko *.mod.c .tmp_versions built-in.o
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
porting rt73 wirless network adapter yuanyang317 Linux - Wireless Networking 1 12-30-2008 01:41 AM
Help! Iinux-2.6.23.9 for S3c2440 booting Error astonzorro Linux - Newbie 2 12-09-2007 10:34 AM
[Request] RT73.ini RT73.sys Muchalipski Linux - Wireless Networking 1 08-29-2007 12:05 PM
RT73 USB wirless card problem stumpedguy_frustrate Fedora 0 03-16-2007 12:27 AM
Problem compiling RT73 driver maxmike83 Fedora 1 11-29-2006 09:20 AM

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

All times are GMT -5. The time now is 01:19 PM.

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