2009-06-11 04:52:42 Errors in compiling uCLinux
chandu v (MALAYSIA)
Message: 75523
Hi,
i installed blackfin tool chain to compile uClinux -dist, i set the PATH , am getting the following erros when i compile uClinux.
when i check the path by giving command "echo $PATH , it's giving me the added path .
can any one help in solving this
make[1]: Entering directory `/home/chandu/astfin/dl/uClinux-dist-2008R1.5-RC3/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
HOSTCC scripts/kallsyms
HOSTCC scripts/bin2c
CC scripts/mod/empty.o
bfin-uclinux-gcc: command not found; perhaps you need to fix your PATH?
make[3]: *** [scripts/mod/empty.o] Error 127
make[2]: *** [scripts/mod] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts] Error 2
make[1]: Leaving directory `/home/chandu/astfin/dl/uClinux-dist-2008R1.5-RC3/linux-2.6.x'
make: *** [linux] Error 1
Regards
chandu
QuoteReplyEditDelete
2009-06-11 04:57:56 Re: Errors in compiling uCLinux
Mike Frysinger (UNITED STATES)
Message: 75524
the output doesnt lie -- the compiler couldnt be found in your PATH. double check your settings and make sure you can run `bfin-uclinux-gcc` manually.
QuoteReplyEditDelete
2009-06-11 09:58:49 Re: Errors in compiling uCLinux
billy walton (UNITED KINGDOM)
Message: 75539
Using the same console you are trying to compile uClinuw with, type:
bfin-uclinux-gcc --version
and see what happens, you should be returned with the version of GCC you compiled/installed with your toolchain
if not, then you still have a path problem, so identify exactly where the bfin-uclinux-gcc binary is currently located, and add this location to the path variable using the 'export' command on the *same* console you are using to compile with.
If you open a new console and change the PATH variable, you need to make sure it has a global effect, as usually it will only change the variable in *that* console instance, not all of them.
Hope it helps
billy
QuoteReplyEditDelete
2009-06-12 03:01:52 Re: Errors in compiling uCLinux
chandu v (MALAYSIA)
Message: 75573
Hi Billy walton,
thanks for the reply,
i have tried by giveing the comand " bfin-uclinux-gcc " i get the result
bfin-uclinux-gcc (GCC) 4.1.2 (ADI svn).
still i have prblm in PATH.
when i give command " which -a bfin-uclinux-gcc " am getting the result
/home /chandu/astfin/dl/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc.
first of all i downloaded "blackfin-toolchain-08r1-8.i386.tar.gz" and " blackfin-toolchain-uclibc-default-08r1-8.i386.tar.gz" for my linux(ubuntu 8.04 architecture is i686) and extracted the to ~./opt/uclinux
then i set the PATH in ~/.bashrc file.
the way i follwoed to install toolchain is correct???
pls let me know where i did mistaske.
tahnks
chandu