Hello,
I'm trying to build the SDL version of the newest Sangband on Debian Squeeze, but I'm getting errors.
I'm a newbie on building, but I did manage to build these successfully on the same machine:
- SDL version of Leon's Sangband 1.0.
- Curses version of the newest Sangband (101129)
These are the errors I get:
main-sdl.c:377:71: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c: In function \u2018stretch_recalculate_array_sdl\u2019:
main-sdl.c:377: error: \u2018FREE\u2019 undeclared (first use in this function)
main-sdl.c:377: error: (Each undeclared identifier is reported only once
main-sdl.c:377: error: for each function it appears in.)
main-sdl.c:378:71: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c:657:23: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c: In function \u2018remove_font_sdl\u2019:
main-sdl.c:657: error: \u2018FREE\u2019 undeclared (first use in this function)
main-sdl.c:771:17: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c: In function \u2018create_glyph_surface\u2019:
main-sdl.c:771: error: \u2018FREE\u2019 undeclared (first use in this function)
main-sdl.c:3360:76: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c: In function \u2018hook_quit\u2019:
main-sdl.c:3360: error: \u2018FREE\u2019 undeclared (first use in this function)
main-sdl.c:3361:76: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c:3364:21: error: macro "FREE" requires 2 arguments, but only 1 given
make: *** [main-sdl.o] Error 1
Can someone help?
Mikko
I'm trying to build the SDL version of the newest Sangband on Debian Squeeze, but I'm getting errors.
I'm a newbie on building, but I did manage to build these successfully on the same machine:
- SDL version of Leon's Sangband 1.0.
- Curses version of the newest Sangband (101129)
These are the errors I get:
main-sdl.c:377:71: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c: In function \u2018stretch_recalculate_array_sdl\u2019:
main-sdl.c:377: error: \u2018FREE\u2019 undeclared (first use in this function)
main-sdl.c:377: error: (Each undeclared identifier is reported only once
main-sdl.c:377: error: for each function it appears in.)
main-sdl.c:378:71: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c:657:23: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c: In function \u2018remove_font_sdl\u2019:
main-sdl.c:657: error: \u2018FREE\u2019 undeclared (first use in this function)
main-sdl.c:771:17: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c: In function \u2018create_glyph_surface\u2019:
main-sdl.c:771: error: \u2018FREE\u2019 undeclared (first use in this function)
main-sdl.c:3360:76: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c: In function \u2018hook_quit\u2019:
main-sdl.c:3360: error: \u2018FREE\u2019 undeclared (first use in this function)
main-sdl.c:3361:76: error: macro "FREE" requires 2 arguments, but only 1 given
main-sdl.c:3364:21: error: macro "FREE" requires 2 arguments, but only 1 given
make: *** [main-sdl.o] Error 1
Can someone help?
Mikko
Comment