[rrd-users] Re: ANNOUCE rrdtool-1.0.12

Robert Gash gashalot at gashalot.com
Sun Feb 13 16:39:30 MET 2000


Well, I was excited to see new fixes to keep rrdcgi from SIG8'ing, but
there is one slight problem: rrdtool-1.0.12 dosen't build anymore on
FreeBSD systems.  It generates a pile of error messages when compiling
./src/parsetime.c and then the make aborts since there are way too many
errors.  Here is the output from the make process where it begins to die:

(This is a FreeBSD 3.4-STABLE system running gcc 2.7.2.3.  All rrdtool
releases <= 1.0.11 compiled fine on the system [although they sig8'ed when
run])

-------------------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../cgilib-0.4 -I../gd1.3
-I../libpng-1.0.3 -I../zlib-1.1.3 -g -O2 -Wall -pedantic -fPIC
-DMUST_DISABLE_FPMASK -c  -fPIC -DPIC parsetime.c -o .libs/parsetime.lo
parsetime.c:193: `NULL' undeclared here (not in a function)
parsetime.c:193: initializer element for `VariousWords[52].name' is not
constant
parsetime.c:223: `NULL' undeclared here (not in a function)
parsetime.c:223: initializer element for `TimeMultipliers[26].name' is not
constant
parsetime.c:239: `NULL' undeclared here (not in a function)
parsetime.c:240: parse error before `sc_len'
parsetime.c:240: ANSI C forbids data definition with no type or storage
class
parsetime.c: In function `EnsureMemFree':
parsetime.c:251: warning: implicit declaration of function `free'
parsetime.c: In function `ve':
parsetime.c:302: warning: implicit declaration of function `vsprintf'
parsetime.c: In function `mystrcasecmp':
parsetime.c:336: warning: implicit declaration of function `tolower'
parsetime.c: In function `parse_token':
parsetime.c:354: `NULL' undeclared (first use this function)
parsetime.c:354: (Each undeclared identifier is reported only once
parsetime.c:354: for each function it appears in.)
parsetime.c: In function `init_scanner':
parsetime.c:377: warning: implicit declaration of function `malloc'
parsetime.c:378: `NULL' undeclared (first use this function)
parsetime.c:381: `TIME_OK' undeclared (first use this function)
parsetime.c: In function `token':
parsetime.c:393: warning: implicit declaration of function `memset'
parsetime.c:394: `EOF' undeclared (first use this function)
parsetime.c:412: warning: implicit declaration of function `isspace'
parsetime.c:425: warning: implicit declaration of function `isdigit'
parsetime.c:431: warning: implicit declaration of function `isalpha'
parsetime.c: In function `expect':
parsetime.c:464: `TIME_OK' undeclared (first use this function)
parsetime.c:466: warning: control reaches end of non-void function
parsetime.c: At top level:
parsetime.c:475: warning: `struct time_value' declared inside parameter
list
parsetime.c:475: warning: its scope is only this definition or
declaration,
parsetime.c:475: warning: which is probably not what you want.
parsetime.c: In function `plus_minus':
parsetime.c:490: warning: implicit declaration of function `atoi'
parsetime.c:521: dereferencing pointer to incomplete type
parsetime.c:522: `TIME_OK' undeclared (first use this function)
parsetime.c:524: dereferencing pointer to incomplete type
parsetime.c:530: dereferencing pointer to incomplete type
parsetime.c:533: dereferencing pointer to incomplete type
parsetime.c:536: dereferencing pointer to incomplete type
parsetime.c:539: dereferencing pointer to incomplete type
parsetime.c:542: dereferencing pointer to incomplete type
parsetime.c: At top level:
parsetime.c:555: warning: `struct time_value' declared inside parameter
list
parsetime.c: In function `tod':
parsetime.c:569: `TIME_OK' undeclared (first use this function)
parsetime.c:580: warning: implicit declaration of function `sprintf'
parsetime.c:616: dereferencing pointer to incomplete type
parsetime.c:617: dereferencing pointer to incomplete type
parsetime.c:618: dereferencing pointer to incomplete type
parsetime.c:619: dereferencing pointer to incomplete type
parsetime.c:620: dereferencing pointer to incomplete type
parsetime.c:621: dereferencing pointer to incomplete type
parsetime.c:624: warning: control reaches end of non-void function
parsetime.c: At top level:
parsetime.c:631: warning: `struct time_value' declared inside parameter
list
parsetime.c: In function `assign_date':
parsetime.c:651: dereferencing pointer to incomplete type
parsetime.c:652: dereferencing pointer to incomplete type
parsetime.c:653: dereferencing pointer to incomplete type
parsetime.c:654: `TIME_OK' undeclared (first use this function)
parsetime.c:655: warning: control reaches end of non-void function
parsetime.c: At top level:
parsetime.c:662: warning: `struct time_value' declared inside parameter
list
parsetime.c: In function `day':
parsetime.c:664: dereferencing pointer to incomplete type
parsetime.c:669: dereferencing pointer to incomplete type
parsetime.c:675: dereferencing pointer to incomplete type
parsetime.c:686: warning: implicit declaration of function `atol'
parsetime.c:692: dereferencing pointer to incomplete type
parsetime.c:693: warning: passing arg 1 of `assign_date' from incompatible
pointer type
parsetime.c:702: dereferencing pointer to incomplete type
parsetime.c:702: dereferencing pointer to incomplete type
parsetime.c:719: dereferencing pointer to incomplete type
parsetime.c:719: warning: implicit declaration of function `localtime'
parsetime.c:719: invalid type argument of `unary *'
parsetime.c:726: warning: implicit declaration of function `strncpy'
parsetime.c:767: warning: passing arg 1 of `assign_date' from incompatible
pointer type
parsetime.c:770: `TIME_OK' undeclared (first use this function)
parsetime.c:771: warning: control reaches end of non-void function
parsetime.c: At top level:
parsetime.c:787: warning: `struct time_value' declared inside parameter
list
parsetime.c: In function `parsetime':
parsetime.c:789: `time_t' undeclared (first use this function)
parsetime.c:789: parse error before `now'
parsetime.c:798: dereferencing pointer to incomplete type
parsetime.c:798: `ABSOLUTE_TIME' undeclared (first use this function)
parsetime.c:799: dereferencing pointer to incomplete type
parsetime.c:800: dereferencing pointer to incomplete type
parsetime.c:800: `now' undeclared (first use this function)
parsetime.c:800: invalid type argument of `unary *'
parsetime.c:801: dereferencing pointer to incomplete type
parsetime.c:810: dereferencing pointer to incomplete type
parsetime.c:810: `RELATIVE_TO_START_TIME' undeclared (first use this
function)
parsetime.c:813: dereferencing pointer to incomplete type
parsetime.c:813: `RELATIVE_TO_END_TIME' undeclared (first use this
function)
parsetime.c:815: dereferencing pointer to incomplete type
parsetime.c:816: dereferencing pointer to incomplete type
parsetime.c:817: dereferencing pointer to incomplete type
parsetime.c:818: dereferencing pointer to incomplete type
parsetime.c:819: dereferencing pointer to incomplete type
parsetime.c:820: dereferencing pointer to incomplete type
parsetime.c:832: `EOF' undeclared (first use this function)
parsetime.c:840: warning: passing arg 1 of `tod' from incompatible pointer
type
parsetime.c:845: warning: passing arg 1 of `day' from incompatible pointer
type
parsetime.c:847: warning: passing arg 1 of `tod' from incompatible pointer
type
parsetime.c:864: dereferencing pointer to incomplete type
parsetime.c:865: dereferencing pointer to incomplete type
parsetime.c:866: dereferencing pointer to incomplete type
parsetime.c:868: dereferencing pointer to incomplete type
parsetime.c:869: dereferencing pointer to incomplete type
parsetime.c:870: dereferencing pointer to incomplete type
parsetime.c:888: warning: passing arg 1 of `plus_minus' from incompatible
pointer type
parsetime.c:890: warning: passing arg 1 of `plus_minus' from incompatible
pointer type
parsetime.c:901: dereferencing pointer to incomplete type
parsetime.c:902: dereferencing pointer to incomplete type
parsetime.c:903: warning: implicit declaration of function `mktime'
parsetime.c:903: dereferencing pointer to incomplete type
parsetime.c:909: `TIME_OK' undeclared (first use this function)
parsetime.c: At top level:
parsetime.c:915: parse error before `time_t'
parsetime.c:916: warning: `struct time_value' declared inside parameter
list
parsetime.c: In function `proc_start_end':
parsetime.c:917: `start_tv' undeclared (first use this function)
parsetime.c:917: `RELATIVE_TO_END_TIME' undeclared (first use this
function)
parsetime.c:918: `end_tv' undeclared (first use this function)
parsetime.c:918: `RELATIVE_TO_START_TIME' undeclared (first use this
function)
parsetime.c:919: warning: implicit declaration of function `rrd_set_error'
parsetime.c:935: storage size of `tmtmp' isn't known
parsetime.c:936: `end' undeclared (first use this function)
parsetime.c:937: invalid type argument of `unary *'
parsetime.c:941: `start' undeclared (first use this function)
parsetime.c:935: warning: unused variable `tmtmp'
parsetime.c:946: storage size of `tmtmp' isn't known
parsetime.c:948: invalid type argument of `unary *'
parsetime.c:946: warning: unused variable `tmtmp'
gmake[1]: *** [parsetime.lo] Error 1
gmake[1]: Leaving directory
`/usr/src/vener.net/noc/stats/rrdtool-1.0.12/src'
gmake: *** [all-recursive] Error 1

---------------------------------------------------------

-- 
.----------------- PGP Key: `finger gashalot at gashalot.com` -----------------.
| Robert Gash                        |          Work - gashalot at fasturl.net |
| Senior Systems Administrator       |     Personal - gashalot at gashalot.com |
| VenerNet Inc -- www.fasturl.net    |              http://www.gashalot.com |
`---- PGP Key Fprint:  78 5D 64 D2 99 F3 D8 A0  B2 56 DF EF F2 C6 D3 DF ----'

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users



More information about the rrd-users mailing list