[Oisf-users] Odd build error on hardened-gentoo
Cooper F. Nelson
cnelson at ucsd.edu
Mon Oct 14 21:09:51 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> $ equery list "*gcc*"
> * Searching for *gcc* ...
> [IP-] [ ] sys-devel/gcc-4.6.3:4.6
> [IP-] [ ] sys-devel/gcc-4.7.3-r1:4.7
> [IP-] [ ] sys-devel/gcc-config-1.7.3:0
On 10/14/2013 12:20 AM, Peter Manev wrote:
> On Sun, Oct 13, 2013 at 2:26 AM, Cooper F. Nelson <cnelson at ucsd.edu> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> The suricata dev. branch fails to build on my gentoo system with gcc
>> v4.7.3 with this error:
>>
>>> gcc -DHAVE_CONFIG_H -I. -I.. -I./../libhtp/ -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -DLOCAL_STATE_DIR=\"/var\" -g -O2 -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -march=native -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DHAVE_LIBNET_ICMPV6_UNREACH -I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DHAVE_LIBCAP_NG -DREVISION="64203be" -MT suricata.o -MD -MP -MF .deps/suricata.Tpo -c -o suricata.o suricata.c
>>> suricata.c: In function 'SCPrintBuildInfo':
>>> suricata.c:682:50: error: 'defined' undeclared (first use in this function)
>>> suricata.c:682:50: note: each undeclared identifier is reported only once for each function it appears in
>>> suricata.c:682:50: error: expected ')' before numeric constant
>>> make[3]: *** [suricata.o] Error 1
>>
>> Reverting to gcc v.4.6.3 fixes this issue. Suricata 2.0 beta 1 builds
>> fine.
>>
>> I'm not filing a bug report as this could very well be an issue unique
>> to my environment, I'm more curious too see if anyone else has
>> encountered this.
>>
>
> What does - equery list "*gcc*" - show?
>
>
- --
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/
iQEcBAEBAgAGBQJSXF2fAAoJEKIFRYQsa8FWeskIAMsUrbODpeTzqg0wqJ4AdMtz
EwbGdRr4qKVt9xAmVC0cVcVxG8PXAzqfTx+cjZLFDxzs14YS7rUo9Nqg0ivZ0OpO
KdGudKjslrSVEgghJIpWr7x2xmemNsnccTU+LHGkq2dskttfvEeBF7sQsasw7bnz
t8XCSWyTO4/EqJOV+0BqXOxaRMO68+dgz1xfGj6ZHF+Q5hMYNIlyVTuPB4qHyxe/
mhA1ZxHHXJ/eI1xLRyJtmAIkyW+VUCFhm+N2R77iz2of7ad8LMfHvN3cMYpeqn5r
kg0n4BrtVnPJc315oy2xmDiIzFgzGX3/4sx70gPUX63KowTNUWAl2Dlj2lUhO1U=
=3uO8
-----END PGP SIGNATURE-----
More information about the Oisf-users
mailing list