Undefined symbol fmemopen when compiling on OpenIndiana

Rouven WEILER Rouven_Weiler at gmx.net
Wed Mar 20 17:04:36 UTC 2019


Okay commenting it out would help for now.
I will try it.
Are you thinking of a patch?

> Am 20.03.2019 um 18:02 schrieb Ralph Böhme <slow at samba.org>:
> 
> 
> 
>> Am 20.03.2019 um 16:50 schrieb Jeremy Allison via samba-technical <samba-technical at lists.samba.org>:
>> 
>> On Wed, Mar 20, 2019 at 10:27:23AM +0100, Rouven WEILER via samba-technical wrote:
>>> Compiling samba-4.10.0 on OpenIndiana/Illumos I get the following shortened output when compiling verbose (whole output see below):
>>> 
>>> [3167/3865] Linking bin/default/libcli/dns/resolvconftest
>>> Undefined                       first referenced
>>> symbol                             in file
>>> fmemopen                            libcli/dns/resolvconftest.c.3.o
>>> ld: fatal: symbol referencing errors. No output written to /samba/build/samba/bin/default/libcli/dns/resolvconftest
>>> collect2: error: ld returned 1 exit status
>>> 
>>> Waf: Leaving directory `/export/home/github.com/oi-userland.git/components/network/samba/build/samba/bin/default'
>>> Build failed
>>> -> task in 'resolvconftest' failed with exit status 1:
>>>       {task 4233998772L: cprogram resolvconftest.c.3.o -> resolvconftest}
>>> 
>>> 
>>> Maybe this helps: As far as I know there is no fmemopen function on OpenIndiana as well as on Oracle Solaris.
>> 
>> Yeah, they left POSIX a long time ago, probably
>> due to neglect it seems :-(.
> 
> Solaris: https://docs.oracle.com/cd/E88353_01/html/E37843/fmemopen-3c.html
> Openindiana: https://www.illumos.org/issues/1609
> 
> Iow: Solaris has it, Openindiana does not.
> 
> -slow




More information about the samba-technical mailing list