cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help?



Hi,
 I am trying to compile cronolog on Solaris 8. It seems there may be a
header file missing. Has any one here also encountered this error?
--------------------------make error------------------------------
diablo% make
Making all in lib
Making all in src
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.1\" -DSTDC_HEADERS=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1
-DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1
-I. -I. -I../lib  -g -O2 -c cronotest.c
In file included from cronoutils.h:88,
                 from cronotest.c:75:
/usr/include/sys/stat.h:258: parse error before "blksize_t"
/usr/include/sys/stat.h:262: parse error before '}' token
/usr/include/sys/stat.h:318: parse error before "blksize_t"
/usr/include/sys/stat.h:319: conflicting types for `st_blocks'
/usr/include/sys/stat.h:259: previous declaration of `st_blocks'
/usr/include/sys/stat.h:322: parse error before '}' token
*** Error code 1
make: Fatal error: Command failed for target `cronotest.o'
Current working directory /tmp/cronolog-1.6.1/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
diablo%
Thank You,
John E. Saska <DCS>
Thank You,
John E. Saska <DCS>
jsaska@xxxxxxx

Copyright © 1996-2010 Andrew Ford and Ford & Mason Ltd