Skip to content

Unable to compile gpsd after Dunfell update #228

@michaelbaisch

Description

@michaelbaisch

Hi all,

with the dunfell update I'm getting a compile error with gpsd.

…
| arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0/recipe-sysroot -o monitor_ubx.o -c -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0=/usr/src/debug/gpsd/3.19-r0 -fdebug-prefix-map=/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0=/usr/src/debug/gpsd/3.19-r0 -fdebug-prefix-map=/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0/recipe-sysroot= -fdebug-prefix-map=/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0/recipe-sysroot-native= --sysroot=/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0/recipe-sysroot -pthread -Wall -Wcast-align -Wextra -Wimplicit-fallthrough -Wmissing-declarations -Wmissing-prototypes -Wno-missing-field-initializers -Wno-uninitialized -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wvla -O2 -pthread -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0/recipe-sysroot/usr/include/dbus-1.0 -I/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0/recipe-sysroot/usr/lib/dbus-1.0/include -I/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0/recipe-sysroot/usr/include/libusb-1.0 monitor_ubx.c
| x86_64-linux-gnu-gcc -pthread -o crc24q-py_3_8_2_final_0.so -c -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -I/workdir/poky/build-rpi/rpi3-32/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gpsd/3.19-r0/recipe-sysroot/usr/include/usr/include/python2.7 crc24q.c
| sh: x86_64-linux-gnu-gcc: command not found
| scons: *** [crc24q-py_3_8_2_final_0.so] Error 127
| scons: building terminated because of errors.

For all sources before, the right compiler arm-poky-linux-gnueabi-gcc was used, but with crc24q.c it suddenly changed to x86_64-linux-gnu-gcc, which is on my host system not in yocto. Also there is this weird path recipe-sysroot/usr/include/usr/include/python2.7 which makes no sense and also trys something with python2 which was thrown out, as far as I understand.

Any ideas anyone?

Greetings, Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions