Author Topic: Kernel Compile Can't Find Arm-linux-gcc-2.95  (Read 3263 times)

ironstorm

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • http://
Kernel Compile Can't Find Arm-linux-gcc-2.95
« on: June 03, 2005, 05:42:43 pm »
Not sure why the kernel compile can't find arm-linux-gcc-2.95... it's there...
Have I misconfigured my local.conf?
Could it be that the build directory is too large a pathname or something?

Help

-Ironstorm

Code: [Select]
bitbake@debian-bitbake:~/bb/build$ bitbake openzaurus-sa
NOTE: Using cache in '/home/bitbake/bb/build/tmp/cache'
NOTE: Parsing finished. 2338 cached, 0 parsed, 48 skipped, 0 masked.
NOTE: build 200506030547: started

OE Build Configuration:
TARGET_ARCH   = "arm"
TARGET_OS     = "linux"
MACHINE       = "collie"
DISTRO        = "openzaurus"
TARGET_FPU    = "soft"

NOTE: package openzaurus-sa-2.4.18-rmk7-pxa3-embedix: started
NOTE: package openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19: task do_fetch: started
NOTE: package openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19: task do_fetch: completed
NOTE: package openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/bitbake/bb/build/tmp/work/openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19/temp/log.do_compile.4348)
| NOTE: make EMBEDIXRELEASE=- include/linux/version.h CC=ccache arm-linux-gcc-2.95 LD=arm-linux-ld-2.11.2
| make: `include/linux/version.h' is up to date.
| NOTE: make EMBEDIXRELEASE=- dep CC=ccache arm-linux-gcc-2.95 LD=arm-linux-ld-2.11.2
| rm -f include/asm-arm/arch include/asm-arm/proc
| (cd include/asm-arm; ln -sf arch-sa1100 arch; ln -sf proc-armv proc)
| make[1]: Entering directory `/home/bitbake/bb/build/tmp/work/openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19/linux/arch/arm/tools'
| /home/bitbake/bb/build/tmp/work/openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19/linux/scripts/mkdep -D__KERNEL__ -I/home/bitbake/bb/build/tmp/work/openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -mapcs -fno-strict-aliasing -fno-common -fno-common -pipe -mapcs-32 -march=armv4 -mtune=strongarm1100 -mshort-load-bytes -msoft-float  -- getconstants.c |\
|  sed s,getconstants.o,constants.h, > .depend
| make all
| make[2]: Entering directory `/home/bitbake/bb/build/tmp/work/openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19/linux/arch/arm/tools'
| ccache arm-linux-gcc-2.95 -D__KERNEL__ -I/home/bitbake/bb/build/tmp/work/openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -mapcs -fno-strict-aliasing -fno-common -fno-common -pipe -mapcs-32 -march=armv4 -mtune=strongarm1100 -mshort-load-bytes -msoft-float -S -o constants.h.tmp.1 getconstants.c
| arm-linux-gcc-2.95: No such file or directory
| make[2]: *** [constants.h] Error 1
| make[2]: Leaving directory `/home/bitbake/bb/build/tmp/work/openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19/linux/arch/arm/tools'
| make[1]: *** [dep] Error 2
| make[1]: Leaving directory `/home/bitbake/bb/build/tmp/work/openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19/linux/arch/arm/tools'
| make: *** [archdep] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
NOTE: package openzaurus-sa-2.4.18-rmk7-pxa3-embedix-r19: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package openzaurus-sa-2.4.18-rmk7-pxa3-embedix: failed
ERROR: Build of openzaurus-sa failed

Code: [Select]
bitbake@debian-bitbake:~/bb/build$ which arm-linux-gcc-2.95
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95
bitbake@debian-bitbake:~/bb/build$ export
declare -x BBPATH="/home/bitbake/bb/build:/home/bitbake/bb/openembedded:/usr/local/arm/2.95.3/bin"
declare -x HOME="/home/bitbake"
declare -x LANG="en_CA"
declare -x LANGUAGE="en_CA:en_US:en_GB:en"
declare -x LOGNAME="bitbake"
declare -x LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:"
declare -x MAIL="/var/mail/bitbake"
declare -x OLDPWD="/home/bitbake/bb"
declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:~/bk_client-1.1:/usr/local/arm/2.95.3/bin"
declare -x PWD="/home/bitbake/bb/build"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_CLIENT="192.168.0.101 1038 22"
declare -x SSH_CONNECTION="192.168.0.101 1038 10.0.2.15 22"
declare -x SSH_TTY="/dev/pts/0"
declare -x TERM="xterm"
declare -x USER="bitbake"
bitbake@debian-bitbake:~/bb/build$

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Kernel Compile Can't Find Arm-linux-gcc-2.95
« Reply #1 on: June 03, 2005, 05:58:07 pm »
You renamed gcc2.95(?)  as per the wiki? It is in the right subdir, and you specified the PATH variable to point to the xcompiler? Maybe re enter path so the compiler is 1st on the list (reaching, i know).

It's almost certainly something reasonably obvious and pretty trivial.... It is when this happens to me
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

obergix

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.olivierberger.com/weblog/
Kernel Compile Can't Find Arm-linux-gcc-2.95
« Reply #2 on: November 11, 2005, 04:30:50 am »
Quote
You renamed gcc2.95(?)  as per the wiki? It is in the right subdir, and you specified the PATH variable to point to the xcompiler? Maybe re enter path so the compiler is 1st on the list (reaching, i know).

It's almost certainly something reasonably obvious and pretty trivial.... It is when this happens to me
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Note : for those curious, the instructions seem to refer to :
[a href=\"http://oe.handhelds.org/cgi-bin/moin.cgi/ZaurusKernels]http://oe.handhelds.org/cgi-bin/moin.cgi/ZaurusKernels[/url]
Zaurus SL-C1000 - OpenZaurus 3.5.4.1-alpha1 w/ GPE image (some packages "custom made", compiled at home from bitbake+openembedded)