Hello,i have tried to build the kernel for my table,<br>and i tried buld the kernel for XDA,as sztupy told<br>but it failed... it seems the usb or something so wrong<br>the print things like this :<br> CC drivers/usb/host/sw_hci_sun4i.o<br>
CC drivers/tty/vt/consolemap_deftbl.o<br> CC drivers/tty/vt/defkeymap.o<br>In file included from drivers/usb/host/ehci-hcd.c:124:0:<br>drivers/usb/host/ehci.h:746:20: warning: function declaration isn’t a prototype [-Wstrict-prototypes]<br>
LD drivers/usb/misc/built-in.o<br> CC drivers/usb/serial/usb-serial.o<br> CC drivers/usb/serial/generic.o<br> LD drivers/video/sun4i/disp/disp.o<br> LD drivers/video/sun4i/disp/built-in.o<br>
LD drivers/video/built-in.o<br> CC drivers/usb/serial/bus.o<br> CC drivers/usb/serial/option.o<br> LD drivers/usb/gadget/g_android.o<br> LD drivers/usb/gadget/built-in.o<br> CC drivers/usb/storage/alauda.o<br>
CC drivers/usb/serial/usb_wwan.o<br> CC drivers/usb/storage/cypress_atacb.o<br> CC drivers/usb/storage/datafab.o<br> LD drivers/usb/serial/usbserial.o<br> CC drivers/usb/storage/ene_ub6250.o<br>
CC drivers/usb/storage/freecom.o<br> CC drivers/usb/storage/isd200.o<br> CC drivers/usb/storage/jumpshot.o<br> CC drivers/usb/storage/karma.o<br> LD drivers/usb/serial/built-in.o<br> CC drivers/usb/storage/onetouch.o<br>
CC drivers/usb/storage/realtek_cr.o<br> CC drivers/usb/storage/sddr09.o<br> LD drivers/tty/vt/built-in.o<br> LD drivers/tty/built-in.o<br> CC drivers/usb/storage/sddr55.o<br> CC drivers/usb/storage/shuttle_usbat.o<br>
CC drivers/usb/storage/scsiglue.o<br> CC drivers/usb/storage/protocol.o<br> CC drivers/usb/storage/transport.o<br> CC drivers/usb/storage/usb.o<br> CC drivers/usb/storage/initializers.o<br>
CC drivers/usb/storage/sierra_ms.o<br>
CC drivers/usb/storage/option_ms.o<br> CC drivers/usb/storage/usual-tables.o<br> LD drivers/usb/host/built-in.o<br> LD drivers/usb/storage/usb-storage.o<br> LD drivers/usb/storage/ums-cypress.o<br>
LD drivers/usb/storage/ums-alauda.o<br> LD drivers/usb/storage/ums-datafab.o<br> LD drivers/usb/storage/ums-freecom.o<br> LD drivers/usb/storage/ums-isd200.o<br> LD drivers/usb/storage/ums-eneub6250.o<br>
LD drivers/usb/storage/ums-jumpshot.o<br> LD drivers/usb/storage/ums-karma.o<br> LD drivers/usb/storage/ums-onetouch.o<br> LD drivers/usb/storage/ums-realtek.o<br> LD drivers/usb/storage/ums-sddr55.o<br>
LD drivers/usb/storage/ums-sddr09.o<br> LD drivers/usb/storage/ums-usbat.o<br> LD drivers/usb/storage/built-in.o<br> LD drivers/usb/built-in.o<br>make: *** [drivers] Error 2<br><br><br>And this is the modules error from amery's kernel ,<br>
i used the branch :allwinner-v3.0-android<br>it is a 3.0.31's kernel ...<br>Below is the print thing from amery;s kernel,<br>Image Name: Linux-3.0.31-dg+<br>Created: Tue May 15 09:05:07 2012<br>Image Type: ARM Linux Kernel Image (uncompressed)<br>
Data Size: 2855904 Bytes = 2788.97 kB = 2.72 MB<br>Load Address: 40008000<br>Entry Point: 40008000<br> Image arch/arm/boot/uImage is ready<br>`arch/arm/boot/uImage' -> `output/uImage'<br>`arch/arm/boot/zImage' -> `output/zImage'<br>
make: Entering directory `/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12'<br>make -C kernel/ic -f Makefile PLATFORM=winner V=0 all strip<br>make[1]: Entering directory `/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic'<br>
make -C /ics/allwinner/linux-allwinner SUBDIRS=/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic modules<br>make[2]: Entering directory `/ics/allwinner/linux-allwinner'<br> CC [M] /ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic/../../driverenv/src/driverenv.o<br>
/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic/../../driverenv/src/driverenv.c:84:31: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)<br>/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic/../../driverenv/src/driverenv.c: In function ‘DriverEnvironment_init_trylock’:<br>
/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic/../../driverenv/src/driverenv.c:778:55: warning: parameter ‘lock’ set but not used [-Wunused-but-set-parameter]<br>make[3]: *** [/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic/../../driverenv/src/driverenv.o] Error 1<br>
make[2]: *** [_module_/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic] Error 2<br>make[2]: Leaving directory `/ics/allwinner/linux-allwinner'<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic'<br>
make: *** [ic] Error 2<br>make: Leaving directory `/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12'<br>What do you think ??<br>