<div dir="ltr">Hello, <div><br></div><div>I'm trying to build suricata from source on a gentoo linux system.  I've tried stable (2.0.4) and development (2.1beta) sources, and sources from git.  All versions fail with the same error:</div><div><br></div><div><div>  CC       suricata.o</div><div>suricata.c: In function 'SCPrintBuildInfo':</div><div>suricata.c:795:50: error: 'defined' undeclared (first use in this function)</div><div>     printf("compiled with _FORTIFY_SOURCE=%d\n", _FORTIFY_SOURCE);</div><div>                                                  ^</div><div>suricata.c:795:50: note: each undeclared identifier is reported only once for each function it appears in</div><div>suricata.c:795:50: error: expected ')' before numeric constant</div><div>     printf("compiled with _FORTIFY_SOURCE=%d\n", _FORTIFY_SOURCE);</div><div>                                                  ^</div><div>Makefile:1421: recipe for target 'suricata.o' failed</div><div>make[3]: *** [suricata.o] Error 1</div><div>make[3]: Leaving directory '/root/suricata-git/oisf/src'</div><div>Makefile:951: recipe for target 'all' failed</div><div>make[2]: *** [all] Error 2</div><div>make[2]: Leaving directory '/root/suricata-git/oisf/src'</div><div>Makefile:446: recipe for target 'all-recursive' failed</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory '/root/suricata-git/oisf'</div><div>Makefile:375: recipe for target 'all' failed</div><div>make: *** [all] Error 2</div></div><div><br></div><div><br></div><div>TIA for your assistance.</div><div>D</div></div>