Re: spreadlogd 1.4.2, spread 3.16.2, FreeBSD 4.6-RELEASE

"Jay West" <[email protected]> Thu, 5 Sep 2002 08:05:03 -0500
Newsgroups gmane.comp.apache.mod-log-spread.user
Message-ID <[email protected]>
I too was trying to get the exact same thing working yesterday, and would
like to work on it today. I'm not getting as far as Mike is though.... I
can't even get spreadlogd to compile. I'm using FreeBSD 4.6.2 and spreadlogd
1.4.2. Below is what I get when I try to compile, but from what I'm reading
on the list even if I get it to compile it looks like there's problems
running it on FreeBSD. Any thoughts that would help me get around both
compiling and running?

Jay West

On initial make I get this.....
# make
gcc -g -D__USE_LARGEFILE64 -Wall -I/usr/local/include -c skiplist.c
ar cq libskiplist.a skiplist.o
gcc -g -D__USE_LARGEFILE64 -Wall -I/usr/local/include -c spreadlogd.c
spreadlogd.c: In function `main':
spreadlogd.c:131: warning: unused variable `pver'
spreadlogd.c:131: warning: unused variable `miver'
spreadlogd.c:131: warning: unused variable `mver'
flex config_gram.l
bison -y -d config_gram.y
config_gram.y:35: warning: previous rule lacks an ending `;'
config_gram.y:45: warning: previous rule lacks an ending `;'
gcc -g -D__USE_LARGEFILE64 -Wall -I/usr/local/include -c lex.yy.c
lex.yy.c:1155: warning: `yyunput' defined but not used
gcc -g -D__USE_LARGEFILE64 -Wall -I/usr/local/include -c y.tab.c
/usr/local/share/bison/bison.simple: In function `yyparse':
/usr/local/share/bison/bison.simple:573: warning: implicit declaration of
function `yylex'
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)
*** Error code 1

Stop in /usr/local/software/spreadlogd-1.4.2.
#

---
[This E-mail scanned for viruses by Declude Virus]