2008-04-17 11:11:30     make the kernel image error ()

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

2008-04-17 11:11:30     make the kernel image error ()

Young Kyle (CHINA)

Message: 54422   

 

when Imake the Kernel image of uClinux_disto2008R1_rcs ,i did not change any deflaut settings .but some errors occured!

 

I do this as the release note says

 

cd uClinux-dist

make menuconfig (save and exit without making any changes)

make clean

make

 

the toolchain version is blackfin-toolchain-08r1-8.i386

 

the uclinux dist versin is uclinx-dist-2008R1-RC8

 

the error infomation below:

 

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

make[1]: Entering directory `/tmp/bf537-2008/uClinux-dist-2008R1-RC8/uClinux-dist-2008R1-RC8/linux-2.6.x'

  SYMLINK include/asm-blackfin/mach-bf537 -> include/asm-blackfin/mach

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  SYMLINK include/asm -> include/asm-blackfin

  HOSTCC  scripts/basic/fixdep

  HOSTCC  scripts/basic/docproc

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

在包含自 include/linux/spinlock.h:53 的文件中,

                 从 include/linux/capability.h:47,

                 从 include/linux/sched.h:46,

                 从 arch/blackfin/kernel/asm-offsets.c:31:

include/linux/kernel.h:10:20: error:stdarg.h:no such file or directory

In file included from include/linux/spinlock.h:53,

                 from include/linux/capability.h:47,

                 from include/linux/sched.h:46,

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

include/linux/kernel.h:123: error:expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:127: error:expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:131: error:expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:135: error:expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:139: error:expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:155: error:expected declaration specifiers or ‘...’ before ‘va_list’

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

make[1]: *** [prepare0] error 2

make[1]: Leaving directory `/tmp/bf537-2008/uClinux-dist-2008R1-RC8/uClinux-dist-2008R1-RC8/linux-2.6.x'

make: *** [linux] error 1

 

so what's wrong with my configuration or the steps ,how can I solve the problem. thanks!!!

QuoteReplyEditDelete

 

 

2008-04-17 11:31:02     Re: make the kernel image error ()

Robin Getz (UNITED STATES)

Message: 54424    Which version of uClibc did you install?

 

-Robin

QuoteReplyEditDelete

 

 

2008-04-20 20:55:28     Re: make the kernel image error ()

Young Kyle (CHINA)

Message: 54570   

 

the versio of the  toolchain I installed is "08r1-8.i386" . And in this toolchin ,the uclibc version is "8.4.a".

 

thanks for Robin's reply

QuoteReplyEditDelete

 

 

2008-04-20 23:15:24     Re: make the kernel image error ()

Robin Getz (UNITED STATES)

Message: 54579    Young:

 

You never answered the question - what version of uClibc (not toolchain) did you install?

 

-Robin

 

The correct response is "I never installed a version of uClibc - I will go do that, and fix my own problem".

QuoteReplyEditDelete

 

 

2008-04-20 23:39:37     Re: make the kernel image error ()

Young Kyle (CHINA)

Message: 54583    I'm really sorry ,Robin ,I readlly don't want to irritate you .At first ,I thought uclibc must be installed with toolchain .Now ,I will try to install uclibc-0.9.29 .if there is any question, I will consult you . thak you for your help again.

Attachments

    Outcomes