FAQ: [#6602] usb gadget net 2272 build fails(2011)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6602] usb gadget net 2272 build fails

Submitted By: Mingquan Pan

Open Date

2011-05-17 03:44:17     Close Date

2011-05-17 13:19:04

Priority:

Medium     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

5013

App binary format:

N/A     

Summary: usb gadget net 2272 build fails

Details:

 

usb gadget net 2272 build fails.

 

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

  CHK     include/linux/version.h^M

  CHK     include/generated/utsrelease.h^M

  CALL    scripts/checksyscalls.sh^M

  CHK     include/generated/compile.h^M

  GEN     usr/initramfs_data.cpio^M

  AS      usr/initramfs_data.o^M

  LD      usr/built-in.o^M

  CC      arch/blackfin/mach-bf537/boards/stamp.o^M

  GZIP    kernel/config_data.gz^M

  IKCFG   kernel/config_data.h^M

  CC      kernel/configs.o^M

  LD      kernel/built-in.o^M

  LD      arch/blackfin/mach-bf537/boards/built-in.o^M

  LD      drivers/spi/built-in.o^M

  CC [M]  drivers/spi/spi_bfin5xx.o^M

  CC      drivers/usb/gadget/net2272.o^M

drivers/usb/gadget/net2272.c:38:28: error: linux/smp_lock.h: No such file or directory^M

  CC      drivers/usb/gadget/ether.o^M

drivers/usb/gadget/net2272.c: In function ‘write_packet’:^M

drivers/usb/gadget/net2272.c:402: warning: initialization from incompatible pointer type^M

drivers/usb/gadget/net2272.c: In function ‘read_packet’:^M

drivers/usb/gadget/net2272.c:513: warning: initialization from incompatible pointer type^M

drivers/usb/gadget/net2272.c: In function ‘usb_gadget_register_driver’:^M

drivers/usb/gadget/net2272.c:1432: error: ‘struct usb_gadget_driver’ has no member named ‘bind’^M

drivers/usb/gadget/net2272.c:1447: error: ‘struct usb_gadget_driver’ has no member named ‘bind’^M

make[3]: *** [drivers/usb/gadget/net2272.o] Error 1^M

make[3]: *** Waiting for unfinished jobs....^M

make[2]: *** [drivers/usb/gadget] Error 2^M

make[1]: *** [drivers] Error 2^M

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

make: *** [linux] Error 1^M                              

 

Follow-ups

 

--- Mike Frysinger                                           2011-05-17 13:19:03

dupe of [#6451]

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes