Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] Building linux kernel with 2008q1 Sourcery G++ Lite


  • To: <arm-gnu@xxxxxxxxxxxxxxxx>
  • Subject: [arm-gnu] Building linux kernel with 2008q1 Sourcery G++ Lite
  • From: "Henry Ho" <yjho@xxxxxxxxxxxxxxx>
  • Date: Tue, 20 May 2008 11:15:40 +0800

Hi,

I'm building linux kernerl 2.6.24 for ARM926EJ-S target. However, I 
always got error messages like "No such file or directory". My 
environment are:

Host: CYGWIN_NT-5.1  1.5.25(0.156/4/2) 2008-03-05 19:27 i686 Cygwin
Target: ARM PB926EJ-S Platform Baseboard
Toolchain: gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126)

The make error message (make V=1) are:

set -e; echo '  CHK     include/linux/version.h'; mkdir -p include/linux/;  (echo \#define LINUX_VERSION_CODE 132632; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) < /tmp/build/linux-2.6.24-arm1-hantro1/Makefile > include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp -s include/linux/version.h include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp; else echo '  UPD     include/linux/version.h'; mv -f include/linux/version.h.tmp include/linux/version.h; fi
  CHK     include/linux/version.h
make -f scripts/Makefile.build obj=arch/arm/tools include/asm-arm/mach-types.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
rm -f include/config/kernel.release
echo 2.6.24-arm1 > include/config/kernel.release
set -e; echo '  CHK     include/linux/utsrelease.h'; mkdir -p include/linux/;  if [ `echo -n "2.6.24-arm1" | wc -c ` -gt 64 ]; then echo '"2.6.24-arm1" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"2.6.24-arm1\";) < include/config/kernel.release > include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ] && cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp; then rm -f include/linux/utsrelease.h.tmp; else echo '  UPD     include/linux/utsrelease.h'; mv -f include/linux/utsrelease.h.tmp include/linux/utsrelease.h; fi
  CHK     include/linux/utsrelease.h
set -e; asmlink=`readlink include/asm | cut -d '-' -f 2`;   \
 if [ -L include/asm ]; then                                     \
  if [ "$asmlink" != "arm" ]; then                \
   echo "ERROR: the symlink include/asm points to asm-$asmlink but asm-arm was expected"; \
   echo "       set ARCH or save .config and run 'make mrproper' to fix it";             \
   exit 1;                                         \
  fi;                                                     \
 else                                                            \
  echo '  SYMLINK include/asm -> include/asm-arm';          \
  if [ ! -d include ]; then                               \
   mkdir -p include;                               \
  fi;                                                     \
  ln -fsn asm-arm include/asm;                              \
 fi
mkdir -p .tmp_versions ; rm -f .tmp_versions/*
make -f scripts/Makefile.build obj=scripts/basic
  gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer     -o scripts/basic/fixdep scripts/basic/fixdep.c  
  gcc -Wp,-MD,scripts/basic/.docproc.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer     -o scripts/basic/docproc scripts/basic/docproc.c  
make -f scripts/Makefile.build obj=.
mkdir -p arch/arm/kernel/
  arm-none-linux-gnueabi-gcc -Wp,-MD,arch/arm/kernel/.asm-offsets.s.d  -nostdinc -isystem e:/codesourcery/sourcery_g++_lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.3/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork  -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=arm9tdmi  -msoft-float -Uarm -fno-omit-frame-pointer -fno-optimize-sibling-calls -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign     -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"  -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/arm/kernel/asm-offsets.s arch/arm/kernel/asm-offsets.c
fixdep: 
: No such file or directory
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 2
make: *** [prepare0] Error 2

Your kindly help will be very appreciated.

Henry
=====================================================================================================================================
The privileged confidential information  contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of RichWave is strictly prohibited; and any information in this email irrelevant to the official business of RichWave shall be deemed as neither given nor endorsed by RichWave.