2009-06-11 04:52:42 Errors in compiling uCLinux
chandu v (MALAYSIA)
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: 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
SYMLINK include/asm -> include/asm-blackfin
bfin-uclinux-gcc: command not found; perhaps you need to fix your PATH?
make: *** [scripts/mod/empty.o] Error 127
make: *** [scripts/mod] Error 2
make: *** Waiting for unfinished jobs....
make: *** [scripts] Error 2
make: Leaving directory `/home/chandu/astfin/dl/uClinux-dist-2008R1.5-RC3/linux-2.6.x'
make: *** [linux] Error 1
2009-06-11 04:57:56 Re: Errors in compiling uCLinux
Mike Frysinger (UNITED STATES)
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.
2009-06-11 09:58:49 Re: Errors in compiling uCLinux
billy walton (UNITED KINGDOM)
Using the same console you are trying to compile uClinuw with, type:
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
2009-06-12 03:01:52 Re: Errors in compiling uCLinux
chandu v (MALAYSIA)
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
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.