# Compile error

**URL:** https://community.zeek.org/t/compile-error/171
**Category:** Zeek
**Created:** [July 9, 2001, 6:30am UTC](https://community.zeek.org/t/compile-error/171 "2001-07-09T06:30:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Vern](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/vern/32/630_2.png) [@Vern](https://community.zeek.org/u/Vern)
#### Post date: [July 9, 2001, 6:30am UTC](https://community.zeek.org/t/compile-error/171/1 "2001-07-09T06:30:07Z")

</div>

> c++ -I. -O -I../libpcap-0.4 -Ilinux-include -c Func.cc  
> Func.cc: In function `void do\_fmt (const char \*&, Val \*, ODesc \*)':  
> Func.cc:244: `localtime' undeclared (first use this function)  
> Func.cc:244: (Each undeclared identifier is reported only once for each  
> function it appears in.)  
> Func.cc:244: `strftime' undeclared (first use this function)

Try adding an include of \<time.h\> at the beginning of Func.cc and see  
if that resolves the problem.

&nbsp;&nbsp;&nbsp;&nbsp;Vern

---

<div class="post-metadata">

### Author: ![Ashley\_Thomas1](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@Ashley\_Thomas1](https://community.zeek.org/u/Ashley_Thomas1)
#### Post date: [July 12, 2001, 9:59pm UTC](https://community.zeek.org/t/compile-error/171/2 "2001-07-12T21:59:33Z")

</div>

Hi,

Lot of OS probes works by sending a combination of flags like

SFU12, SF12 etc and seeing how the OS behaves. I was wondering how to detect  
these kind of probes using bro .

I know it can be done easily in the TCPConnection::NextPacket()  
where you have the syn,fin,rst and other flags in separate variables.  
Probably i could look for those pattern call the Weird().

But is that the way to go about it ? Or should the detection be done  
at the bro-script level.

thanks  
Ashley

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)
#### Post date: [May 6, 2022, 3:36pm UTC](https://community.zeek.org/t/compile-error/171/3 "2022-05-06T15:36:21Z")

</div>


