Jump to content
OpenSplice DDS Forum
pczzy

Build OpenSpliceDDS v6.4 from source, error on Unbuntu 15.04

Recommended Posts

HI  all

I compile OpenSplice from source follow the ros guide ,this link https://github.com/osrf/ros_dds

# Install build-time prerequisites, which on Linux are:# (see http://www.prismtech.com/opensplice/opensplice-dds-community/building for the full list)sudo apt-get install gawk flex bison perlgit clone https://github.com/osrf/opensplice.gitcd buildcmake .. -DCMAKE_INSTALL_PREFIX=/tmp/opensplicemake install# Tell CMake to look there for CMake configuration filesexport CMAKE_PREFIX_PATH=/tmp/opensplice:$CMAKE_PREFIX_PATH

and got the following errors.

 

/tmp/ccUyNA26.ltrans11.ltrans.o: In function `DRV_cpp_putarg':
<artificial>:(.text+0x4a5b): undefined reference to `define'
<artificial>:(.text+0x4a7c): undefined reference to `define'
<artificial>:(.text+0x4ae8): undefined reference to `define'
<artificial>:(.text+0x4b3b): undefined reference to `Ifile'
<artificial>:(.text+0x4b85): undefined reference to `undef'
/tmp/ccUyNA26.ltrans18.ltrans.o: In function `DRV_drive':
<artificial>:(.text+0x430c): undefined reference to `preprocess'
<artificial>:(.text+0x47e7): undefined reference to `preprocess_getc'
collect2: error: ld returned 1 exit status
/opt/opensplice/setup/makefiles/target-only.mak:92: recipe for target 'cppgen' failed
make[8]: *** [cppgen] Error 1
makefile:6: recipe for target 'all' failed
make[7]: *** [all] Error 2
make[6]: *** No rule to make target 'build_tools_stage', needed by 'odlpp'.  Stop.
makefile:6: recipe for target 'link' failed
make[5]: *** [link] Error 2
/opt/opensplice/setup/makefiles/subsystem.mak:11: recipe for target 'osplcore.ss_link' failed
make[4]: *** [osplcore.ss_link] Error 2
/opt/opensplice/setup/makefiles/subsystem.mak:11: recipe for target 'src.ss_link' failed
make[3]: *** [src.ss_link] Error 2

 

Any suggestion ?
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×