[Snowball-discuss] Converting and compiling the stemmer sources

Dirk Weissmann dirweis at web.de
Fri Feb 10 11:37:05 GMT 2006


Dear Snowball developers,

my name is Dirk Weissmann and I tried to convert and compile the Snowball source file (the example file which contains the original algorithm for English). The program built two ANSI C source files: english.c and english.h. As I tried to compile them and build the biary file 'english' the compiler didn't compile it; there were numerous warnings and errors, e.g.:

english.c:67: warning: (near initialization for 'a_2[6].starter')
english.c:68: warning: initialization makes pointer from integer without a cast
english.c:68: warning: initialization from incompatible pointer type
english.c:68: warning: missing initializer
english.c:68: warning: (near initialization for 'a_2[7].starter')
english.c:69: warning: initialization makes pointer from integer without a cast
english.c:69: warning: initialization from incompatible pointer type
english.c:69: warning: missing initializer
english.c:69: warning: (near initialization for 'a_2[8].starter')
english.c:70: warning: initialization makes pointer from integer without a cast
english.c:70: warning: initialization from incompatible pointer type
english.c:70: warning: missing initializer
english.c:70: warning: (near initialization for 'a_2[9].starter')
english.c:71: warning: initialization makes pointer from integer without a cast
english.c:71: warning: initialization from incompatible pointer type
english.c:71: warning: missing initializer
english.c:71: warning: (near initialization for 'a_2[10].starter')
english.c:72: warning: initialization makes pointer from integer without a cast
english.c:72: warning: initialization from incompatible pointer type
english.c:72: warning: missing initializer
english.c:72: warning: (near initialization for 'a_2[11].starter')
english.c:73: warning: initialization makes pointer from integer without a cast
english.c:73: warning: initialization from incompatible pointer type
english.c:73: warning: missing initializer
english.c:73: warning: (near initialization for 'a_2[12].starter')
english.c:76: error: syntax error before 's_3_0'
english.c:76: warning: type defaults to 'int' in declaration of 's_3_0'
english.c:76: warning: data definition has no type or storage class
english.c:77: error: syntax error before 's_3_1'
english.c:77: warning: type defaults to 'int' in declaration of 's_3_1'
english.c:77: warning: data definition has no type or storage class
english.c:78: error: syntax error before 's_3_2'
english.c:78: warning: type defaults to 'int' in declaration of 's_3_2'
english.c:78: warning: data definition has no type or storage class
english.c:79: error: syntax error before 's_3_3'
english.c:79: warning: type defaults to 'int' in declaration of 's_3_3'
english.c:79: warning: data definition has no type or storage class
english.c:80: error: syntax error before 's_3_4'
english.c:80: warning: type defaults to 'int' in declaration of 's_3_4'
english.c:80: warning: data definition has no type or storage class
english.c:81: error: syntax error before 's_3_5'
english.c:81: warning: type defaults to 'int' in declaration of 's_3_5'
english.c:81: warning: data definition has no type or storage class
english.c:84: warning: initialization makes pointer from integer without a cast
english.c:84: warning: initialization from incompatible pointer type
english.c:84: warning: missing initializer
english.c:84: warning: (near initialization for 'a_3[0].starter')
english.c:85: warning: initialization makes pointer from integer without a cast
english.c:85: warning: initialization from incompatible pointer type
english.c:85: warning: missing initializer
english.c:85: warning: (near initialization for 'a_3[1].starter')
english.c:86: warning: initialization makes pointer from integer without a cast
english.c:86: warning: initialization from incompatible pointer type
english.c:86: warning: missing initializer
english.c:86: warning: (near initialization for 'a_3[2].starter')

I couldn't find the point (I think there are not many errors in the source files, the problem must be more trivial because it's mostly the same error in many cases). Maybe it has something to do with some makefile? Could you help me?

Grateful thanks for helping answers!
Have a nice weekend!

-- 
[nam] Dirk Weissmann
[tel] 0151-17784878
[adr] Am kronenburger Hof 3 69221 Dossenheim
[home] www.cl.uni-heidelberg.de/~weissman

______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1776 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.tartarus.org/mailman/private/snowball-discuss/attachments/20060210/6271ed77/smime.bin


More information about the Snowball-discuss mailing list