Porting SAMBA 4.9 on HP-UX 11iv3 - unsatisfied symbol "open_memstream"

Madhappan, Silambarasan silambarasan.madhappan at hpe.com
Fri Aug 31 09:13:39 UTC 2018

Hi Jeremy Allison,

Thanks for your quick response.

I have tried comping  the standalone implementation of open_memstream in HP-UX.
However we are failing with below error, 

ld: Unsatisfied symbol "funopen" in file memstream.o

funopen API is not available on hp-ux.

Please let us know if  any other workaround is available.


-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org] 
Sent: Tuesday, August 28, 2018 9:58 PM
To: Madhappan, Silambarasan <silambarasan.madhappan at hpe.com>
Cc: samba-technical at lists.samba.org
Subject: Re: Porting SAMBA 4.9 on HP-UX 11iv3 - unsatisfied symbol "open_memstream"

On Tue, Aug 28, 2018 at 01:48:37PM +0000, Madhappan, Silambarasan via samba-technical wrote:
> Hi Team,
> We are officially porting SAMBA 4.9 on HP-UX 11iv3 and while building 
> we are getting the below linking error,
> ld: (Warning) Unsatisfied symbol "open_memstream"
> We have confirmed that "open_memstream"  API is not available on HP-UX.
> "open_memstream" API is included in samba code base as mentioned in below link.
> [PATCH] Add winbind request 
> profiling<https://lists.samba.org/archive/samba-technical/2018-June/12
> 8529.html>
> Please suggest workaround for this.

Here is a standalone implementation of open_memstream you can use:


Let us know if this works for you !

More information about the samba-technical mailing list