Argus failed to compile on Ubuntu Server 11.10

CS Lee geek00l at
Sun Nov 27 09:06:37 EST 2011

hi Carter,

It seems the latest argus fails to compile on Ubuntu Server 11.10, I have
./configure run, then got this result when make

make[1]: Entering directory `/home/cslee/argus-'
gcc -O3 -I. -I/usr/include -I./../include  -DHAVE_CONFIG_H -c argus.c
argus.c: In function ‘ArgusParseResourceFile’:
argus.c:1247:42: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result [-Wunused-result]
gcc -O3 -I. -I/usr/include -I./../include  -DHAVE_CONFIG_H -c ArgusModeler.c
ArgusModeler.c: In function ‘ArgusProcessPacketHdrs’:
ArgusModeler.c:683:24: error: ‘IPPROTO_TTP’ undeclared (first use in
this function)
ArgusModeler.c:683:24: note: each undeclared identifier is reported only
once for each function it appears in
make[1]: *** [ArgusModeler.o] Error 1
make[1]: Leaving directory `/home/cslee/argus-'
### Done with /home/cslee/argus-
### Making in /home/cslee/argus-
make[1]: Entering directory `/home/cslee/argus-'
sed 's+ at PERLBIN@+/usr/bin/perl+' > ../bin/argus-lsof
chmod +x ../bin/argus-lsof
cp -f ../bin/argus-snmp
cp -f ../bin/argus-vmstat
make[1]: Leaving directory `/home/cslee/argus-'
### Done with /home/cslee/argus-

I go to the file ArgusModeler.c and check line 683

case IPPROTO_TTP: { /* Preparation for Juniper TTP */
                     retn = ArgusProcessTtpHdr(model, ip, length);

I don't see IPPROTO_TTP is declared anyway but you do have IPPROTO_TCP,
therefore I just changed it to IPPROTO_TCP and it compiles succesfully,
however I'm not sure if I break things here since in your comment it states
"Preparation for Juniper TTP". I make a quick guess it should be TCP
instead since the next few lines show UDP processing.


Best Regards,

CS Lee<geek00L[at]>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the argus mailing list