Announcement

Collapse
No announcement yet.

problems compiling cvs with --enable-client=sdl

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • problems compiling cvs with --enable-client=sdl

    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.

  • #2
    Compilation of the SDL client was broken with the Tue Feb 3 12:16:07 PST 2004 cvs commit. You will either have to use another client, or wait for it to be fixed in cvs. Also, the Sun Jan 11 09:45:03 PST 2004 cvs commit causes another problem in compiling (but can be worked around by modifying a couple lines of code).

    An option to compile the sdl client is to use a cvs snapshot from before Jan 11 (or take a recent one and apply the daily diffs in reverse).

    Comment

    Working...
    X