Basic build problem.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Andrew Back arback at gmail.com
Wed Apr 4 14:07:03 UTC 2012


On 4 April 2012 13:32, Sylvain Munaut <246tnt at gmail.com> wrote:
>> It now gets further. Additional errors below.
>
> It's now official: your toolchain sucks for this purpose.
>
> Build one as described here :
> http://bb.osmocom.org/trac/wiki/GnuArmToolchain

Thanks for the link. I've done that and was still getting what
appeared to be the same error, and then discovered that this could be
fixed by building from a different directory. Looks like something
doesn't like builds being run from a dir where path has spaces in its
name... See "No such file or directory" error where the path has been
truncated.

Regards,

Andrew

--

arm-elf-gcc (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3229: $? = 0
configure:3218: arm-elf-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-elf-gcc
COLLECT_LTO_WRAPPER=/home/andrew/SW/gnu-arm/install/libexec/gcc/arm-elf/4.5.2/lto-wrapper
Target: arm-elf
Configured with: /home/andrew/SW/gnu-arm/src/gcc-4.5.2/configure
--target=arm-elf --prefix=/home/andrew/SW/gnu-arm/install
--enable-interwork --enable-multilib --with-float=soft
--disable-werror --enable-languages=c,c++ --with-newlib
--with-headers=/home/andrew/SW/gnu-arm/src/newlib-1.19.0/newlib/libc/include
--with-system-zlib --disable-shared
Thread model: single
gcc version 4.5.2 (GCC)
configure:3229: $? = 0
configure:3218: arm-elf-gcc -V >&5
arm-elf-gcc: '-V' option must have argument
configure:3229: $? = 1
configure:3218: arm-elf-gcc -qversion >&5
arm-elf-gcc: unrecognized option '-qversion'
arm-elf-gcc: no input files
configure:3229: $? = 1
configure:3249: checking whether the C compiler works
configure:3271: arm-elf-gcc -Os -ffunction-sections
-I/home/andrew/Work/AB
Open/Projects/GSM/Osmocom/osmocom-bb/src/target/firmware/include
-nostartfiles -nodefaultlibs   conftest.c  >&5
arm-elf-gcc: Open/Projects/GSM/Osmocom/osmocom-bb/src/target/firmware/include:
No such file or directory
configure:3275: $? = 1
configure:3313: result: no
| /* confdefs.h */
| #define PACKAGE_NAME "libosmocore"
| #define PACKAGE_TARNAME "libosmocore"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "libosmocore UNKNOWN"
| #define PACKAGE_BUGREPORT "openbsc at lists.osmocom.org"
| #define PACKAGE_URL ""
| #define PACKAGE "libosmocore"
| #define VERSION "UNKNOWN"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3318: error: in `/home/andrew/Work/AB
Open/Projects/GSM/Osmocom/osmocom-bb/src/shared/libosmocore/build-target':
configure:3320: error: C compiler cannot create executables
See `config.log' for more details

--

-- 
Andrew Back
http://carrierdetect.com




More information about the baseband-devel mailing list