[#4417] Build kernel fails on trunk in setup.c

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

[#4417] Build kernel fails on trunk in setup.c

Submitted By: Vivi Li

Open Date

2008-09-11 22:48:56     Close Date

2008-09-11 23:07:27

Priority:

Medium     Assignee:

Mike Frysinger

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:

Out of Date

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: Build kernel fails on trunk in setup.c

Details:

 

Build kernel fails on trunk in setup.c

 

--

chmod +x tools/romfs-inst.sh tools/modules-alias.sh

. linux-2.6.x/.config; if [ "$CONFIG_INITRAMFS_SOURCE" != "" ]; then \

                mkdir -p `dirname $CONFIG_INITRAMFS_SOURCE`; \

                touch $CONFIG_INITRAMFS_SOURCE || exit 1; \

        fi

rm -f linux-2.6.x/usr/initramfs_data.cpio.gz

make ARCH=blackfin   CROSS_COMPILE=bfin-uclinux- -j4 -C linux-2.6.x  || exit 1

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

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CALL    scripts/checksyscalls.sh

  CHK     include/linux/compile.h

  GEN     usr/initramfs_data.cpio.gz

  AS      usr/initramfs_data.o

  LD      usr/built-in.o

  CC      arch/blackfin/kernel/setup.o

  CC      arch/blackfin/kernel/module.o

  CC      arch/blackfin/kernel/bfin_dma_5xx.o

arch/blackfin/kernel/setup.c: In function ‘bfin_cache_init’:

arch/blackfin/kernel/setup.c:88: error: implicit declaration of function ‘bfin_icache_init’

arch/blackfin/kernel/setup.c:93: error: implicit declaration of function ‘bfin_dcache_init’

make[2]: *** [arch/blackfin/kernel/setup.o] Error 1

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

make[1]: *** [arch/blackfin/kernel] Error 2

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

make[1]: INTERNAL: Exiting with 5 jobserver tokens available; should be 4!

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

make: *** [linux] Error 1

--

 

Follow-ups

 

--- Mike Frysinger                                           2008-09-11 22:56:25

builds fine for me ... is your tree actually up to date ?

 

kernel/setup.c pulls in asm/blackfin.h which pulls in asm/bfin-global.h which

has the prototypes in question

 

--- Vivi Li                                                  2008-09-11 23:07:27

OK now. Close it. Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes