Unable to Compile Argus on Solaris 10
Welland, Neal
N.Welland at warwick.ac.uk
Mon Jan 21 10:59:12 EST 2013
Hi,
We are trying to build argus v.3.0.4 on a Solaris 10 (10/09 s10x_u8wos_08a X86) server, but it fails.
We followed the instructions in the INSTALL file, and have the following dependencies installed:
Libpcap = v1.2.1
Bison = v2.5
Flex = v2.5.4
TCPwrappers = 7.6_ipv6.4
Gcc = v4.6.3 (the only compiler available)
./configure seems to execute without error.
Executing make results in:
bash-3.2$ sudo make
Password:
### Making in /var/tmp/argus-3.0.4/common
gcc -O3 -I. -I/opt/csw/include -I./../include -I./../argus -DHAVE_CONFIG_H -c argus_util.c
In file included from ./../argus/ArgusModeler.h:330:0,
from ./../argus/argus.h:40,
from argus_util.c:68:
./../argus/ArgusSource.h:90:2: error: unknown type name 'u_int8_t'
./../argus/ArgusSource.h:91:2: error: unknown type name 'u_int8_t'
./../argus/ArgusSource.h:95:38: error: unknown type name 'u_int8_t'
./../argus/ArgusSource.h:97:39: error: unknown type name 'u_int8_t'
./../argus/ArgusSource.h:98:40: error: unknown type name 'u_int16_t'
./../argus/ArgusSource.h:99:40: error: unknown type name 'u_int32_t'
./../argus/ArgusSource.h:100:40: error: unknown type name 'u_int64_t'
argus_util.c:273:22: fatal error: byteswap.h: No such file or directory
compilation terminated.
*** Error code 1
make: Fatal error: Command failed for target `argus_util.o'
Current working directory /var/tmp/argus-3.0.4/common
### Done with /var/tmp/argus-3.0.4/common
### Making in /var/tmp/argus-3.0.4/argus
gcc -O3 -I. -I/opt/csw/include -I./../include -DHAVE_CONFIG_H -c argus.c
In file included from ./ArgusModeler.h:330:0,
from ./argus.h:40,
from argus.c:58:
./ArgusSource.h:90:2: error: unknown type name 'u_int8_t'
./ArgusSource.h:91:2: error: unknown type name 'u_int8_t'
./ArgusSource.h:95:38: error: unknown type name 'u_int8_t'
./ArgusSource.h:97:39: error: unknown type name 'u_int8_t'
./ArgusSource.h:98:40: error: unknown type name 'u_int16_t'
./ArgusSource.h:99:40: error: unknown type name 'u_int32_t'
./ArgusSource.h:100:40: error: unknown type name 'u_int64_t'
*** Error code 1
make: Fatal error: Command failed for target `argus.o'
Current working directory /var/tmp/argus-3.0.4/argus
### Done with /var/tmp/argus-3.0.4/argus
### Making in /var/tmp/argus-3.0.4/events
### Done with /var/tmp/argus-3.0.4/events
After a little googling I see that "u_intX_t" should actually be "uintX_t", as defined in /usr/include/sys/types.h.
Configure seems to check for "uintX_t", so why is the code using the older definitions?
Regards,
--
Neal Welland, Information Security Analyst. War-CSIIRT<http://www.first.org/members/teams/war-csiirt>
University of Warwick, IT Services, Coventry CV4 8UW, UK
E: n.welland at warwick.ac.uk<mailto:n.welland at warwick.ac.uk> M: 07880 175391
PGP keys available: http://keys.warwick.ac.uk<http://keys.warwick.ac.uk/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20130121/e0cda914/attachment.html>
More information about the argus
mailing list