[Snort-devel] I have a problem...

Tommy tommy_the_real at ...398...
Tue Jun 17 05:46:17 EDT 2003


Hi everybody, 
I'm working on Spade trying to improve it, so I added
some lines in 'netspade.c' then re-compiled the spade
and snort distribition. 'make' in spade was well done,
but in snort there was two errors generated! the
problem is that errors are about the
'/snort~/src/packet.c' that I didn't edit!
I noticed that this file didn't exist before compiling
snort!?
here you are the last lines generated by launching
'make' in snort:
*************
packets.o: In function `ClonePacket':
~/snort-1.9.0/src/packets.c:106: multiple definition
of `ClonePacket'
packets.o:~/snort-1.9.0/src/packets.c:106: first
defined here
packets.o: In function `FreePacket':
~/snort-1.9.0/src/packets.c:256: multiple definition
of `FreePacket'
packets.o:~/snort-1.9.0/src/packets.c:256: first
defined here
collect2: ld returned 1 exit status
make[3]: *** [snort] Erreur 1
make[3]: Quitte le répertoire `~/snort-1.9.0/src'
make[2]: *** [all-recursive] Erreur 1
make[2]: Quitte le répertoire `~/snort-1.9.0/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `~/snort-1.9.0'
make: *** [all-recursive-am] Erreur 2
*************
What I have done is just declaring a new file in the
function 'netspade_new_pkt' to print into it the
'pkt->time'..
What is the goal of packet.c? So what is the solution
to print the time of occurence of each packet in a
file??
Please reply to me, I need HELP :(
Thank you for every suggestion.
T.A.




=====


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com




More information about the Snort-devel mailing list