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]

Re: CRONOLOG: Building on FreeBSD



> 
> I haven't been able to find an archive for this list, so I thought I'd
> ask if anyone else has had problems building on FreeBSD?  The "make"
> process dies with:
> 
> gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.1\" -DSTDC_HEADERS=1 -DTIME_W
> ITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAV
> E_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MK
> TIME=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
> 
vi src/cronoutils.c, comment out "extern long int timezone;"
	(Happens on BSDI too)
		Tuc/TTSG Internet Services, Inc.

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