[#4864] kernel build fails at can4linux now

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

[#4864] kernel build fails at can4linux now

Submitted By: Mingquan Pan

Open Date

2009-02-05 23:52:07     Close Date

2009-02-08 22:57:02

Priority:

Medium     Assignee:

Nobody

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:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

4.1 toolchain of Jan 17 2009

App binary format:

N/A     

Summary: kernel build fails at can4linux now

Details:

 

kernel build fails at can4linux now

 

CC      drivers/char/tty_port.o^M

  CC      drivers/char/pty.o^M

  CC      drivers/char/misc.o^M

  LD      drivers/char/can4linux/built-in.o^M

  CC [M]  drivers/char/can4linux/core.o^M

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

                 from include/linux/pci.h:1002,^M

                 from drivers/char/can4linux/core.c:233:^M

include/asm-generic/pci-dma-compat.h: In function 鈥榩ci_dma_supported鈥�^M

include/asm-generic/pci-dma-compat.h:15: error: implicit declaration of function 鈥榙ma_supported鈥^M

include/asm-generic/pci-dma-compat.h: In function 鈥榩ci_dma_sync_sg_for_cpu鈥�^M

include/asm-generic/pci-dma-compat.h:91: error: implicit declaration of function 鈥榙ma_sync_sg_for_cpu鈥^M

include/asm-generic/pci-dma-compat.h: In function 鈥榩ci_dma_sync_sg_for_device鈥�^M

include/asm-generic/pci-dma-compat.h:98: error: implicit declaration of function 鈥榙ma_sync_sg_for_device鈥^M

In file included from include/linux/pci.h:1002,^M

                 from drivers/char/can4linux/core.c:233:^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/pci.h: At top level:^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/pci.h:54: error: redefinition of 鈥榩ci_map_single鈥^M

include/asm-generic/pci-dma-compat.h:34: error: previous definition of 鈥榩ci_map_single鈥�was here^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/pci.h:71: error: redefinition of 鈥榩ci_unmap_single鈥^M

include/asm-generic/pci-dma-compat.h:41: error: previous definition of 鈥榩ci_unmap_single鈥�was here^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/pci.h:95: error: redefinition of 鈥榩ci_map_sg鈥^M

include/asm-generic/pci-dma-compat.h:62: error: previous definition of 鈥榩ci_map_sg鈥�was here^M

/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include/asm/pci.h:107: error: redefinition of 鈥榩ci_unmap_sg鈥^M

include/asm-generic/pci-dma-compat.h:69: error: previous definition of 鈥榩ci_unmap_sg鈥�was here^M

drivers/char/can4linux/core.c: In function 鈥榗an_init鈥�^M

drivers/char/can4linux/core.c:467: warning: label 鈥榦ut_class鈥�defined but not used^M

make[4]: *** [drivers/char/can4linux/core.o] Error 1^M

make[3]: *** [drivers/char/can4linux] Error 2^M

make[2]: *** [drivers/char] 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

 

--- Mingquan Pan                                             2009-02-08 22:57:02

It builds ok on trunk head now .Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes