3.0.21pre1 and strtoll() ?

Jeremy Allison jra at samba.org
Fri Oct 21 22:43:38 GMT 2005

On Thu, Oct 20, 2005 at 07:53:02PM -0700, Ken Stone wrote:
> Hi ....
> Trying to build 3.0.21pre1 on HP-UX 11i (11.11) with no luck ... Looks like
> a couple of calls to strtoll() are the culprit in registry/reg_perfcount.c
> Looks like strtoll() was in libsmb/libsmbclient.c before but nothing I built 
> ever linked against it so no one noticed ...  With the calls now, I get a 
> link failure on smbd as shown below ...
> HP-UX as of 11i (11.11) does not have strtoll() ....  Looks like configure
> doesn't check for strtoll() at all.

I've removed long long use and strtoll from libsmbclient, Jerry is
going to look at the pref code to fix this. We can't guarentee long
long on all platforms, that's why we have abstractions like SMB_BIG_UINT.


More information about the samba-technical mailing list