[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile pbs ...



I have changed Makefile,
firestorm-nids compiled,
but capdev_plugins didn't.
firestorm-nids uses this plugins to listen network (pcap) ?

Im waiting for new patch

I have found some new pbs again : (before and after your patch)
A)
...
source='elog_write.c' object='elog_write.o' libtool=no
depfile='.deps/elog_write.Po' tmpdepfile='.deps/elog_write.TPo'  depmode=gcc
/usr/local/bin/bash ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../include
-DPLUGIN_DIR=\"/usr/lib/firestorm\"   -I../include     -g -O2 -Wall -pipe -c
`test -f 'elog_write.c' || echo './'`elog_write.c
elog_write.c: In function `spool_rotate':
elog_write.c:157: warning: long unsigned int format, ino_t arg (arg 5)
elog_write.c: In function `spool_do_packet':
elog_write.c:331: warning: assignment from incompatible pointer type
This pb don't stop the compilation ...

B) (after your patch)
...
source='firecat.c' object='firecat.o' libtool=no  depfile='.deps/firecat.Po'
tmpdepfile='.deps/firecat.TPo'  depmode=gcc /usr/local/bin/bash ../depcomp
gcc -DHAVE_CONFIG_H -I. -I. -I../include
-DPLUGIN_DIR=\"/usr/lib/firestorm\"   -I../include     -g -O2 -Wall -pipe -c
`test -f 'firecat.c' || echo './'`firecat.c
firecat.c: In function `main':
firecat.c:180: warning: implicit declaration of function `getopt_long'
firecat.c:181: `opts' undeclared (first use in this function)
firecat.c:181: (Each undeclared identifier is reported only once
firecat.c:181: for each function it appears in.)
*** Error code 1
And this error ends the compilation ...

Regards.




Gianni Tedesco wrote:

> On Tue, 2003-02-18 at 16:32, rmkml wrote:
> > Thanks for your patch,
> > I will try to test now ...
> > and tell you if it works fine.
> >
> > I've found a new pbs (compilation of firecat and stormwall disabled),
> > on capdev_plugins :
>
> DOH! Thats a really dumb problem, configure checks for Linux platform
> and mmap packet socket but when i re-wrote makefiles i removed the
> corresponding check there, try hacking the makefile not to build
> capdev_linux for now and I will come up with another patch for this.
>
> Thanks for the valuable testing :)
>
> --
> // Gianni Tedesco (gianni at scaramanga dot co dot uk)
> lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
> 8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
>
>   ------------------------------------------------------------------------
>                        Name: signature.asc
>    signature.asc       Type: application/pgp-signature
>                 Description: This is a digitally signed message part