Nick:
Quote:
What problems? We cannot solve errors if we don't see the error message.
After having inserted ackmapper.c and ackmapper.h, and after having corrected my makefile, I read these errors:
-------------------------------------------------------
$ make
make smaug
make[1]: Entering directory `/cygdrive/c/smaug/src'
gcc -c -O -g2 -Wall -DI3 -DI3SMAUG ackmapper.c
In file included from ackmapper.c:47:
ackmapper.h:29:1: warning: "/*" within comment
ackmapper.h:40:18: merc.h: No such file or directory
In file included from ackmapper.c:47:
ackmapper.h:43: error: syntax error before '/' token
In file included from ackmapper.c:47:
ackmapper.h:82: error: syntax error before "_of_sight"
ackmapper.c:48:17: gsn.h: No such file or directory
ackmapper.c:121: error: `SECT_TREE' undeclared here (not in a function)
ackmapper.c:121: error: initializer element is not constant
ackmapper.c:121: error: (near initialization for `map_info[17].sector_type')
ackmapper.c:121: error: initializer element is not constant
ackmapper.c:121: error: (near initialization for `map_info[17]')
ackmapper.c:122: error: `SECT_FIRE' undeclared here (not in a function)
ackmapper.c:122: error: initializer element is not constant
ackmapper.c:122: error: (near initialization for `map_info[18].sector_type')
ackmapper.c:122: error: initializer element is not constant
ackmapper.c:122: error: (near initialization for `map_info[18]')
ackmapper.c:123: error: `SECT_QUICKSAND' undeclared here (not in a function)
ackmapper.c:123: error: initializer element is not constant
ackmapper.c:123: error: (near initialization for `map_info[19].sector_type')
ackmapper.c:123: error: initializer element is not constant
ackmapper.c:123: error: (near initialization for `map_info[19]')
ackmapper.c:124: error: `SECT_ETHER' undeclared here (not in a function)
ackmapper.c:124: error: initializer element is not constant
ackmapper.c:124: error: (near initialization for `map_info[20].sector_type')
ackmapper.c:124: error: initializer element is not constant
ackmapper.c:124: error: (near initialization for `map_info[20]')
ackmapper.c:125: error: `SECT_GLACIER' undeclared here (not in a function)
ackmapper.c:125: error: initializer element is not constant
ackmapper.c:125: error: (near initialization for `map_info[21].sector_type')
ackmapper.c:125: error: initializer element is not constant
ackmapper.c:125: error: (near initialization for `map_info[21]')
ackmapper.c:126: error: `SECT_EARTH' undeclared here (not in a function)
ackmapper.c:126: error: initializer element is not constant
ackmapper.c:126: error: (near initialization for `map_info[22].sector_type')
ackmapper.c:126: error: initializer element is not constant
ackmapper.c:126: error: (near initialization for `map_info[22]')
ackmapper.c:128: error: initializer element is not constant
ackmapper.c:128: error: (near initialization for `map_info[23]')
ackmapper.c:489:5: warning: "/*" within comment
ackmapper.c: In function `string_justify':
ackmapper.c:491: error: `pbuf' undeclared (first use in this function)
ackmapper.c:491: error: (Each undeclared identifier is reported only once
ackmapper.c:491: error: for each function it appears in.)
ackmapper.c:496: error: `last' undeclared (first use in this function)
ackmapper.c:506: error: `currline' undeclared (first use in this function)
ackmapper.c:507: error: `pret' undeclared (first use in this function)
ackmapper.c:508: error: `blen' undeclared (first use in this function)
ackmapper.c:508: error: `term_width' undeclared (first use in this function)
ackmapper.c:516: error: `numlines' undeclared (first use in this function)
ackmapper.c:518: error: `ret' undeclared (first use in this function)
ackmapper.c:510: warning: value computed is not used
ackmapper.c: In function `disp_map':
ackmapper.c:594: warning: implicit declaration of function `map_format'
ackmapper.c:594: warning: passing arg 2 of `strcpy' makes pointer from integer w
ithout a cast
ackmapper.c:596: error: `ro' undeclared (first use in this function)
ackmapper.c:596: error: syntax error before "ws"
ackmapper.c:598: warning: passing arg 2 of `strcat' makes pointer from integer w
ithout a cast
ackmapper.c: In function `MapArea':
ackmapper.c:639: error: structure has no member named `nex'
ackmapper.c:640: error: syntax error before "t_in_room"
ackmapper.c:694: error: `door_' undeclared (first use in this function)
ackmapper.c:694: error: syntax error before "type"
ackmapper.c:699: error: `SE' undeclared (first use in this function)
ackmapper.c:699: error: syntax error before "CT_UNSEEN"
ackmapper.c: At top level:
ackmapper.c:709: error: syntax error before "return"
ackmapper.c: In function `do_mapper':
ackmapper.c:883: error: `gsn_spy' undeclared (first use in this function)
make[1]: *** [ackmapper.o] Error 1
make[1]: Leaving directory `/cygdrive/c/smaug/src'
make: *** [all] Error 2
-----------------------------------------------------
I desire to visualize a small map ascii in my mud,
in the more way' simple that exists, that I/you/he/she am easy for one
incapable as me, have already made great footsteps, thanks to all of you!
De Martino