[Arm-netbook] amery 's kernel compline error

huaixiaoz huaixiaoz at gmail.com
Tue May 15 02:18:41 BST 2012


Hello,i have tried to build   the kernel  for my table,
and i  tried buld  the kernel  for  XDA,as sztupy told
but it failed... it seems   the usb  or something so wrong
the print things like  this :
 CC      drivers/usb/host/sw_hci_sun4i.o
  CC      drivers/tty/vt/consolemap_deftbl.o
  CC      drivers/tty/vt/defkeymap.o
In file included from drivers/usb/host/ehci-hcd.c:124:0:
drivers/usb/host/ehci.h:746:20: warning: function declaration isn’t a
prototype [-Wstrict-prototypes]
  LD      drivers/usb/misc/built-in.o
  CC      drivers/usb/serial/usb-serial.o
  CC      drivers/usb/serial/generic.o
  LD      drivers/video/sun4i/disp/disp.o
  LD      drivers/video/sun4i/disp/built-in.o
  LD      drivers/video/built-in.o
  CC      drivers/usb/serial/bus.o
  CC      drivers/usb/serial/option.o
  LD      drivers/usb/gadget/g_android.o
  LD      drivers/usb/gadget/built-in.o
  CC      drivers/usb/storage/alauda.o
  CC      drivers/usb/serial/usb_wwan.o
  CC      drivers/usb/storage/cypress_atacb.o
  CC      drivers/usb/storage/datafab.o
  LD      drivers/usb/serial/usbserial.o
  CC      drivers/usb/storage/ene_ub6250.o
  CC      drivers/usb/storage/freecom.o
  CC      drivers/usb/storage/isd200.o
  CC      drivers/usb/storage/jumpshot.o
  CC      drivers/usb/storage/karma.o
  LD      drivers/usb/serial/built-in.o
  CC      drivers/usb/storage/onetouch.o
  CC      drivers/usb/storage/realtek_cr.o
  CC      drivers/usb/storage/sddr09.o
  LD      drivers/tty/vt/built-in.o
  LD      drivers/tty/built-in.o
  CC      drivers/usb/storage/sddr55.o
  CC      drivers/usb/storage/shuttle_usbat.o
  CC      drivers/usb/storage/scsiglue.o
  CC      drivers/usb/storage/protocol.o
  CC      drivers/usb/storage/transport.o
  CC      drivers/usb/storage/usb.o
  CC      drivers/usb/storage/initializers.o
  CC      drivers/usb/storage/sierra_ms.o
  CC      drivers/usb/storage/option_ms.o
  CC      drivers/usb/storage/usual-tables.o
  LD      drivers/usb/host/built-in.o
  LD      drivers/usb/storage/usb-storage.o
  LD      drivers/usb/storage/ums-cypress.o
  LD      drivers/usb/storage/ums-alauda.o
  LD      drivers/usb/storage/ums-datafab.o
  LD      drivers/usb/storage/ums-freecom.o
  LD      drivers/usb/storage/ums-isd200.o
  LD      drivers/usb/storage/ums-eneub6250.o
  LD      drivers/usb/storage/ums-jumpshot.o
  LD      drivers/usb/storage/ums-karma.o
  LD      drivers/usb/storage/ums-onetouch.o
  LD      drivers/usb/storage/ums-realtek.o
  LD      drivers/usb/storage/ums-sddr55.o
  LD      drivers/usb/storage/ums-sddr09.o
  LD      drivers/usb/storage/ums-usbat.o
  LD      drivers/usb/storage/built-in.o
  LD      drivers/usb/built-in.o
make: *** [drivers] Error 2


And  this is the modules    error  from amery's kernel ,
i used  the branch  :allwinner-v3.0-android
it is a 3.0.31's  kernel ...
Below  is the print thing  from amery;s kernel,
Image Name:   Linux-3.0.31-dg+
Created:      Tue May 15 09:05:07 2012
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2855904 Bytes = 2788.97 kB = 2.72 MB
Load Address: 40008000
Entry Point:  40008000
  Image arch/arm/boot/uImage is ready
`arch/arm/boot/uImage' -> `output/uImage'
`arch/arm/boot/zImage' -> `output/zImage'
make: Entering directory
`/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12'
make -C kernel/ic -f Makefile PLATFORM=winner V=0 all strip
make[1]: Entering directory
`/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic'
make -C /ics/allwinner/linux-allwinner
SUBDIRS=/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic
modules
make[2]: Entering directory `/ics/allwinner/linux-allwinner'
  CC [M]
/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic/../../driverenv/src/driverenv.o
/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)
/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic/../../driverenv/src/driverenv.c:
In function ‘DriverEnvironment_init_trylock’:
/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]
make[3]: ***
[/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic/../../driverenv/src/driverenv.o]
Error 1
make[2]: ***
[_module_/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic]
Error 2
make[2]: Leaving directory `/ics/allwinner/linux-allwinner'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12/kernel/ic'
make: *** [ic] Error 2
make: Leaving directory
`/ics/allwinner/linux-allwinner/modules/wifi/nano-c047.12'
What do  you think ??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.phcomp.co.uk/pipermail/arm-netbook/attachments/20120515/31878693/attachment.html 


More information about the arm-netbook mailing list