[Aide] Trouble compiling

Eric Webster ewebster at 2co.com
Mon Apr 9 23:06:27 EEST 2007


How are you installing/compiling mhash?

tar -zxf mhash-0.9.7.1.tar.gz
cd mhash-0.9.7.1
./configure --enable-static=yes
make
make install
make check

Is how we do it, the enable-static is needed for AIDE to compile for us. If
nothing else, the make check might help you find other problems assuming it
wasn't installed from a .deb package.

Eric Webster
Enterprise Services
2CheckOut.com 

 

> -----Original Message-----
> From: aide-bounces at cs.tut.fi [mailto:aide-bounces at cs.tut.fi] 
> On Behalf Of James Miller
> Sent: Monday, April 09, 2007 3:33 PM
> To: 'Aide user mailinglist'
> Subject: [Aide] Trouble compiling
> 
> Hi everyone,
> 
> I was hoping someone might have an idea why I'm getting the 
> following errors
> when trying to compile aide-0.13.1.  I'm running Debian Sarge 
> with all the
> updates.
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -static -g -O2 
> -static  -g
> -O2 -static -c `test -f 'md.c' || echo './'`md.c
> In file included from md.c:23:
> ../include/md.h:137: `MHASH_RIPEMD320' undeclared here (not 
> in a function)
> ../include/md.h:137: size of array `mhash_mdh' has non-integer type
> md.c: In function `hash_mhash2attr':
> md.c:141: `MHASH_SHA512' undeclared (first use in this function)
> md.c:141: (Each undeclared identifier is reported only once
> md.c:141: for each function it appears in.)
> md.c: In function `init_md':
> md.c:181: `MHASH_RIPEMD320' undeclared (first use in this function)
> md.c: In function `update_md':
> md.c:242: `MHASH_RIPEMD320' undeclared (first use in this function)
> md.c: In function `close_md':
> md.c:269: `MHASH_RIPEMD320' undeclared (first use in this function)
> md.c:313: `MHASH_SHA512' undeclared (first use in this function)
> make[2]: *** [md.o] Error 1
> make[2]: Leaving directory `/usr/src/aide-0.13.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/aide-0.13.1'
> make: *** [all] Error 2
> 
> 
> 
> 
> 
> 
> Thanks,
> Jim
> 
> 
> _______________________________________________
> Aide mailing list
> Aide at cs.tut.fi
> https://mailman.cs.tut.fi/mailman/listinfo/aide
> 



More information about the Aide mailing list