Hello,<br><br>I have built 'osmocon' and 'layer23' by using 'make osmocon' and 'make layer23' respectively in the terminal window. I get the same errors that I have written in my previous mail when i enter 'make firmware'. That means that my toolchain is running fine, it has something to do with the firmware. Please help me on this.<br>
<br>Awaiting your response,<br>Zaki.<br><br><div class="gmail_quote">On Mon, Jun 7, 2010 at 1:21 AM, Zaki Ud Din <span dir="ltr"><<a href="mailto:fyproject14@gmail.com">fyproject14@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I have been trying to build osmocom but have been getting errors in doing so. <br><br>Firstly, I downloaded the following file,"<u style="color: rgb(102, 102, 204);"> binutils-2.16.1,
              gcc-4.0.2-c-c++, newlib-1.14.0, insight-6.4, TAR BZ2 [65.5MB]</u>" under GCC-4.0 toolchain from <a href="http://www.gnuarm.com" target="_blank">www.gnuarm.com</a> and extracted this to my home folder.<br>
<br>Secondly, I gave the following path "export PATH=/gnuarm-4.0.2/arm-elf/<div>
bin:$PATH" in terminal window. Afterwards when I entered "make" under "/osmosom-bb/src", I got the following errors<div><div><div>
<br>zaki@zaki-desktop:~/osmocom-bb/src$ make<br></div>cd shared/libosmocore/build-host && make<br>make[1]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host'<br>make  all-recursive<br>


make[2]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host'<br>
Making all in include<br>make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include'<br>Making all in osmocore<br>make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore'<br>



Making all in protocol<br>make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore/protocol'<br>make[5]: Nothing to be done for `all'.<br>make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore/protocol'<br>



make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore'<br>make[5]: Nothing to be done for `all-am'.<br>make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore'<br>



make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore'<br>make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include'<br>make[4]: Nothing to be done for `all-am'.<br>



make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include'<br>make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include'<br>Making all in src<br>



make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src'<br>make[3]: Nothing to be done for `all'.<br>make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src'<br>



Making all in tests<br>make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests'<br>Making all in timer<br>make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer'<br>



make[4]: Nothing to be done for `all'.<br>make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer'<br>Making all in sms<br>make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms'<br>



make[4]: Nothing to be done for `all'.<br>make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms'<br>make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests'<br>



make[4]: Nothing to be done for `all-am'.<br>make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests'<br>make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests'<br>



make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host'<br>make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host'<br>make[2]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host'<br>



make[1]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host'<br>cd shared/libosmocore/build-target && ../configure \<br>            --host=arm-elf-linux --disable-shared --disable-talloc --disable-tests \<br>



        CC="arm-elf-gcc" CFLAGS="-Os -ffunction-sections -I../../../../target/firmware/include"<br>configure: WARNING: If you wanted to set the --build type, don't use --host.<br>    If a cross compiler is detected then cross compile mode will be used.<div>


<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /bin/mkdir -p<br></div>checking for gawk... no<br>checking for mawk... mawk<br>



checking whether make sets $(MAKE)... yes<br>checking for arm-elf-linux-strip... no<br>checking for strip... strip<br>checking whether make sets $(MAKE)... (cached) yes<div><br>checking for arm-elf-linux-gcc... arm-elf-gcc<br>



checking for C compiler default output file name... <br><span style="background-color: rgb(255, 255, 51);">configure: error: in `/home/zaki/osmocom-bb/src/shared/libosmocore/build-target':</span><br style="background-color: rgb(255, 255, 51);">



<span style="background-color: rgb(255, 255, 51);">configure: error: C compiler cannot create executables</span><br style="background-color: rgb(255, 255, 51);"><span style="background-color: rgb(255, 255, 51);">See `config.log' for more details.</span><br style="background-color: rgb(255, 255, 51);">



<span style="background-color: rgb(255, 255, 51);">make: *** [shared/libosmocore/build-target/Makefile] Error 77</span><br><br></div>I shall be grateful to you if you could help me on this.<br><br>Awaiting your Response,<br>
<font color="#888888">
<font color="#888888"><br>Zaki.</font></font></div></div></div>
</blockquote></div><br>