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]

compiling on FreeBSD



Hi there. cronolog (1.6.1) compiled perfectly on Linux, but I cannot get
it to compile on either FreeBSD 3.3 or 3.4. Does anyone happen to have a
patch or workaround for this? 
Making all in src
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.1\" -DSTDC_HEADERS=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=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 cronoutils.c
cronoutils.c:74: `timezone' redeclared as different kind of symbol
/usr/include/time.h:144: previous declaration of `timezone'
*** Error code 1
// Alex@xxxxxxxxxxxxxxxxx
// Programmer, Panorama Point web development
// New Mexico, USA
// 505-424-4800x35

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