Ackmapper Help

Posted by Minamus on Thu 21 Apr 2016 03:28 PM — 2 posts, 10,836 views.

#0
I've been working on getting the Ackmapper to work with smaug 1.4 (i know its an old code) but a coder helping me got it down to these errors.

I'm completely lost on how to fix this because i'm not a coder and he is learning as well.

ackmapper.c: In function 'exit_string':
ackmapper.c:538:17: warning: implicit declaration of function 'exit_name' [-Wimplicit-function-declaration]

ackmapper.c:538:17: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat]
ackmapper.c: In function 'disp_map':

ackmapper.c:569:9: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat]

ackmapper.c: In function 'MapArea':

ackmapper.c:648:46: error: 'EXIT_DATA' has no member named 'rdir'

make[1]: *** [ackmapper.o] Error 1

make: *** [all] Error 2
Australia Forum Administrator #1
You've got one error and 3 warnings.

It's hard (impossible?) to say without seeing the code, but it looks like you are attempting to use a field "rdir" in a structure EXIT_DATA, which does not exist.