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

Madhappan, Silambarasan silambarasan.madhappan at hpe.com
Tue Sep 4 11:38:31 UTC 2018


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,
Silambarasan


-----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