Bug#410555: FTBFS (alpha): 'uchar' undeclared
Falk Hueffner
falk at debian.org
Sun Feb 11 19:20:48 CET 2007
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.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: alpha
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=C, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
More information about the Pkg-games-devel
mailing list