Hallo, ich versuche LDMud unter Ubuntu zu kompilieren. Es gibt aber Fehler die ich nicht kenne:
root@spiegel:/opt/mud/src# make
./mk-patchlevel.sh
./mk_bytecode_gen.sh > bytecode_gen.h
gcc -std=gnu99 -m32 -fwrapv -O2 -g -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/mud/lib"' -DBINDIR='"/usr/local/mud/bin"' -DERQ_DIR='"/usr/local/mud/libexec"' -c -o access_check.o access_check.c
In file included from driver.h:15,
from access_check.c:92:
config.h:333: error: stray ‘@’ in program
config.h:333: error: stray ‘@’ in program
config.h:333: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TLS_DEFAULT_KEYDIRECTORY’
config.h:333: error: stray ‘@’ in program
config.h:333: error: stray ‘@’ in program
config.h:362: error: stray ‘@’ in program
config.h:362: error: stray ‘@’ in program
In file included from port.h:67,
from driver.h:18,
from access_check.c:92:
/usr/include/sys/types.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_char’
access_check.c: In function ‘read_access_file’:
access_check.c:342: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
access_check.c:362: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
access_check.c:389: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
make: *** [access_check.o] Fehler 1
Vorher hab ich das ./configure gemacht, was sauber durchlief. Hier die Dinge die mit "no" erfasst wurden. Einen Zusammenhang (fehlende ABhängigkeit)sehe ich aber nicht:
root@spiegel:/opt/mud/src# ./configure |grep no
checking whether we are cross compiling... no
checking for gcc option to accept ISO C89... none needed
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for library containing opendir... none required
checking for trunc... no
checking for main in -lsocket... no
checking for main in -lucb... no
checking if -lresolv is needed... no
checking for crypt... no
checking for _crypt... no
checking for _crypt... no
checking for OpenSSL support... no
checking for GnuTLS support... no
checking for main in -lpcre... no
checking for iconv... (cached) no
checking idna.h usability... no
checking idna.h presence... no
checking for idna.h... no
checking stringprep.h usability... no
checking stringprep.h presence... no
checking for stringprep.h... no
checking for stringprep_check_version in -lidn... no
checking for mySQL... no
checking for PostgresSQL... no
checking if strtol broken... no
Weis da jemand was ich noch versuchen kann?