HostAP driver compilation problem in armv
ANOOP P
anoopp
Sun Mar 23 22:36:10 PST 2003
Hi,
I tried to build the HostAP driver in armv processor.
compilation failed with the following message
------------------------------------------------------------------------
gcc -I/usr/local/openrg/os/linux-2.4/include -O2 -D__KERNEL__ -DMODULE
-Wall
-c -fomit-frame-pointer -o driver/modules/hostap_cs.o
driver/modules/hostap_cs.c
In file included from
/usr/local/openrg/os/linux-2.4/include/linux/fs.h:200,
from
/usr/local/openrg/os/linux-2.4/include/linux/capability.h:17,
from
/usr/local/openrg/os/linux-2.4/include/linux/binfmts.h:5,
from
/usr/local/openrg/os/linux-2.4/include/linux/sched.h:9,
from
/usr/local/openrg/os/linux-2.4/include/linux/skbuff.h:
19,
from driver/modules/hostap_cs.c:13:
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h: In function
`down':
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h:88: unknown
register
name `lr' in `asm'
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h:88: unknown
register
name `ip' in `asm'
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h: In function
`down_interruptible':
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h:101: unknown
register
name `lr' in `asm'
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h:101: unknown
register
name `ip' in `asm'
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h: In function
`down_trylock':
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h:110: unknown
register
name `lr' in `asm'
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h:110: unknown
register
name `ip' in `asm'
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h: In function
`up':
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h:125: unknown
register
name `lr' in `asm'
/usr/local/openrg/os/linux-2.4/include/asm/semaphore.h:125: unknown
register
name `ip' in `asm'
In file included from driver/modules/prism2.c:69,
from driver/modules/hostap_cs.c:61:
/usr/local/openrg/os/linux-2.4/include/net/sock.h: In function
`sock_orphan':
/usr/local/openrg/os/linux-2.4/include/net/sock.h:1002: unknown register
name `lr' in `asm'
/usr/local/openrg/os/linux-2.4/include/net/sock.h: In function
`sock_graft':
/usr/local/openrg/os/linux-2.4/include/net/sock.h:1011: unknown register
name `lr' in `asm'
In file included from driver/modules/hostap_cs.c:61:
driver/modules/prism2.c: In function `prism2_get_txfid_idx':
driver/modules/prism2.c:1295: unknown register name `lr' in `asm'
driver/modules/prism2.c:1302: unknown register name `lr' in `asm'
driver/modules/prism2.c:1295: invalid `asm': invalid %%-code
driver/modules/prism2.c:1302: invalid `asm': invalid %%-code
In file included from driver/modules/prism2.c:3867,
from driver/modules/hostap_cs.c:61:
driver/modules/prism2_ap.c: In function `ap_control_proc_read':
driver/modules/prism2_ap.c:316: unknown register name `lr' in `asm'
driver/modules/prism2_ap.c:316: invalid `asm': invalid %%-code
driver/modules/prism2_ap.c: In function `ap_control_add_mac':
driver/modules/prism2_ap.c:335: unknown register name `lr' in `asm'
driver/modules/prism2_ap.c:335: invalid `asm': invalid %%-code
driver/modules/prism2_ap.c: In function `ap_control_del_mac':
driver/modules/prism2_ap.c:355: unknown register name `lr' in `asm'
driver/modules/prism2_ap.c:359: unknown register name `lr' in `asm'
driver/modules/prism2_ap.c:355: invalid `asm': invalid %%-code
driver/modules/prism2_ap.c:359: invalid `asm': invalid %%-code
driver/modules/prism2_ap.c: In function `ap_control_mac_deny':
driver/modules/prism2_ap.c:384: unknown register name `lr' in `asm'
driver/modules/prism2_ap.c:384: invalid `asm': invalid %%-code
driver/modules/prism2_ap.c: In function `ap_control_flush_macs':
driver/modules/prism2_ap.c:410: unknown register name `lr' in `asm'
driver/modules/prism2_ap.c:410: invalid `asm': invalid %%-code
make: *** [driver/modules/hostap_cs.o] Error 1
-----------------------------------------------------------------------
can anyone please help me solve this ?
TIA
Anoop
More information about the Hostap
mailing list