[Oisf-users] Build error
Peter Manev
petermanev at gmail.com
Tue Nov 25 10:23:41 UTC 2014
On Tue, Nov 25, 2014 at 1:34 AM, Data King <dataking at gmail.com> wrote:
> Hello,
>
> 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:
>
> CC suricata.o
> suricata.c: In function 'SCPrintBuildInfo':
> suricata.c:795:50: error: 'defined' undeclared (first use in this function)
> printf("compiled with _FORTIFY_SOURCE=%d\n", _FORTIFY_SOURCE);
> ^
> suricata.c:795:50: note: each undeclared identifier is reported only once
> for each function it appears in
> suricata.c:795:50: error: expected ')' before numeric constant
> printf("compiled with _FORTIFY_SOURCE=%d\n", _FORTIFY_SOURCE);
> ^
> Makefile:1421: recipe for target 'suricata.o' failed
> make[3]: *** [suricata.o] Error 1
> make[3]: Leaving directory '/root/suricata-git/oisf/src'
> Makefile:951: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> make[2]: Leaving directory '/root/suricata-git/oisf/src'
> Makefile:446: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/root/suricata-git/oisf'
> Makefile:375: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> TIA for your assistance.
> D
>
What is your config line command?
Thanks
--
Regards,
Peter Manev
More information about the Oisf-users
mailing list