Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Target to build OpenDDS with QNX tool chain: (2 Items)
   
Target to build OpenDDS with QNX tool chain  
Hello All,

we are trying to compile OpenDDS (v 3.20) with qnx compiler tool chain.
Here in OpenDDS having makefile based (MPC based) build system with configure script.

So we are calling configure script with cross-compilation option.
And following below command:

1 ./configure --target=linux-cross --target-compiler=/home/sdv-1011/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto
-qnx7.1.0-g++

2 make

Here for more information we have attached logs files for both above mentioned commands

Actually we are getting error in make. It seems like make doesn't get files from qnx710.

So request to all, Anyone having any solution to build OpenDDS in qnx please suggest.

Thanks in advance

Attachment: Text open_dds_config_cmd_log.txt 5.27 KB Text open_dds_make_cmd_log.txt 24.37 KB
Re: Target to build OpenDDS with QNX tool chain  
I think there are at least two problems here:
- the build includes files from /usr/include/..., that is your Linux host. You need to tell it to llok into $QNX_TARGET/
usr/include/.... What happens if you do "echo $QNX_TARGET" in the build console? It should point to your SDK 
installation. You may also check the generated env scripts.
- It appears the build expects gcc v9. QNX SDP supports gcc v8.3.0 - you find headers under $QNX_TARGET/usr/include/c++/
8.3.0/*.

Regards,
Albrecht