[libdvdcss-devel] libdvdcss.so does not distinguish internal from exposed API

Fabian Greffrath fabian at greffrath.com
Wed Jan 25 11:56:43 CET 2012


Hi again,

it seems that currently libdvdcss.so contains many internal symbols 
that are not marked as such and thus confuse utilities like 
dpkg-gensymbols [1].

It would be nice if libdvdcss could either use a version-script like 
the following

LIBDVDCSS_2 {
         global: dvdcss*;
         local:  *;
};

or otherwise declare the _dvdcss_*, _print_* and ioctl_* symbols as 
internal/local.

AFAICT, the version-script should get saved as src/libavcodec.ver and 
then passed to the linker via 
"-Wl,--version-script,src/libavcodec.ver". I have however, not yet 
tested this approach myself.

Best Regards,
Fabian Greffrath


[1] http://manpages.debian.net/cgi-bin/man.cgi?query=dpkg-gensymbols


More information about the libdvdcss-devel mailing list