ext/atomicity.h bits/c++config.h

Otacílio otacilio.neto at bsd.com.br
Thu Jul 13 18:50:43 UTC 2017


I'm trying to make a port for personal use of the rmtp library. However 
I'm having some problems that I can not solve with just the help of 
google. Among other things, the compilation is breaking at this point

In file included from 
/usr/ports/science/mrpt/work/.build/libs/base/cotire/mrpt-base_CXX_prefix.hxx:4:
In file included from 
/usr/ports/science/mrpt/work/.build/libs/base/cotire/mrpt-base_CXX_prefix.cxx:4:
In file included from 
/usr/ports/science/mrpt/work/mrpt-752b211/libs/base/src/base-precomp.h:17:
In file included from 
/usr/ports/science/mrpt/work/mrpt-752b211/libs/base/include/mrpt/utils/CObject.h:17:
In file included from 
/usr/ports/science/mrpt/work/mrpt-752b211/libs/base/include/mrpt/otherlibs/stlplus/smart_ptr.hpp:49:
/usr/ports/science/mrpt/work/mrpt-752b211/libs/base/include/mrpt/synch/atomic_incr.h:20:12: 
fatal error: 'ext / atomicity.h' file not found
#include <ext / atomicity.h>
^
1 error generated.

Complaining that can not find this header library:

Fatal error: 'ext/atomicity.h' file not found

I have found this library in /usr/src/contrib/libstdc ++/include and I 
do not know the correct way to include it in the project because I 
expected to find it in /usr/include or /usr/local/include. I even added 
this line in the configuration: -I/usr/src/contrib/libstdc++/include but 
now went on to complain that this other head file is missing

/usr/src/contrib/libstdc++/include/ext/atomicity.h:38:10: fatal error: 
'bits/c++config.h' file not found

Could anyone give me a hint about how to fix this?


[]'s

-Otacilio



More information about the freebsd-ports mailing list