[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: error compiling 1.2.3 modify.c under IRIX 6.2, missing include <ac/time.h> (ITS#223)
Thanks, commited change to OPENLDAP_REL_ENG_1_2 (available via
AnonCVS). Please test.
Kurt
At 06:34 PM 7/9/99 GMT, rslau@usc.edu wrote:
>on a vanilla IRIX 6.2 install with up-to-date patches,
>virgin openldap 1.2.3 source.
>
> cc -n32 -O -I/usr/usc/db/default/include -I/usr/usc/include -I../../../include -I../../../../../include -I.. -I../../../.
>./../servers/slapd/back-ldbm/.. -DHAVE_CONFIG_H -c ../../../../../servers/slapd/back-ldbm/modify.c -o modify.o
> "../../../../../servers/slapd/back-ldbm/modify.c", line 75: error(1515): a
> value of type "int" cannot be assigned to an entity of type
> "struct tm *"
> ltm = gmtime( ¤ttime );
> ^
>
>Fixed with:
>
> *** servers/slapd/slap.h.ORIG Fri Jul 9 11:26:46 1999
> --- servers/slapd/slap.h Fri Jul 9 04:02:50 1999
> ***************
> *** 12,17 ****
> --- 12,18 ----
> #include <sys/types.h>
> #include <ac/syslog.h>
> #include <ac/regex.h>
> + #include <ac/time.h>
>
> #undef NDEBUG
> #include <assert.h>
>
>Robert Lau Systems Programmer | Security | Postmaster
>213-740-2866 Information Services Division - Core Services
>rslau@usc.edu University of Southern California
>http://www.usc.edu/~rslau 1020 W Jefferson, LA, CA USA, 90089-0251
>
>