[Bro] Bro-1.0 - error in compilation

Ruoming Pang (庞若鸣) rpang at cs.princeton.edu
Thu Nov 3 21:29:56 PST 2005


In case asprintf is not in your stdio.h, please try the following patch 
on src/binpac/pac.h:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 95 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20051104/feb5cc2d/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pac.h.diff
Type: application/octet-stream
Size: 653 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20051104/feb5cc2d/attachment.obj 
-------------- next part --------------


Thanks,
Ruoming

On Nov 3, 2005, at 6:58 PM, Ruoming Pang (???) wrote:

> Please add #include <stdio.h> to pac.h. (Vern: could you add this to  
> the Bro 1.0 release? Thanks!)
>
> Ruoming
>
> On Nov 3, 2005, at 4:18 PM, Anton Chuvakin, Ph.D. wrote:
>
>> Hello,
>>
>> Here is another compile error, any pointers?
>>
>> make[4]: Entering directory `/home/anton/bro-1.0/src/binpac'
>> source='pac_parse.cc' object='pac_parse.o' libtool=no \
>> depfile='.deps/pac_parse.Po' tmpdepfile='.deps/pac_parse.TPo' \
>> depmode=gcc3 /bin/sh ../../depcomp \
>> g++ -DHAVE_CONFIG_H -I. -I. -I../..  -W -Wall -Wno-unused   -g -O2 -c  
>> -o pac_parse.o `test -f pac_parse.cc || echo './'`pac_parse.cc
>> In file included from pac_parse.yy:48:
>> pac.h: In method `Object::Object ()':
>> pac.h:27: `asprintf' undeclared (first use this function)
>> pac.h:27: (Each undeclared identifier is reported only once for each
>> function it appears in.)
>> make[4]: *** [pac_parse.o] Error 1
>> make[4]: Leaving directory `/home/anton/bro-1.0/src/binpac'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/home/anton/bro-1.0/src'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory `/home/anton/bro-1.0/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/anton/bro-1.0'
>> make: *** [all] Error 2
>>
>> Best,
>> -- Anton Chuvakin, Ph.D., GCIA, GCIH, GCFA
>> Security Strategist
>> Product Management Group
>> netForensics -  http://www.netForensics.com
>> 732-393-6071
>> ********************************************************************** 
>> ****************************
>> The contents of this email and any attachments are confidential.
>> They are intended for the named recipient(s) only.
>> If you have received this email in error please notify the system  
>> manager or  the sender immediately and do not disclose the contents  
>> to anyone or make copies.
>>
>> ** This e-mail  has been scanned for viruses, vandals and malicious  
>> content. **
>> ********************************************************************** 
>> ****************************
>> _______________________________________________
>> Bro mailing list
>> bro at bro-ids.org
>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2370 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20051104/feb5cc2d/attachment-0001.bin 


More information about the Bro mailing list