Hi All,
I used Davinci EVM board development tools (Montavista arm_v5t_le-gcc) to
compile and created driver modules. Got errors as follows.
Seem like not matched the kernel and/or compiler,... ?
Any ideas, very appreciate.
Thanks,
Andy
Relative conditions:
1, Kernel source: ~/workdir/lsp/ti-davinci
2, Added follows to Makefile:
ARCH = $ARCH
CROSS_COMPILE = $CROSS_COMPILE
export ARCH CROSS_COMPILE
3, used make command:
make ARCH=arm CROSS_COMPILE=arm_v5t_le-
Messages:
[EMAIL PROTECTED] ieee80211]$ make ARCH=arm CROSS_COMPILE=arm_v5t_le-
make -C /home/andy/workdir/lsp/ti-davinci M=/home/andy/realtek/ieee80211
modulesmake[1]: Entering directory `/home/andy/workdir/lsp/ti-davinci'
CC [M] /home/andy/realtek/ieee80211/ieee80211_softmac.o
In file included from include/asm/page.h:27,
from include/asm/cpu-single.h:33,
from include/asm/proc-fns.h:154,
from include/asm/system.h:95,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/kernel.h:15,
from include/linux/skbuff.h:18,
from include/linux/if_ether.h:106,
from /home/andy/realtek/ieee80211/ieee80211.h:26,
from /home/andy/realtek/ieee80211/ieee80211_softmac.c:17:
include/asm/glue.h:111:2: #error Unknown data abort handler type
In file included from include/asm/cpu-single.h:33,
.
.
.
.
.
/home/andy/realtek/ieee80211/ieee80211_softmac.c: In function
`ieee80211_rx_frame_softmac':
/home/andy/realtek/ieee80211/ieee80211_softmac.c:1471: warning: ISO C90
forbids mixed declarations and code
make[2]: *** [/home/andy/realtek/ieee80211/ieee80211_softmac.o] Error 1
make[1]: *** [_module_/home/andy/realtek/ieee80211] Error 2
make[1]: Leaving directory `/home/andy/workdir/lsp/ti-davinci'
make: *** [modules] Error 2
_________________________________________________________________
Buy, Load, Play. The new Sympatico / MSN Music Store works seamlessly with
Windows Media Player. Just Click PLAY.
http://musicstore.sympatico.msn.ca/content/viewer.aspx?cid=SMS_Sept192006
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source