Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d
- Date: Sat, 14 Mar 2015 12:06:51 +0100
On Wed, 2015-03-11 at 21:01 -0700, Tim Rice wrote:
> The problem for UnixWare is clock_gettime() does not exist so
> common/tio.c does not build.
> ........
> UX:acomp: ERROR: "/opt/src/networking/nss-pam-ldapd-0.9.4/common/tio.c", line
> 96: undefined symbol: CLOCK_MONOTONIC
> UX:acomp: ERROR: "/opt/src/networking/nss-pam-ldapd-0.9.4/common/tio.c", line
> 104: undefined symbol: CLOCK_MONOTONIC
> ........
The error seems to indicate that CLOCK_MONOTONIC does not exist. If
clock_gettime() itself exists on Unixware (or something similar) some
replacement could perhaps be put in its place.
> > If you have any patches I could integrate them.
>
> I've attached nss-pam-ldapd-0.9.4.patch. It's the mods I use
> to build 0.9.1 brought forward to 0.9.4. 0.9.4 does not build due to
> the above mentioned changes in 0.9.2.
>
> Some portability fixes, 2 new files for the NSS bits needed for
> UnixWare, and 2 files from kerberos (if I remember correctly) to
> impliment missing getusershell and hstrerror.
I've had a quick look and I think I can include at least some of the
changes. I like the new --with-nss-lib-dir configure option but I'm not
sure the related change to dlopen() works on all platforms.
Thanks,
--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org/ --
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/
- Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d, (continued)