Moreover, I faced this issue:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887633
and used Debian xymon-4.3.28-3 sources to compile successfully.
Le 03/07/2018 à 16:20, Damien Martins a écrit :
Hi Christian,
In fact, test-endianness is compiled using OpenWRT toolchain for cross compilation, so it can not be executed on my local computer (the compiler host, not the target). I compiled the test-endianness.c file, and uploaded the resulting binary to my target OS. I executed it successfully and retrieved the value, then inserted in in lib/Makefile file. For cross compilation purpose, should be good to be able to pass the endianness information during the "configure" execution.
Le 03/07/2018 à 16:09, Christian Herzog a écrit :
Hi Damien,
I just checked and test-endianness is compiled from test-endianness.c
- for some reason the one you have doesn't seem to work for you. Can you just do
gcc -o test-endianness test-endianness.c
and see if that works better?
best, -Christian
-- Cordialement, Damien Martins