<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You say that you unpacked the gcc compiler to your home
directory and then set you path to </span><span lang=EN-US>PATH=/gnuarm-4.0.2/arm-elf/bin:$PATH</span><span
lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> ..<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Unless your home directory is set to / the path to the gcc
compiler is wrong.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>bjoern<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
baseband-devel-bounces@lists.osmocom.org
[mailto:baseband-devel-bounces@lists.osmocom.org] <b>Im Auftrag von </b>Zaki Ud
Din<br>
<b>Gesendet:</b> Sonntag, 6. Juni 2010 22:21<br>
<b>An:</b> baseband-devel@lists.osmocom.org<br>
<b>Betreff:</b> Trouble building Osmocom<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>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><span style='color:#6666CC'>
binutils-2.16.1, gcc-4.0.2-c-c++, newlib-1.14.0, insight-6.4, TAR BZ2 [65.5MB]</span></u>"
under GCC-4.0 toolchain from <a href="http://www.gnuarm.com">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/<o:p></o:p></p>

<div>

<p class=MsoNormal>bin:$PATH" in terminal window. Afterwards when I
entered "make" under "/osmosom-bb/src", I got the following
errors<o:p></o:p></p>

<div>

<div>

<div>

<p class=MsoNormal><br>
zaki@zaki-desktop:~/osmocom-bb/src$ make<o:p></o:p></p>

</div>

<p class=MsoNormal>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.<o:p></o:p></p>

<div>

<p class=MsoNormal><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<o:p></o:p></p>

</div>

<p class=MsoNormal>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<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
checking for arm-elf-linux-gcc... arm-elf-gcc<br>
checking for C compiler default output file name... <br>
<span style='background:#FFFF33'>configure: error: in `/home/zaki/osmocom-bb/src/shared/libosmocore/build-target':</span><br>
<span style='background:#FFFF33'>configure: error: C compiler cannot create
executables</span><br>
<span style='background:#FFFF33'>See `config.log' for more details.</span><br>
<span style='background:#FFFF33'>make: ***
[shared/libosmocore/build-target/Makefile] Error 77</span><o:p></o:p></p>

</div>

<p class=MsoNormal>I shall be grateful to you if you could help me on this.<br>
<br>
Awaiting your Response,<br>
<span style='color:#888888'><br>
Zaki.</span><o:p></o:p></p>

</div>

</div>

</div>

</div>

</body>

</html>