FAQ: [#6448] Fail to build blackfin_cam.c on bf561-ezkit after kernel upgrade in latest trunk(2011)

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

[#6448] Fail to build blackfin_cam.c on bf561-ezkit after kernel upgrade in latest trunk

Submitted By: Vivi Li

Open Date

2011-01-17 04:02:41     Close Date

2011-01-17 04:28:13

Priority:

Medium     Assignee:

Scott Jiang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

Make Errors     Board:

N/A

Processor:

BF561     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Dec_09

App binary format:

N/A     

Summary: Fail to build blackfin_cam.c on bf561-ezkit after kernel upgrade in latest trunk

Details:

 

Fail to build blackfin_cam.c on bf561-ezkit after kernel upgrade in latest trunk.

 

Last passed version:

--

kernel:    Linux release 2.6.36.2-ADI-2011R1-pre-svn9542, build #28 Wed Jan 5 22:32:43 CST 2011

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5013)

user-dist: release svn-10036, build #426 Wed Jan 5 22:31:55 CST 2011

--

 

First failed version:

--

kernel:    Linux release 2.6.37-ADI-2011R1-pre-svn9548, build #34 Fri Jan 7 00:00:34 CST 2011

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5013)

user-dist: release svn-10036, build #493 Thu Jan 6 23:59:36 CST 2011

--

 

Bellow is the error log:

--

  CC      drivers/media/video/blackfin/blackfin_cam.o

In file included from drivers/media/video/blackfin/blackfin_cam.c:84:

drivers/media/video/blackfin/adv7183b.h:79:1: warning: "DMA_WDSIZE_16" redefined

drivers/media/video/blackfin/adv7183b.h:72:1: warning: this is the location of the previous definition

drivers/media/video/blackfin/adv7183b.h:80:1: warning: "PPI_PACKING" redefined

drivers/media/video/blackfin/adv7183b.h:73:1: warning: this is the location of the previous definition

drivers/media/video/blackfin/blackfin_cam.c:118: warning: data definition has no type or storage class

drivers/media/video/blackfin/blackfin_cam.c:118: warning: type defaults to ‘int’ in declaration of ‘I2C_CLIENT_INSMOD’

drivers/media/video/blackfin/blackfin_cam.c:1391: error: unknown field ‘get_unmapped_area’ specified in initializer

drivers/media/video/blackfin/blackfin_cam.c:1391: warning: initialization from incompatible pointer type

make[5]: *** [drivers/media/video/blackfin/blackfin_cam.o] Error 1

make[4]: *** [drivers/media/video/blackfin] Error 2

make[4]: *** Waiting for unfinished jobs....

--

 

Follow-ups

 

--- Mike Frysinger                                           2011-01-17 04:28:13

dupe of [#6437]

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.camera_adv7183    application/octet-stream    33654    Vivi Li

Attachments

Outcomes