# Revision history [back]

I'm not sure, but those error: defining: No such file or directory errors seem more like issues with the build script (CMakeLists.txt or something else) than with your OS. It looks like a comment is being interpreted as a linking instruction. Maybe there is a typo in the script somewhere?

I'm not sure, but those error: defining: No such file or directory errors seem more like issues with the build script (CMakeLists.txt or something else) than with your OS. It looks like a comment is being interpreted as a linking instruction. Maybe there is a typo in the script somewhere?

somewhere?

Edit: looks like there are two separate sentences used as linker input (or something like that):

defining another variable in terms of the first

and

If some RTT headers include inline calls other libraries we need to specify these here too

Googling for these turns up orocos-toolchain/rtt/rtt/orocos-rtt.pc.in, which seems to have these as comments in the .pc file:

...
exec_prefix=${prefix} # defining another variable in terms of the first ... Libs: -L${libdir} -lorocos-rtt-@OROCOS_TARGET@ @RTT_USER_LINK_LIBS@ @RTT_USER_LDFLAGS@ # If some RTT headers include inline calls to other libraries, we need to specify these here too.
...


Could it be that pkg-config on Gentoo is returning those comments as parts of the Libs variable?

Can you add the output of pkg-config --libs orocos-rtt to your original question?