First, I have “include_HEADERS = 'my public headers' and' libfoobar_la_SOURCES = 'private sources'' private headers'. Everything is fine. It compiles / sets / binds. But when I do" nm -C my_instaed_lib.so "I get:
00005be0 T yyget_debug(void*)
00005b00 T yyget_extra(void*)
00005bf0 T yyset_debug(int, void*)
00005bb0 T yyset_extra(FM4::LexImpl*, void*)
00005b40 T yyget_column(void*)
00005b10 T yyget_lineno(void*)
00006180 T yyset_column(int, void*)
000061e0 T yyset_lineno(int, void*)
...
It has never been advertised in any headline.
000091f0 T FM4::PrcImpl::CollectMacro()
000089d0 T FM4::PrcImpl::CollectQuote()
00008870 T FM4::PrcImpl::CollectComment()
00009350 T FM4::PrcImpl::Collect()
000093f0 T FM4::PrcImpl::Process()
00008700 T FM4::PrcImpl::PrcImpl(FM4::Processor*)
00008590 T FM4::PrcImpl::PrcImpl(FM4::Processor*)
00009970 W FM4::PrcImpl::~PrcImpl()
00009a00 W FM4::PrcImpl::~PrcImpl()
...
This is in a closed not set header.
I read the automake / libtool manual twice, but I don’t know how to remove this shit from the interface? Or what can put this shit to the public api. How to control what is exported to a public api?
source
share