[okl4-developer] Error Compiling SDK ARM926

19 views
Skip to first unread message

Federico

unread,
Aug 3, 2011, 12:13:54 PM8/3/11
to deve...@okl4.org
Hello guys, i'm sorry but i have new problems ... after the extraction from the tarball of the sdk-arm926ejs and exported the variable OKL4_SDK_ROOT, the error that i obtained executing make KERNEL=nano BUILD=benchmark is the following:
federico@federico-debian:/sdb/OKL4/sdk/okl4/arm926ejs/examples/singlecell$ make KERNEL=nano BUILD=benchmark
make -C hello KERNEL=nano BUILD=benchmark
make[1]: Entering directory `/sdb/OKL4/sdk/okl4/arm926ejs/examples/singlecell/hello'
cp hello.xml.in build.nano-benchmark/bin/hello.xml
sed -i -e 's%spaces="[0-9]*"%spaces="1"%' build.nano-benchmark/bin/hello.xml
arm-unknown-linux-gnueabi-gcc -O2 --std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wmissing-declarations -Wredundant-decls -Wundef -Wpointer-arith -Wno-nonnull -Werror -march=armv5te -O2 -nostdlib -nostdinc -g  -Iinclude -I/sdb/OKL4/sdk/okl4/arm926ejs/nano-benchmark/include  -DNANOKERNEL -c src/hello.c -o build.nano-benchmark/src/hello.o
make[1]: arm-unknown-linux-gnueabi-gcc: Command not found
make[1]: *** [build.nano-benchmark/src/hello.o] Error 127
make[1]: Leaving directory `/sdb/OKL4/sdk/okl4/arm926ejs/examples/singlecell/hello'
make: *** [hello/build.nano-benchmark/bin/hello.xml] Error 2
I hope someone have som ideas

View this message in context: Error Compiling SDK ARM926
Sent from the OKL4 Community Forum mailing list archive at Nabble.com.

Rekha SR

unread,
Dec 27, 2012, 2:13:28 AM12/27/12
to okl4-co...@googlegroups.com, deve...@okl4.org, federico...@gmail.com

Hello,
I am getting the same error.

May i know how do you fixed this problem?

Plz help me.

Thank you all

Tim Newsham

unread,
Dec 27, 2012, 12:22:43 PM12/27/12
to Rekha SR, deve...@okl4.org, federico...@gmail.com, okl4-co...@googlegroups.com
you need to get the toolchain that includes the ARM cross compiler and
make sure the programs are in your path.

_______________________________________________
Developer mailing list
Deve...@okl4.org
https://lists.okl4.org/mailman/listinfo/developer




--
Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com

Rekha SR

unread,
Dec 27, 2012, 9:50:04 PM12/27/12
to Tim Newsham, deve...@okl4.org, federico...@gmail.com, okl4-co...@googlegroups.com
Dear all friends,
Thank you very much for your kind reply.

As per you all told, i have installed arm-linux and i set its PATH.

PATH=$PATH:/home/rekha/software/opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/arm-linux/bin/

I am trying to run OKL4 by using QEMU.

Actually i am following this wiki
http://wiki.ok-labs.com/Microkernel#Qemu.28forKZMandVersatile.29


If i try to run the OKL4 by typing the following command, i got the same error.

make KERNEL=nano BUILD=benchmark


root@rekha-BM6660-BM6360:/home/rekha/software/sdk/okl4/xscale/examples/singlecell# make KERNEL=nano BUILD=benchmark

make -C hello KERNEL=nano BUILD=benchmark
make[1]: Entering directory `/home/rekha/software/sdk/okl4/xscale/examples/singlecell/hello'

cp hello.xml.in build.nano-benchmark/bin/hello.xml
sed -i -e 's%spaces="[0-9]*"%spaces="1"%' build.nano-benchmark/bin/hello.xml
arm-unknown-linux-gnueabi-gcc -O2 --std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wmissing-declarations -Wredundant-decls -Wundef -Wpointer-arith -Wno-nonnull -Werror -march=armv5te -mtune=xscale -O2 -nostdlib -nostdinc -g  -Iinclude -I/home/rekha/software/sdk/okl4/xscale/nano-benchmark/include  -DNANOKERNEL -c src/hello.c -o build.nano-benchmark/src/hello.o
make[1]: arm-unknown-linux-gnueabi-gcc: Command not found
make[1]: *** [build.nano-benchmark/src/hello.o] Error 127
make[1]: Leaving directory `/home/rekha/software/sdk/okl4/xscale/examples/singlecell/hello'

make: *** [hello/build.nano-benchmark/bin/hello.xml] Error 2

root@rekha-BM6660-BM6360:/home/rekha/software/sdk/okl4/xscale/examples/singlecell#


Will you please help me to fix this problem.

Thank you in advance
S.R.Rekha
--

Thanks & Regards,
Rekha

Tim Newsham

unread,
Dec 27, 2012, 10:46:27 PM12/27/12
to Rekha SR, deve...@okl4.org, federico...@gmail.com, okl4-co...@googlegroups.com
The error below indicates you still do not have a program named
"arm-unknown-linux-gnueabi-gcc" in your path.  If your cross compiler
has a different name, there is a setting you can make to choose
the appropriate prefix (see the builds scripts for details).


On Thu, Dec 27, 2012 at 4:50 PM, Rekha SR <rek...@gmail.com> wrote:
make[1]: arm-unknown-linux-gnueabi-gcc: Command not found

Rekha SR

unread,
Dec 28, 2012, 3:19:15 AM12/28/12
to Tim Newsham, deve...@okl4.org, federico...@gmail.com, okl4-co...@googlegroups.com
Dear All,
I checked my computer and i have cross compiler and set its PATH also.
Please find the attached screenshot.

In that, i have echo my PATH and conform about the arm-unknown-linux-gnueabi-gcc.

If i type make command, im getting the same error.

Do any one know where am i doing mistake? 

I am trying to run OKL4 by using QEMU simulator.

Thank you
Rekha
Error.jpg
Reply all
Reply to author
Forward
0 new messages