'DBUS Compile Error in dbus-launch.c when using SDK

I'm trying to compile dbus for my imx8-evk-mn

I'm working in a Linux Ubuntu VM. I've downloaded the source code from GitLab and installed all neccessary dependencies. When I execute make it compiles and everything works.

Steps:

  1. ./configure --prefix /home/linux/build/dbus_build
  2. make
  3. make install

When I switch to my SDK I get an error in dbus-launch.c

Steps:

  1. source /home/linux/IMX_SDK/environment-setup-cortexa53-crypto-poky-linux
  2. ./configure --prefix /home/linux/build/dbus-arm --host arm-linux
  3. make

Error

The same error used to happen when executing make for Ubuntu, but it just literally disappeared overnight and I cannot reproduce it.

Does anybody have an idea what it could be?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source