Cannot even compile Wine

Nigel Horne njh%smsltd.demon.co.uk at nospam.demon.co.uk
Tue Apr 17 05:15:06 CDT 2001


eric pouech wrote:

> sounds like a compiler issue (the forward declaration of the table is
> undertood as a definition)
> try to move the error_table from the end of the file
> (dlls/ntdll/error.c)
> at the top of the file (to remove the declaration line 21)

That causes this error for me:

<snip>

error.c:23: `table_00000103' undeclared here (not in a function)
error.c:23: initializer element for `error_table[0].table' is not constant
error.c:24: `table_40000002' undeclared here (not in a function)
error.c:24: initializer element for `error_table[1].table' is not constant
error.c:25: `table_40020056' undeclared here (not in a function)
error.c:25: initializer element for `error_table[2].table' is not constant
error.c:26: `table_400200af' undeclared here (not in a function)
error.c:26: initializer element for `error_table[3].table' is not constant
error.c:27: `table_80000001' undeclared here (not in a function)
error.c:27: initializer element for `error_table[4].table' is not constant
error.c:28: `table_80090300' undeclared here (not in a function)
error.c:28: initializer element for `error_table[5].table' is not constant
error.c:29: `table_c0000001' undeclared here (not in a function)
error.c:29: initializer element for `error_table[6].table' is not constant
error.c:30: `table_c0000202' undeclared here (not in a function)
error.c:30: initializer element for `error_table[7].table' is not constant
error.c:31: `table_c0020001' undeclared here (not in a function)
error.c:31: initializer element for `error_table[8].table' is not constant
error.c:32: `table_c0030001' undeclared here (not in a function)
error.c:32: initializer element for `error_table[9].table' is not constant
error.c:33: `table_c0030059' undeclared here (not in a function)
error.c:33: initializer element for `error_table[10].table' is not constant
make[2]: *** [error.o] Error 1
make[2]: Leaving directory `/usr/src/wine-20010305/dlls/ntdll'
make[1]: *** [ntdll/libntdll.so] Error 2
make[1]: Leaving directory `/usr/src/wine-20010305/dlls'
make: *** [dlls] Error 2
 
Compilation failed, aborting install.

-- 
Nigel Horne. Arranger, Composer, Conductor, Typesetter.
Owner of the brass band group of the Internet. ICQ#20252325
njh at bandsman.co.uk http://www.bandsman.co.uk/music.htm



More information about the wine-users mailing list