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

Jeremy Allison jra at samba.org
Tue Sep 4 16:06:30 UTC 2018


On Tue, Sep 04, 2018 at 11:38:31AM +0000, Madhappan, Silambarasan via samba-technical wrote:
> Hi Jeremy Allison,
> 
> Thanks for your suggestion . funopen can't be implemented in HP-UX.
> 
> We are planning work around for open_memstream as below:
> 
> Open a File,  write all profiles info to that file and then store it in buffer.

Thanks. Sorry for being snarky but I'm glad you found a good
solution. I'm happy to help review if you need that.

Cheers,

	Jeremy.



> -----Original Message-----
> From: Jeremy Allison [mailto:jra at samba.org] 
> Sent: Friday, August 31, 2018 9:21 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 Fri, Aug 31, 2018 at 09:13:39AM +0000, Madhappan, Silambarasan wrote:
> > 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.
> 
> Here is an implemenation:
> 
> https://chromium.googlesource.com/native_client/nacl-newlib/+/99fc6c167467b41466ec90e8260e9c49cbe3d13c/newlib/libc/stdio/funopen.c
> 
> You know, at some point you're going to have to learn to type search queries into Google yourself you know :-).
> 
> Cheers,
> 
> 	Jeremy.
> 



More information about the samba-technical mailing list