|
|||||||||
![]() |
|||||||||
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] FreeBSD compile problem
with cronolog 1.6.1 the complation aborts with: 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 cronotest.c 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 If I '//' the offending line everything seems to be fine, but timezone is declared as char *timezone __P((int, int)); in /usr/include/time.h, so I'm not sure if it will cause any problems? - ask -- ask bjoern hansen - <http://www.netcetera.dk/~ask/> more than 70M impressions per day, <http://valueclick.com>
|