Package: scrollz
Severity: normal
Tags: patch

When building 'scrollz' on amd64 with gcc-4.0,
I get the following error:

gcc -I../include -g -O2 -DHAVE_CONFIG_H  -c rijndael-alg-ref.c
rijndael-alg-ref.c:39: error: array type has incomplete element type
rijndael-alg-ref.c:39: error: array type has incomplete element type
rijndael-alg-ref.c:40: error: array type has incomplete element type
rijndael-alg-ref.c:41: error: array type has incomplete element type
rijndael-alg-ref.c:42: error: array type has incomplete element type
rijndael-alg-ref.c:43: error: array type has incomplete element type
make[2]: *** [rijndael-alg-ref.o] Error 1
make[2]: Leaving directory `/scrollz-1.9.2/source'

With the attached patch 'scrollz' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/scrollz-1.9.2/source/rijndael-alg-ref.c 
./source/rijndael-alg-ref.c
--- ../tmp-orig/scrollz-1.9.2/source/rijndael-alg-ref.c 2002-01-21 
22:37:36.000000000 +0100
+++ ./source/rijndael-alg-ref.c 2005-03-18 20:36:39.578769821 +0100
@@ -36,11 +36,6 @@
 }; 
 
 word8 mul(word8, word8);
-void KeyAddition(word8 [][], word8 [][], word8);
-void Substitution(word8 [][], word8 box[], word8);
-void ShiftRow(word8 [][], word8, word8);
-void MixColumn(word8 [][], word8);
-void InvMixColumn(word8 [][], word8);
 
 word8 mul(word8 a, word8 b) {
    /* multiply two elements of GF(2^m)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to