Bug#410555: FTBFS (alpha): 'uchar' undeclared

Eddy Petrișor eddy.petrisor at gmail.com
Mon Feb 12 18:42:39 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Falk Hueffner wrote:
> Package: openarena
> Version: 0.6.0-2
> Severity: important
> Justification: fails to build from source
> 
> openarena does not build on Alpha:
> 
> [...]
> gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-axp/cpp/cpp.o cpp/cpp.c
> In file included from cpp/cpp.c:6:
> cpp/cpp.h:45: error: expected specifier-qualifier-list before 'uchar'
> cpp/cpp.h:59: error: expected specifier-qualifier-list before 'uchar'
> cpp/cpp.h:69: error: expected specifier-qualifier-list before 'uchar'
> cpp/cpp.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> cpp/cpp.c:15: error: 'uchar' undeclared here (not in a function)
> [...]
> 
> The reason is this chunk in code/tools/lcc/cpp/cpp.h:
> 
> #ifndef __alpha
> typedef unsigned char uchar;
> #endif
> 
> Probably was is supposed to avoid a double definition. If I just
> remove the check, it builds fine, except that it fails later:
> 
> cp build/release-linux-alpha/ioquake3.alpha debian/tmp/openarena.bin
> cp: cannot stat `build/release-linux-alpha/ioquake3.alpha': No such file or directory
> 
> There seems to be some "alpha" vs. "axp" confusion here, since the dir
> is called build/release-linux-axp.

Since we, the Debian Games Team don't have access to alpha hardware to
test things we would appreciate a patch.

TIA

- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF0KcPY8Chqv3NRNoRAstaAKCv7WhaELneB1uU0Tpz7qDZEvQMrwCff/XT
ARCJR2MXVaptil8JVf8F1yM=
=2ItP
-----END PGP SIGNATURE-----




More information about the Pkg-games-devel mailing list