[Oisf-users] Odd build error on hardened-gentoo

Cooper F. Nelson cnelson at ucsd.edu
Mon Oct 14 21:49:14 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok its apparently not defined as I didn't get any results:

> $ cpp src/suricata.c -I/usr/include/htp/ -I. -I/usr/include/nss/ -I/usr/include/nspr/ | grep _FORTIFY_SOURCE
> In file included from src/suricata.c:24:0:
> src/suricata-common.h:44:2: warning: #warning "L1 cache line size not detected during build. Assuming 64 bytes." [-Wcpp]

I'm also seeing lots of this warning while compiling:

> <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]


On 10/14/2013 4:12 AM, Victor Julien wrote:
> $ cpp src/suricata.c -I/opt/htp-0.5.x/include/ -I. -I/usr/include/nss/
> -I/usr/include/nspr/|grep _FORTIFY_SOURCE
> In file included from src/suricata.c:24:0:
> src/suricata-common.h:44:2: warning: #warning "L1 cache line size not
> detected during build. Assuming 64 bytes." [-Wcpp]
>     printf("compiled with _FORTIFY_SOURCE=%d\n", 2);
> 
> So in my case _FORTIFY_SOURCE is defined as 2.
> 
> Can you try this as well and post the results? You may have to adapt
> the -I options to include your own "include" paths. cpp will error out
> if you get them wrong.
> 
> _______________________________________________
> Suricata IDS Users mailing list: oisf-users at openinfosecfoundation.org
> Site: http://suricata-ids.org | Support: http://suricata-ids.org/support/
> List: https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
> OISF: http://www.openinfosecfoundation.org/
> 

- -- 
Cooper Nelson
Network Security Analyst
UCSD ACT Security Team
cnelson at ucsd.edu x41042
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSXGbaAAoJEKIFRYQsa8FWQSEIAKoWmisH1jMMf3w57hNWQ4LN
rQp1/0wor2cgObppLdT7KiRmmFyOIlqM7IK1vcVclGk2UHKucxxXJJFBeCGPHqcN
cTxQwLxVSFOSCStH4MdgcthGR1oxDCM6hylbKTksr3W7jqNPcJRcr/5zTwjt72Cn
1SUOV9d2pX++BxumjyPX4U0pw+qn0mfjXNhMAQYeuVQHaB9b7GS9/YbcVxey8sIW
r4zYH9A5T0znkwVr3DndueM5N49GU3SCM3Vw3hGTH29JP4GtSeAjWBVbn4/fCP5o
vIud5mLHVk7f8GMhh6DRQfDJM/gr79BUhZvssp34emCrYCTX+KbT3qIinIqdw60=
=jtaN
-----END PGP SIGNATURE-----



More information about the Oisf-users mailing list