I've downloaded cvs freeciv, to use sdl cliente, I configured with ./configure --enable-client=sdl but when I compile it said:
make[4]: Entering directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv/client/gui-sdl'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../common -I../../common/aicore -I../../intl -I./../agents -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -I/usr/include/SDL -D_REENTRANT -MT mapview.o -MD -MP -MF ".deps/mapview.Tpo" \
-c -o mapview.o `test -f 'mapview.c' || echo './'`mapview.c; \
then mv -f ".deps/mapview.Tpo" ".deps/mapview.Po"; \
else rm -f ".deps/mapview.Tpo"; exit 1; \
fi
mapview.c: En la función `unqueue_flush':
mapview.c:267: aviso: implicit declaration of function `refresh_overview_viewrect'
mapview.c: En el nivel principal:
mapview.c:1745: aviso: no previous prototype for `refresh_overview_viewrect'
mapview.c:1745: aviso: type mismatch with previous implicit declaration
mapview.c:267: aviso: previous implicit declaration of `refresh_overview_viewrect'
mapview.c:1745: aviso: `refresh_overview_viewrect' fue declarado previa e implÃcitamente para devolver `int'
mapview.c: En la función `put_unit_pixmap_draw':
mapview.c:2015: error: too few arguments to function `fill_unit_sprite_array'
make[4]: *** [mapview.o] Error 1
make[4]: Leaving directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv/client/gui-sdl'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv/client/gui-sdl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv'
make: *** [all] Error 2
aguirrel@luishost:~/bajado/juegos/cvs/freeciv/freeciv>
thanks in advance.
make[4]: Entering directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv/client/gui-sdl'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../common -I../../common/aicore -I../../intl -I./../agents -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -I/usr/include/SDL -D_REENTRANT -MT mapview.o -MD -MP -MF ".deps/mapview.Tpo" \
-c -o mapview.o `test -f 'mapview.c' || echo './'`mapview.c; \
then mv -f ".deps/mapview.Tpo" ".deps/mapview.Po"; \
else rm -f ".deps/mapview.Tpo"; exit 1; \
fi
mapview.c: En la función `unqueue_flush':
mapview.c:267: aviso: implicit declaration of function `refresh_overview_viewrect'
mapview.c: En el nivel principal:
mapview.c:1745: aviso: no previous prototype for `refresh_overview_viewrect'
mapview.c:1745: aviso: type mismatch with previous implicit declaration
mapview.c:267: aviso: previous implicit declaration of `refresh_overview_viewrect'
mapview.c:1745: aviso: `refresh_overview_viewrect' fue declarado previa e implÃcitamente para devolver `int'
mapview.c: En la función `put_unit_pixmap_draw':
mapview.c:2015: error: too few arguments to function `fill_unit_sprite_array'
make[4]: *** [mapview.o] Error 1
make[4]: Leaving directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv/client/gui-sdl'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv/client/gui-sdl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aguirrel/nuevo/bajado/juegos/cvs/freeciv/freeciv'
make: *** [all] Error 2
aguirrel@luishost:~/bajado/juegos/cvs/freeciv/freeciv>
thanks in advance.
Comment