failure building argus-client
Peter Van Epp
vanepp at sfu.ca
Wed Aug 9 15:56:55 EDT 2006
And there is your problem:
ranlib ../lib/argus_parse.a
gcc -O2 -I. -I../include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DSTDC_HEADERS=1 -c ./gencode.c
./gencode.c:235: error: static declaration of 'ArgusNetMask' follows non-static declaration
../include/argus_parse.h:1522: error: previous declaration of 'ArgusNetMask' was here
make[1]: *** [gencode.o] Error 1
make[1]: Leaving directory `/usr/local/src/argus-clients-2.0.6/common'
` The error in gencode causes the rest of the build to fail. What I don't
immediately know is why since fixes.1 looks to be incorrect too (and is the
oldest I have to hand):
../include/argus_parse.h says:
extern unsigned int ArgusLocalNet, ArgusNetMask;
which is different than
static u_int ArgusNetMask;
I'd probably be tempted to add a static to
../include/argus_parse.h
as in
extern static unsigned int ArgusNetMask;
extern unsigned int ArgusLocalNet;
to match up the types. I don't know if that will break something else though
as noted 2.0.6.fixes.1 compiles on everything here as is.
You also may want to try argus-clients.2.0.6.fixes.1.tar.gz
from ftp:/qosient.com in /dev/argus-2.0 which is a bug fix release of 2.0.6
although there are 4 or 5 more patches that haven't been collected for that
version too.
The latest development version is in
/dev/argus-3.0/argus-clients-3.0.0.rc.24.tar.gz
although there are patches needed for both server and client to compile at
present (the client patch was posted to the list, I haven't yet done the same
for server patch yet, probably later today).
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
Wed, Aug 09, 2006 at 03:15:53PM -0400, George Nychis wrote:
> Hey Peter,
>
> Here is the full output:
> http://bugs.gentoo.org/attachment.cgi?id=93861&action=view
>
> - George
>
> Peter Van Epp wrote:
> >On Wed, Aug 09, 2006 at 10:23:50AM -0400, George Nychis wrote:
> >
> >>Hey,
> >>
> >>I am having trouble building argus-client, i keep getting these errors:
> >>
> >>i686-pc-linux-gnu-gcc: ../lib/argus_common.a: No such file or directory
> >>i686-pc-linux-gnu-gcc: ../lib/argus_client.a: No such file or directory
> >>make[2]: *** [../bin/ragrep] Error 1
> >>make[2]: Leaving directory `/usr/local/src/argus-clients-2.0.6/ragrep'
> >>
> >>I'd greatly appreciate any help, I can't find argus_common.a in the argus
> >>source package or the argus-client source package
> >>
> >>- George
> >>
> >>
> >
> > argus_common.a gets built at the top of the make file. Something in
> > the
> >common directory is failing to build (and will have given you an error
> >message).
> >If you post that error we can probably help you.
> >
> >Peter Van Epp / Operations and Technical Support
> >Simon Fraser University, Burnaby, B.C. Canada
> >
> >
More information about the argus
mailing list