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

Error in compilation



Hi Gianni,

Sorry I am not a coder, but I provided you my LOG
after trying to install FireStorm in my distro.

Error in compilation of Firestorm under Slackware 7.0

Kernel 2.2.20
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

#----- LOG ------
./configure --prefix=/usr/local/firestorm --sysconfdir=/etc

Here all is OK!

./make

[...]

make[1]: Entering directory `/var/tmp/firestorm-0.4.4/capdev_plugins'
gcc -g -O2 -Wall -pipe -DHAVE_CONFIG_H -fPIC -D__PLUGIN__ -I. -I../include -I/usr/include/pcap -I/usr/local/include   -c tcpdump.c -o tcpdump.o
gcc -shared -g -O2 -Wall -pipe -DHAVE_CONFIG_H -fPIC -D__PLUGIN__ -I. -I../include -I/usr/include/pcap -I/usr/local/include -o tcpdump.so tcpdump.o
gcc -g -O2 -Wall -pipe -DHAVE_CONFIG_H -fPIC -D__PLUGIN__ -I. -I../include -I/usr/include/pcap -I/usr/local/include   -c linux.c -o linux.o
linux.c:42: field `req' has incomplete type
linux.c: In function `linux_mkreq':
linux.c:94: `TPACKET_HDRLEN' undeclared (first use in this function)
linux.c:94: (Each undeclared identifier is reported only once
linux.c:94: for each function it appears in.)
linux.c:90: warning: `siz' might be used uninitialized in this function
linux.c: In function `lnx_init':
linux.c:188: `TPACKET_HDRLEN' undeclared (first use in this function)
linux.c:199: `PACKET_RX_RING' undeclared (first use in this function)
linux.c: In function `lnx_end':
linux.c:245: storage size of `st' isn't known
linux.c:252: `PACKET_STATISTICS' undeclared (first use in this function)
linux.c:245: warning: unused variable `st'
linux.c: In function `lnx_go':
linux.c:282: warning: implicit declaration of function `TPACKET_ALIGN'
linux.c:282: dereferencing pointer to incomplete type
linux.c:285: dereferencing pointer to incomplete type
linux.c:286: dereferencing pointer to incomplete type
linux.c:287: dereferencing pointer to incomplete type
linux.c:287: dereferencing pointer to incomplete type
linux.c:288: dereferencing pointer to incomplete type
linux.c:288: dereferencing pointer to incomplete type
linux.c:327: dereferencing pointer to incomplete type
make[1]: *** [linux.o] Error 1
make[1]: Leaving directory `/var/tmp/firestorm-0.4.4/capdev_plugins'
make: *** [all-recursive] Error 1

Voila,

Hope it is useful for you.

Regards

+-------------------------------------------------------------------------------------------+
    Amr A. Aysha ~ PKI Project Manager

    ICQ #: 146943241

    This message is signed, to check the signature you have to get
    the Medracen Digital Signature's Root certificate, and install it in
    your certificate repository. You may also visite our website at:
    http://www.medracen.net/
+-------------------------------------------------------------------------------------------+
    CONFIDENTIALITY. The information in this e-mail and any attachments
    is confidential. It is intended only for the named recipient(s).
    If you are not the named recipient please notify the sender immediately
    and do not disclose the contents to another person or take copies.
+-------------------------------------------------------------------------------------------+