|
From: Martin F. <xfr...@gm...> - 2019-01-23 21:36:18
|
Hello,
cross compilation of OpenDDS-3.13 with security enabled on Ubuntu 16.04
fails and I get following output:
/usr/include/sys/wait.h:162:23: error: ‘__WAIT_STATUS’ was not declared in
this scope
/usr/include/sys/wait.h:162:23: note: suggested alternative:
‘SO_WIFI_STATUS’
extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options,
^~~~~~~~~~~~~
SO_WIFI_STATUS
/usr/include/sys/wait.h:162:49: error: expected primary-expression before
‘int’
extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options,
^~~
/usr/include/sys/wait.h:163:9: error: expected primary-expression before
‘struct’
struct rusage * __usage) __THROWNL;
^~~~~~
/usr/include/sys/wait.h:163:32: error: expression list treated as compound
expression in initializer [-fpermissive]
struct rusage * __usage) __THROWNL;
^
/usr/include/sys/wait.h:168:38: error: ‘__WAIT_STATUS’ has not been declared
extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int
__options,
^~~~~~~~~~~~~
In file included from
/home/martin/Documents/OpenDDS-3.13/build/target/ACE_wrappers/ace/XML_Utils/XMLSchema/Types.hpp:9,
from dds_qos.hpp:62,
from dds_qos.cpp:11:
/home/martin/Documents/OpenDDS-3.13/build/target/ACE_wrappers/ace/XML_Utils/XSCRT/Elements.hpp:260:10:
warning: ‘template<class> class std::auto_ptr’ is deprecated
[-Wdeprecated-declarations]
std::auto_ptr<Map_> map_;
.
.
.
.
/home/martin/Documents/OpenDDS-3.13/build/target/ACE_wrappers/include/makeinclude/rules.local.GNU:188:
recipe for target '.shobj/dds_qos.o' failed
make[2]: *** [.shobj/dds_qos.o] Error 1
make[2]: Leaving directory
'/home/martin/Documents/OpenDDS-3.13/build/target/dds/DCPS/QOS_XML_Handler'
GNUmakefile.dist:624: recipe for target 'OpenDDS_QOS_XML_XSC_Handler' failed
make[1]: *** [OpenDDS_QOS_XML_XSC_Handler] Error 2
make[1]: Leaving directory
'/home/martin/Documents/OpenDDS-3.13/build/target'
GNUmakefile:3: recipe for target 'all' failed
make: *** [all] Error 2
Compiler version:
OpenDDS-3.13# arm-linux-gnueabihf-g++ -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-g++
COLLECT_LTO_WRAPPER=/opt/cross-pi-gcc/libexec/gcc/arm-linux-gnueabihf/8.2.0/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../gcc-8.2.0/configure --prefix=/opt/cross-pi-gcc
--target=arm-linux-gnueabihf --enable-languages=c,c++,fortran
--program-prefix=arm-linux-gnueabihf- --enable-shared --with-cpu=cortex-a7
--with-fpu=neon-vfpv4 --with-float=hard --enable-threads=posix --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo --with-target-system-zlib --disable-sjlj-exceptions
--enable-checking=release --enable-multiarch --disable-multilib
Thread model: posix
gcc version 8.2.0 (GCC)
Do you have any ideas how to solve this compilation error or how to make
this compilation successful?
Thanks,
MF
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
|