compiling prob - also posted on gen development
Posted: Sat 12.05.2007, 18:56
sorry for the double posting. i wasn't sure which forum was correct.
i'm using ubuntu 6.10. i downloaded the file from mangband.org and can use the ready binary, mangclient. i wanted to compile, though, and when i try to make in src file i get this error message:
gcc -Wall -g -pipe -D"USE_GCU" -I/usr/include/lncurses -o server/netserver.o -c server/netserver.c
server/netserver.c:101: error: static declaration of ‘Id’ follows non-static declaration
server/externs.h:18: error: previous declaration of ‘Id’ was here
server/netserver.c: In function ‘change_password’:
server/netserver.c:5107: warning: control reaches end of non-void function
make: *** [server/netserver.o] Error 1
can anyone tell me how to fix this, please?
thanks,
rich
:'( ???
i'm using ubuntu 6.10. i downloaded the file from mangband.org and can use the ready binary, mangclient. i wanted to compile, though, and when i try to make in src file i get this error message:
gcc -Wall -g -pipe -D"USE_GCU" -I/usr/include/lncurses -o server/netserver.o -c server/netserver.c
server/netserver.c:101: error: static declaration of ‘Id’ follows non-static declaration
server/externs.h:18: error: previous declaration of ‘Id’ was here
server/netserver.c: In function ‘change_password’:
server/netserver.c:5107: warning: control reaches end of non-void function
make: *** [server/netserver.o] Error 1
can anyone tell me how to fix this, please?
thanks,
rich
:'( ???