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 12:12:31 UTC 2012


Hi Sylvain,

On 4 April 2012 12:53, Sylvain Munaut <246tnt at gmail.com> wrote:
>> I'm experiencing problems getting started with building BB and
>> wondered if someone might be able to advise. Seems that whenever I
>> specify a toolchain prefix it is ignored. E.g.
>>
>> $make -e CROSS_TOOL_PREFIX=arm-none-linux-gnueabi-
>
> Try with
>
> make CROSS_HOST=arm-none-linux-gnueabi

It now gets further. Additional errors below.

Regards,

Andrew

--

Thread model: posix
gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70)
configure:3229: $? = 0
configure:3218: arm-none-linux-gnueabi-gcc -V >&5
arm-none-linux-gnueabi-gcc: error: unrecognized option '-V'
arm-none-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:3229: $? = 1
configure:3218: arm-none-linux-gnueabi-gcc -qversion >&5
arm-none-linux-gnueabi-gcc: error: unrecognized option '-qversion'
arm-none-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:3229: $? = 1
configure:3249: checking whether the C compiler works
configure:3271: arm-none-linux-gnueabi-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-none-linux-gnueabi-gcc: error:
Open/Projects/GSM/Osmocom/osmocom-bb/src/target/firmware/include: No
such file or directory
configure:3275: $? = 1
configure:3313: result: no
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 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

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Os -ffunction-sections -I/home/andrew/Work/AB
Open/Projects/GSM/Osmocom/osmocom-bb/src/target/firmware/include
-nostartfiles -nodefaultlibs'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-none-linux-gnueabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_sys_select_h=no
ac_cv_header_sys_socket_h=no
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CC=arm-none-linux-gnueabi-gcc
ac_cv_prog_STRIP=arm-none-linux-gnueabi-strip
ac_cv_prog_make_make_set=yes

-- 
Andrew Back
http://carrierdetect.com




More information about the baseband-devel mailing list