Re: problems compiling spreadlogd
Bill Montgomery <[email protected]> Thu, 18 Dec 2003 10:49:56 -0500
| Newsgroups | gmane.comp.apache.mod-log-spread.user |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > > Maybe anybody has experience compiling spreadlogd. > I got the sources from http://www.backhand.org/mod_log_spread/ and > this is > the result doing the make: <snip> > config_gram.y:93: warning: implicit declaration of function `fprintf' > config_gram.y:93: `stderr' undeclared (first use in this function) > config_gram.y:93: (Each undeclared identifier is reported only once > config_gram.y:93: for each function it appears in.) > config_gram.y: In function `yyerror': > config_gram.y:104: `stderr' undeclared (first use in this function) > make: *** [y.tab.o] Fehler 1 > > Any hints to resolve? Besides I can't find any reasonable doc's to > implement > spread, mod_log_spread and spreadlogd. > > Thanks a lot, > > bastian Bastian- I ran into this problem compiling on a Red Hat 9 system; I fixed it by adding an #include <stdio.h> to the top of config.h. I think maybe the system headers are different in RH 9 from the system that spreadlogd was written on, such that stdio.h is no longer included by one of the other headers that is explicitly included (maybe a change in the bison package?). Best regards, Bill Montgomery