block 358746 by 356490 kthxbye On Fri, Mar 24, 2006 at 10:40:00 +0100, [EMAIL PROTECTED] wrote:
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" > -I../intl -g -O2 -I/usr/include -Wall -MT mcrypt.o -MD -MP -MF > ".deps/mcrypt.Tpo" \ > -c -o mcrypt.o `test -f 'mcrypt.c' || echo './'`mcrypt.c; \ > then mv ".deps/mcrypt.Tpo" ".deps/mcrypt.Po"; \ > else rm -f ".deps/mcrypt.Tpo"; exit 1; \ > fi > mcrypt.c: In function 'check_hash_algo': > mcrypt.c:112: warning: pointer targets in assignment differ in signedness > mcrypt.c: In function 'mcrypt_version': > mcrypt.c:135: error: 'VERSION' undeclared (first use in this function) > mcrypt.c:135: error: (Each undeclared identifier is reported only once > mcrypt.c:135: error: for each function it appears in.) > make[3]: *** [mcrypt.o] Error 1 Hi, this build failure is caused by the workaround for bug#356490 in libmhash-dev. In mcrypt, VERSION is correctly defined in config.h, which is included by src/mcrypt.c via src/defines.h. However, defines.h also includes <mhash.h>, which has a "#undef VERSION". A fix would be to replace VERSION by something less generic in mcrypt, at least until mhash.h is fixed. Cheers, Julien Cristau
signature.asc
Description: Digital signature