|
Post by byps on Jul 5, 2012 19:23:31 GMT
Hi there, I was trying to install OpenTyrian on Ubuntu 10.04. I got the SDL and SDL_net development libraries and everything worked fine so far.
When I try compiling opentyrian, I get the following messages:
zwergwolf@Lupus:~/opentyrian$ sudo make Nicht vertrauenswürdige Datei /home/zwergwolf/opentyrian/.hg/hgrc vom Nutzer zwergwolf, Gruppe zwergwolf Nicht vertrauenswürdige Datei /home/zwergwolf/opentyrian/.hg/hgrc vom Nutzer zwergwolf, Gruppe zwergwolf cc -c -o obj/opentyr.o -std=c99 -I./src -DTARGET_UNIX -g3 -O0 -Werror -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers '-DHG_REV="c4e51eb465ae default"' -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/opentyr.c cc -c -o obj/params.o -std=c99 -I./src -DTARGET_UNIX -g3 -O0 -Werror -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers '-DHG_REV="c4e51eb465ae default"' -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/params.c cc1: warnings being treated as errors src/params.c: In function ‘JE_paramCheck’: src/params.c:120: error: passing argument 1 of ‘strcpy’ discards qualifiers from pointer target type /usr/include/string.h:127: note: expected ‘char * restrict’ but argument is of type ‘const char *’ make: *** [obj/params.o] Fehler 1 zwergwolf@Lupus:~/opentyrian$ I have no idea what the problem is neither how to fix it. Any ideas?
Thanks, byps
|
|
|
Post by Mindless on Jul 7, 2012 23:49:26 GMT
Fixed; there was a bad change, sorry about that. 
|
|