|
From: | Titouan Christophe |
Subject: | Re: Invalid position given by Telit HE910-EUG |
Date: | Sun, 5 Apr 2020 17:10:17 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
Hello Greg and all, On 5/04/20 16:57, Greg Troxel wrote:
Checking size of time_t... sh: .sconf_temp/conftest_27: cannot execute binary file: Exec format errorWHen you saw this, and you then looked at .sconf_temp/conftest_27, what kind of file was it? What did file(1) say?
/home/titou/br-test-pkg/br-arm-full/build/gpsd-3.20/.sconf_temp/conftest_27: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, not stripped
Are you cross compiling?
Yes, I am cross-compiling (building for ARM on an x86_64 host) with Buildroot, so this is normal, because the current SConstruct file attempts to build and run a simple program to determine sizeof(time_t). See https://gitlab.com/gpsd/gpsd/-/blob/release-3.20/SConstruct#L623-631
Regards, Titouan
[Prev in Thread] | Current Thread | [Next in Thread] |