FAQ: [#7003] kernel fail to build in latest trunk(2012)

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

[#7003] kernel fail to build in latest trunk

Submitted By: Vivi Li

Open Date

2012-03-14 23:29:57     Close Date

2012-03-18 22:24:36

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2012_Feb_15

App binary format:

N/A     

Summary: kernel fail to build in latest trunk

Details:

 

kernel fail to build in latest trunk.

 

--

  HOSTCC  scripts/pnmtologo

  HOSTCC  scripts/mod/sumversion.o

  HOSTCC  scripts/bin2c

  HOSTLD  scripts/mod/modpost

  CHK     include/generated/utsrelease.h

  UPD     include/generated/utsrelease.h

  CC      kernel/bounds.s

  GEN     include/generated/bounds.h

  CC      arch/blackfin/kernel/asm-offsets.s

In file included from /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/atomic.h:10,

                 from include/linux/atomic.h:4,

                 from include/linux/spinlock.h:387,

                 from include/linux/seqlock.h:29,

                 from include/linux/time.h:8,

                 from include/linux/timex.h:56,

                 from include/linux/sched.h:57,

                 from arch/blackfin/kernel/asm-offsets.c:10:

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/cmpxchg.h:77: error: redefinition of ‘struct __xchg_dummy’

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/cmpxchg.h:82: error: redefinition of ‘__xchg’

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/system.h:118: error: previous definition of ‘__xchg’ was here

make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1

--

 

Follow-ups

 

--- Vivi Li                                                  2012-03-18 23:09:21

Fix by Bob.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes