On Mon, 17 Feb 1997, JoNaTHaN aRCiLLa wrote:
>
>
> This may be a bit off-topic but because of a series of attacks on our
> dialup server, i had to get through this right away.
>
> I'm compiling Tripwire-1.2 on our dialup server. Our server is an Intel
> machine running Linux 2.0.29 with Slackware96 installed.
>
> I'm quite sure i've fully read the docs and the READMEs. After doing the
> necessary configurations for a linux setup, i'm still not able to compile
> the package.
>
> Here's the error:
>
> In file included from config.pre.y:423:
> config.lex.c:242: conflicting types for `yy_flex_alloc'
> config.pre.y:70: previous declaration of `yy_flex_alloc'
> config.lex.c:243: conflicting types for `yy_flex_realloc'
> config.pre.y:69: previous declaration of `yy_flex_realloc'
> config.lex.c:244: warning: static declaration for `yy_flex_free' follows non-static
>
> In file included from config.pre.y:423:
> lex.yy.c:1780: redefinition of `yy_flex_alloc'
> config.lex.c:242: `yy_flex_alloc' previously defined here
> lex.yy.c:1791: redefinition of `yy_flex_realloc'
> config.lex.c:243: `yy_flex_realloc' previously defined here
> lex.yy.c:1808: redefinition of `yy_flex_free'
> config.pre.y:71: `yy_flex_free' previously defined here
> make[1]: *** [config.pre.o] Error 1
> make: *** [all] Error 2
>
> This looks like the problem mentioned in the README... but i'm no coder so
> i never tried hacking on the codes. This was supposedly corrected already
> according to the docs, right?
>
> I used flex, bison, /bin/bash, gcc, and left conf-linux.h as is.
>
> Is it alright to define MALLOCH, STDLIBH, and DIRENT in the conf-linux.h
> file?
>
> One more thing, i tried compiling the package without editing anything;
> that means leaving the configuration to its default SV4 setup and it
> compiled good. However, when i tried running tripwire -initialize in
> single user mode, i got Segmentation Fault error.
>
> Please, enlighten me.
>
>
> -JoNaTS-
> Ateneo de Naga Network
> jonats @
adn .
edu .
ph
>
>
I also had this problem under slackware. I have since switched our network
over to redhat, but haven't recompiled. If anyone has a fix to this
problem, I would like to know.
Joe Wood
Network Administrator
Northcoast Internet/Window On The World
References:
|
|