Hello,
I have been trying to build osmocom but have been getting errors in doing so.
Firstly, I downloaded the following file,"* binutils-2.16.1, gcc-4.0.2-c-c++, newlib-1.14.0, insight-6.4, TAR BZ2 [65.5MB]*" under GCC-4.0 toolchain from www.gnuarm.com and extracted this to my home folder.
Secondly, I gave the following path "export PATH=/gnuarm-4.0.2/arm-elf/ bin:$PATH" in terminal window. Afterwards when I entered "make" under "/osmosom-bb/src", I got the following errors
zaki@zaki-desktop:~/osmocom-bb/src$ make cd shared/libosmocore/build-host && make make[1]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make all-recursive make[2]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' Making all in include make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' Making all in osmocore make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' Making all in protocol make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore/protocol' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore/protocol' make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' Making all in src make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src' Making all in tests make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' Making all in timer make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer' Making all in sms make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms' make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[2]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[1]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' cd shared/libosmocore/build-target && ../configure \ --host=arm-elf-linux --disable-shared --disable-talloc --disable-tests \ CC="arm-elf-gcc" CFLAGS="-Os -ffunction-sections -I../../../../target/firmware/include" configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for arm-elf-linux-strip... no checking for strip... strip checking whether make sets $(MAKE)... (cached) yes
checking for arm-elf-linux-gcc... arm-elf-gcc checking for C compiler default output file name... configure: error: in `/home/zaki/osmocom-bb/src/shared/libosmocore/build-target': configure: error: C compiler cannot create executables See `config.log' for more details. make: *** [shared/libosmocore/build-target/Makefile] Error 77
I shall be grateful to you if you could help me on this.
Awaiting your Response,
Zaki.
Hello,
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.
Awaiting your response, Zaki.
On Mon, Jun 7, 2010 at 1:21 AM, Zaki Ud Din fyproject14@gmail.com wrote:
Hello,
I have been trying to build osmocom but have been getting errors in doing so.
Firstly, I downloaded the following file,"* binutils-2.16.1, gcc-4.0.2-c-c++, newlib-1.14.0, insight-6.4, TAR BZ2 [65.5MB]*" under GCC-4.0 toolchain from www.gnuarm.com and extracted this to my home folder.
Secondly, I gave the following path "export PATH=/gnuarm-4.0.2/arm-elf/ bin:$PATH" in terminal window. Afterwards when I entered "make" under "/osmosom-bb/src", I got the following errors
zaki@zaki-desktop:~/osmocom-bb/src$ make cd shared/libosmocore/build-host && make make[1]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make all-recursive make[2]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' Making all in include make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' Making all in osmocore make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' Making all in protocol make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore/protocol' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore/protocol' make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' Making all in src make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src' Making all in tests make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' Making all in timer make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer' Making all in sms make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms' make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[2]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[1]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' cd shared/libosmocore/build-target && ../configure \ --host=arm-elf-linux --disable-shared --disable-talloc --disable-tests \ CC="arm-elf-gcc" CFLAGS="-Os -ffunction-sections -I../../../../target/firmware/include" configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for arm-elf-linux-strip... no checking for strip... strip checking whether make sets $(MAKE)... (cached) yes
checking for arm-elf-linux-gcc... arm-elf-gcc checking for C compiler default output file name... configure: error: in `/home/zaki/osmocom-bb/src/shared/libosmocore/build-target': configure: error: C compiler cannot create executables See `config.log' for more details. make: *** [shared/libosmocore/build-target/Makefile] Error 77
I shall be grateful to you if you could help me on this.
Awaiting your Response,
Zaki.
On 06/07/2010 11:04 PM, Zaki Ud Din wrote:
`/home/zaki/osmocom-bb/src/shared/libosmocore/build-target': configure: error: C compiler cannot create executables See `config.log' for more details.
Hi Zaki,
you can look at the config.log file (created by autoconf), it should have a line with "C compiler cannot"... and it should show the C program that it tried to compile and the failure message of the compiler... What does it say?
Holger Freyther wrote:
On 06/07/2010 11:04 PM, Zaki Ud Din wrote:
`/home/zaki/osmocom-bb/src/shared/libosmocore/build-target': configure: error: C compiler cannot create executables See `config.log' for more details.
you can look at the config.log file (created by autoconf), it should have a line with "C compiler cannot"... and it should show the C program that it tried to compile and the failure message of the compiler... What does it say?
Isn't this probably the same as [1] and following?
Regards,
Wolfram
[1] http://lists.osmocom.org/pipermail/baseband-devel/2010-March/000139.html
Hello,
Thank you very much for your reply. No my config.log file seems to be different. I am pasting a portion of config.log file below and am also attaching the complete file with this email.
configure:2074: checking for a BSD-compatible install configure:2142: result: /usr/bin/install -c configure:2153: checking whether build environment is sane configure:2196: result: yes configure:2221: checking for a thread-safe mkdir -p configure:2260: result: /bin/mkdir -p configure:2273: checking for gawk configure:2303: result: no configure:2273: checking for mawk configure:2289: found /usr/bin/mawk configure:2300: result: mawk configure:2311: checking whether make sets $(MAKE) configure:2333: result: yes configure:2413: checking for arm-elf-linux-strip configure:2443: result: no configure:2453: checking for strip configure:2469: found /usr/bin/strip configure:2480: result: strip configure:2520: checking whether make sets $(MAKE) configure:2542: result: yes configure:2559: checking for arm-elf-linux-gcc configure:2586: result: arm-elf-gcc configure:2858: checking for C compiler version configure:2866: arm-elf-gcc --version >&5 ../configure: line 2868: arm-elf-gcc: command not found configure:2870: $? = 127 configure:2877: arm-elf-gcc -v >&5 ../configure: line 2879: arm-elf-gcc: command not found configure:2881: $? = 127 configure:2888: arm-elf-gcc -V >&5 ../configure: line 2890: arm-elf-gcc: command not found configure:2892: $? = 127 configure:2915: checking for C compiler default output file name configure:2937: arm-elf-gcc -Os -ffunction-sections -I../../../../target/firmware/include conftest.c >&5 ../configure: line 2939: arm-elf-gcc: command not found configure:2941: $? = 127 configure:2979: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "libosmocore" | #define PACKAGE_TARNAME "libosmocore" | #define PACKAGE_VERSION "UNKNOWN" | #define PACKAGE_STRING "libosmocore UNKNOWN" | #define PACKAGE_BUGREPORT "openbsc-devel@lists.openbsc.org" | #define PACKAGE "libosmocore" | #define VERSION "UNKNOWN" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2985: error: in `/home/zaki/osmocom-bb/src/shared/libosmocore/build-target': configure:2988: error: C compiler cannot create executables See `config.log' for more details.
Awaiting your response,
Zaki.
On Mon, Jun 7, 2010 at 1:21 AM, Zaki Ud Din fyproject14@gmail.com wrote:
Hello,
I have been trying to build osmocom but have been getting errors in doing so.
Firstly, I downloaded the following file,"* binutils-2.16.1, gcc-4.0.2-c-c++, newlib-1.14.0, insight-6.4, TAR BZ2 [65.5MB]*" under GCC-4.0 toolchain from www.gnuarm.com and extracted this to my home folder.
Secondly, I gave the following path "export PATH=/gnuarm-4.0.2/arm-elf/ bin:$PATH" in terminal window. Afterwards when I entered "make" under "/osmosom-bb/src", I got the following errors
zaki@zaki-desktop:~/osmocom-bb/src$ make cd shared/libosmocore/build-host && make make[1]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make all-recursive make[2]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' Making all in include make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' Making all in osmocore make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' Making all in protocol make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore/protocol' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore/protocol' make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocore' make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' Making all in src make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src' Making all in tests make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' Making all in timer make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer' Making all in sms make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms' make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[2]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[1]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' cd shared/libosmocore/build-target && ../configure \ --host=arm-elf-linux --disable-shared --disable-talloc --disable-tests \ CC="arm-elf-gcc" CFLAGS="-Os -ffunction-sections -I../../../../target/firmware/include" configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for arm-elf-linux-strip... no checking for strip... strip checking whether make sets $(MAKE)... (cached) yes
checking for arm-elf-linux-gcc... arm-elf-gcc checking for C compiler default output file name... configure: error: in `/home/zaki/osmocom-bb/src/shared/libosmocore/build-target': configure: error: C compiler cannot create executables See `config.log' for more details. make: *** [shared/libosmocore/build-target/Makefile] Error 77
I shall be grateful to you if you could help me on this.
Awaiting your Response,
Zaki.
Hi,
Zaki Ud Din schrieb:
Hello,
Thank you very much for your reply. No my config.log file seems to be different. I am pasting a portion of config.log file below and am also attaching the complete file with this email.
[snip]
configure:2866: arm-elf-gcc --version >&5 ../configure: line 2868: arm-elf-gcc: command not found configure:2870: $? = 127 configure:2877: arm-elf-gcc -v >&5 ../configure: line 2879: arm-elf-gcc: command not found configure:2881: $? = 127 configure:2888: arm-elf-gcc -V >&5 ../configure: line 2890: arm-elf-gcc: command not found configure:2892: $? = 127 configure:2915: checking for C compiler default output file name configure:2937: arm-elf-gcc -Os -ffunction-sections -I../../../../target/firmware/include conftest.c >&5 ../configure: line 2939: arm-elf-gcc: command not found
It does not find the toolchain/cross-compiler. Where did you install/unpack the toolchain? Please check that it is really in "/gnuarm-4.0.2/arm-elf/bin". Otherwise you have to export the proper path.
-Adrian
On 06/08/2010 06:26 PM, Zaki Ud Din wrote:
configure:2915: checking for C compiler default output file name configure:2937: arm-elf-gcc -Os -ffunction-sections -I../../../../target/firmware/include conftest.c >&5 ../configure: line 2939: arm-elf-gcc: command not found
What is the name of your cross compiler? Is it arm-elf-gcc or is it named differently? Is it in your PATH?
good luck z.
Hi
You say that you unpacked the gcc compiler to your home directory and then set you path to PATH=/gnuarm-4.0.2/arm-elf/bin:$PATH ..
Unless your home directory is set to / the path to the gcc compiler is wrong.
bjoern
Von: baseband-devel-bounces@lists.osmocom.org [mailto:baseband-devel-bounces@lists.osmocom.org] Im Auftrag von Zaki Ud Din Gesendet: Sonntag, 6. Juni 2010 22:21 An: baseband-devel@lists.osmocom.org Betreff: Trouble building Osmocom
Hello,
I have been trying to build osmocom but have been getting errors in doing so.
Firstly, I downloaded the following file," binutils-2.16.1, gcc-4.0.2-c-c++, newlib-1.14.0, insight-6.4, TAR BZ2 [65.5MB]" under GCC-4.0 toolchain from www.gnuarm.com and extracted this to my home folder.
Secondly, I gave the following path "export PATH=/gnuarm-4.0.2/arm-elf/
bin:$PATH" in terminal window. Afterwards when I entered "make" under "/osmosom-bb/src", I got the following errors
zaki@zaki-desktop:~/osmocom-bb/src$ make
cd shared/libosmocore/build-host && make make[1]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make all-recursive make[2]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' Making all in include make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' Making all in osmocore make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocor e' Making all in protocol make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocor e/protocol' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocor e/protocol' make[5]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocor e' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocor e' make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include/osmocor e' make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/include' Making all in src make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/src' Making all in tests make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' Making all in timer make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/timer' Making all in sms make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests/sms' make[4]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host/tests' make[3]: Entering directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[3]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[2]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' make[1]: Leaving directory `/home/zaki/osmocom-bb/src/shared/libosmocore/build-host' cd shared/libosmocore/build-target && ../configure \ --host=arm-elf-linux --disable-shared --disable-talloc --disable-tests \ CC="arm-elf-gcc" CFLAGS="-Os -ffunction-sections -I../../../../target/firmware/include" configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for arm-elf-linux-strip... no checking for strip... strip checking whether make sets $(MAKE)... (cached) yes
checking for arm-elf-linux-gcc... arm-elf-gcc checking for C compiler default output file name... configure: error: in `/home/zaki/osmocom-bb/src/shared/libosmocore/build-target': configure: error: C compiler cannot create executables See `config.log' for more details. make: *** [shared/libosmocore/build-target/Makefile] Error 77
I shall be grateful to you if you could help me on this.
Awaiting your Response,
Zaki.
baseband-devel@lists.osmocom.org