Article [#4187] build oprofile kernel failed in SMP kernel

[#4187] build oprofile kernel failed in SMP kernel

Submitted By: Vivi Li

Open Date

2008-06-23 04:54:54     Close Date

2008-06-24 21:49:34

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

N/A

Uboot version or rev.:

    Toolchain version or rev.:

08r1.5-11

App binary format:

N/A     

Summary: build oprofile kernel failed in SMP kernel

Details:

Build kernel with oprofile driver failed in SMP kernel.

--

  CC      arch/blackfin/oprofile/../../../drivers/oprofile/oprof.o^M

In file included from arch/blackfin/oprofile/../../../drivers/oprofile/event_buffer.h:14,^M

                 from arch/blackfin/oprofile/../../../drivers/oprofile/oprof.c:18:^M

include/asm/mutex.h:18: error: redefinition of ‘__mutex_fastpath_lockâ€Tm^M

include/asm/mutex.h:18: error: previous definition of ‘__mutex_fastpath_lockâ€Tm was here^M

include/asm/mutex.h:27: error: redefinition of ‘__mutex_fastpath_lock_retvalâ€Tm^M

include/asm/mutex.h:27: error: previous definition of ‘__mutex_fastpath_lock_retvalâ€Tm was here^M

include/asm/mutex.h:38: error: redefinition of ‘__mutex_fastpath_unlockâ€Tm^M

include/asm/mutex.h:38: error: previous definition of ‘__mutex_fastpath_unlockâ€Tm was here^M

include/asm/mutex.h:48: error: redefinition of ‘__mutex_fastpath_trylockâ€Tm^M

include/asm/mutex.h:48: error: previous definition of ‘__mutex_fastpath_trylockâ€Tm was here^M

make[2]: *** [arch/blackfin/oprofile/../../../drivers/oprofile/oprof.o] Error 1^M

make[1]: *** [arch/blackfin/oprofile] 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

--- Vivi Li                                                  2008-06-24 22:49:35

It's OK now. Close it.

Thanks!

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.