我用天嵌提供的系统及4.3.3的编译器编译我手头的一个wifi驱动程序,想生成.ko文件。但是出现下面的错误,实在解决不了啊,求助管理员帮帮忙给指点一下,谢谢。
[root@localhost s3c_wifi_v4]# make
make -C /home/ywj/opt/EmbedSky/linux-2.6.30.4 M=/home/ywj/opt/EmbedSky/s3c_wifi_v4 modules
make[1]: Entering directory `/home/ywj/opt/EmbedSky/linux-2.6.30.4'
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/io/gspi/s3c2440/gspi_io.o
/home/ywj/opt/EmbedSky/s3c_wifi_v4/io/gspi/s3c2440/gspi_io.c: In function 'gspi_register_irq':
/home/ywj/opt/EmbedSky/s3c_wifi_v4/io/gspi/s3c2440/gspi_io.c:364: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/io/gspi/s3c2440/gspi_io.c: In function 'gspihost_init_hw':
/home/ywj/opt/EmbedSky/s3c_wifi_v4/io/gspi/s3c2440/gspi_io.c:480: warning: control reaches end of non-void function
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/io/gspi/s3c2440/gspi_debug.o
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_main.o
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_fw.o
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_wext.o
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_rx.o
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_tx.o
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_cmd.o
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_cmdresp.o
CC [M] /home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.o
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c: In function 'wlan_get_scan':
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2019: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2019: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2019: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2019: error: too few arguments to function 'iwe_stream_add_event'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2033: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2033: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2033: warning: passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2033: error: too few arguments to function 'iwe_stream_add_point'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2039: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2039: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2039: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2039: error: too few arguments to function 'iwe_stream_add_event'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2046: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2046: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2046: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2046: error: too few arguments to function 'iwe_stream_add_event'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2076: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2076: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2076: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2076: error: too few arguments to function 'iwe_stream_add_event'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2087: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2087: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2087: error: too few arguments to function 'iwe_stream_add_point'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2112: warning: passing argument 1 of 'iwe_stream_add_value' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2112: warning: passing argument 4 of 'iwe_stream_add_value' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2112: warning: passing argument 5 of 'iwe_stream_add_value' makes pointer from integer without a cast
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2112: error: too few arguments to function 'iwe_stream_add_value'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2123: warning: passing argument 1 of 'iwe_stream_add_value' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2123: warning: passing argument 4 of 'iwe_stream_add_value' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2123: warning: passing argument 5 of 'iwe_stream_add_value' makes pointer from integer without a cast
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2123: error: too few arguments to function 'iwe_stream_add_value'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2154: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2154: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2154: warning: passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2154: error: too few arguments to function 'iwe_stream_add_point'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2182: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2182: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2182: warning: passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2182: error: too few arguments to function 'iwe_stream_add_point'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2203: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2203: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2203: warning: passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2203: error: too few arguments to function 'iwe_stream_add_point'
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2220: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2220: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2220: warning: passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.c:2220: error: too few arguments to function 'iwe_stream_add_point'
make[2]: *** [/home/ywj/opt/EmbedSky/s3c_wifi_v4/wlan/wlan_scan.o] Error 1
make[1]: *** [_module_/home/ywj/opt/EmbedSky/s3c_wifi_v4] Error 2
make[1]: Leaving directory `/home/ywj/opt/EmbedSky/linux-2.6.30.4'
make: *** [default] Error 2
[root@localhost s3c_wifi_v4]#