[Samba] Kodi crashes when trying to browse network

Jeremy Allison jra at samba.org
Mon Nov 5 19:21:37 UTC 2018

On Sat, Nov 03, 2018 at 02:00:35PM -0500, Michael Cronenworth via samba wrote:
> On 11/3/18 11:10 AM, Rowland Penny via samba wrote:
> > I think it may be because Debian uses libgnutls28-dev, whilst Fedora
> > uses trousers
> It seems to be a Kodi CMake issue, but I would argue Samba or trousers need
> to change the name of "read_data" to something more unique if it is going to
> be an exported shared symbol.

read_data is not explicitly exported by Samba, only defined for our
own internal use.

$ git grep read_data
lib/util/sys_rw_data.c:ssize_t read_data(int fd, void *buffer, size_t n)
lib/util/sys_rw_data.h:ssize_t read_data(int fd, void *buffer, size_t n);

This is a makefile/linker mistake, not a Samba one, sorry. We can't
prefix everything just because people make makefile errors.

More information about the samba mailing list