<div dir="ltr">Hi All,<div><br></div><div>I now have a V171 phone and cable so I thought I might get started with this.</div><div><br></div><div>I checked out the code and started make. Osmocon built with no problem, but I got this error next:</div>
<div><br></div><div><div>cd shared/libosmocore/build-target && ../configure \</div><div>                        --host=arm-elf-linux --disable-vty --enable-panic-infloop \</div><div>                        --disable-shared --disable-talloc --disable-tests \</div>
<div>                CC="arm-elf-gcc" CFLAGS="-Os -ffunction-sections -I../../../../target/firmware/include"</div><div>configure: WARNING: if you wanted to set the --build type, don't use --host.</div>
<div>    If a cross compiler is detected then cross compile mode will be used</div><div>checking for a BSD-compatible install... /bin/install -c</div><div>checking whether build environment is sane... yes</div><div>checking for arm-elf-linux-strip... no</div>
<div>checking for strip... strip</div><div>checking for a thread-safe mkdir -p... /bin/mkdir -p</div><div>checking for gawk... gawk</div><div>checking whether make sets $(MAKE)... yes</div><div>checking whether make sets $(MAKE)... (cached) yes</div>
<div>checking for arm-elf-linux-gcc... arm-elf-gcc</div><div>checking whether the C compiler works... no</div><div>configure: error: in `/mnt/site/osmocom-bb/src/shared/libosmocore/build-target':</div><div>configure: error: C compiler cannot create executables</div>
<div>See `config.log' for more details</div><div>make: *** [shared/libosmocore/build-target/Makefile] Error 77</div></div><div><br></div><div>Checking config.log I can see it chokes here:</div><div><br></div><div><div>
/usr/bin/arm-elf-ld: this linker was not configured to use sysroots</div><div>collect2: ld returned 1 exit status</div></div><div><br></div><div>I am running Arch Linux and have the packages cross-arm-elf-binutils and cross-arm-elf-gcc-base installed. Does anyone have any suggestions to fix this?</div>
<div><br></div><div>Thanks!</div></div>