Follow-up Comment #5, bug #21386 (project freeciv):

There are more compile errors/warnings with different options to autogen.sh.
So I list them here detailed.


1. The platform is Debian Wheezy on ARMv5 - not Squeeze, sorry. 


2. Compile 2.4.1 with pure ./autogen.sh (GTK2 client)
=> OK (see below)

3. Compile 2.4.1 with ./autogen.sh --enable-debug=yes (GTK2 client)
==> error#0 (as posted in comment#2)

4. Compile 2.4.1 with ./autogen.sh --enable-debug=yes --enable-svnrev
--with-readline --enable-ipv6=yes --enable-client=no
==> error#0 (see comment#2)

5. Compile 2.4.1 with ./autogen.sh --enable-debug=yes --enable-sys-lua (GTK2
client)
==> error#1 (same as in 7.) (posted below)

6. Compile 2.5.99 rev. 24312 with pure ./autogen.sh (GTK2 client)  ==> OK (see
below)

7. Compile 2.5.99 rev. 24312 with ./autogen.sh --enable-debug=yes (GTK2
client) 
==> error#1 (posted below)

8. Compile 2.5.99 rev. 24312 with ./autogen.sh --enable-debug=yes
--enable-svnrev --with-readline --enable-ipv6=yes --enable-client=no 
==> error#2 (posted below)

9. Compile 2.5.99 rev. 24312 with ./autogen.sh --enable-debug=yes
--enable-svnrev --with-readline --enable-ipv6=yes --enable-client=no
--enable-sys-lua (no client)
==> error#2 (same as in 8.) (posted below)



=============
freeciv-2.4.1
=============

------------------------------------------------------------------------
ad 2)

./autogen.sh 

  == General build options ==
  Shared libraries:      no
  Debugging support:     some
  Profiling support:     no
  IPv6 support:          yes
  Map image toolkits:    auto
    ppm:                   built-in
    MagickWand:            no

  == Client ==
  Build freeciv client:  yes

  Maintained client frontends:
    Gtk-2.0: yes
    Gtk-3.0: no
    SDL:     no
    Xaw:     no
    Stub:    no

  In-development client frontends:
  (these are not yet ready for general use)
    QT:      no

  == Server ==
  Build freeciv server:  yes
    AI modules support:    no
    Database support:      no
      mysql:                 no
      postgres:              no
      sqlite3:               no

OK
==

---------------------------------------------------------------------------
ad 5)

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./..
-I./../include -I../../utility -I../../common -I../../common/aicore
-I../../common/scriptcore -I./../agents -I./../luascript -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabi/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-DLOCALEDIR=\"/usr/local/share/locale\" -DBINDIR=\"/usr/local/bin\"
-DFC_CONF_PATH=\"/usr/local/etc/freeciv\"
"-DDEFAULT_DATA_PATH=\".:data:~/.freeciv/2.4:/usr/local/share/freeciv\""
-DDEFAULT_SAVES_PATH=\"\"
"-DDEFAULT_SCENARIO_PATH=\".:data/scenarios:~/.freeciv/2.4/scenarios:~/.freeciv/scenarios:/usr/local/share/freeciv/scenarios\""
-Wall -Wpointer-arith -Wcast-align -Werror -Wmissing-prototypes
-Wmissing-declarations -Wformat -Wformat-security -Wnested-externs
-Wno-deprecated-declarations -g -O2 -MT chatline.lo -MD -MP -MF
.deps/chatline.Tpo -c chatline.c -o chatline.o
chatline.c: In function 'scroll_if_necessary':
chatline.c:550:34: error: cast increases required alignment of target type
[-Werror=cast-align]
chatline.c: In function 'chatline_is_scrolled_to_bottom':
chatline.c:974:34: error: cast increases required alignment of target type
[-Werror=cast-align]
cc1: all warnings being treated as errors
make[4]: *** [chatline.lo] Fehler 1
make[4]: Leaving directory
`/home/chris/freeciv/release/freeciv-2.4.1/client/gui-gtk-2.0'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory
`/home/chris/freeciv/release/freeciv-2.4.1/client/gui-gtk-2.0'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/chris/freeciv/release/freeciv-2.4.1/client'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/chris/freeciv/release/freeciv-2.4.1'
make: *** [all] Fehler 2



=====================
SVN Rev: 24312 2.5.99
=====================

-------------------------------------------------------------------
ad 6)

./autogen.sh 

  == General build options ==
  Shared libraries:      no
  Debugging support:     some
  Profiling support:     no
  IPv6 support:          yes
  Map image toolkits:    auto
    ppm:                   built-in
    MagickWand:            no

  == Client ==
  Build freeciv client:  yes

  Maintained client frontends:
    Gtk-3.0: no
    Gtk-2.0: yes
    SDL:     no
    Xaw:     no
    Stub:    no

  In-development client frontends:
  (these are not yet ready for general use)
    QT:      no
    SDL2:    no

  == Server ==
  Build freeciv server:  yes
    AI modules support:    no
    Database support:      no
      mysql:                 no
      postgres:              no
      sqlite3:               no

OK
==

--------------------------------------------------------------------
ad 7)

./autogen.sh --enable-debug=yes

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./..
-I./../include -I../../utility -I../../common -I../../common/aicore
-I../../common/scriptcore -I./../agents -I./../luascript -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabi/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-DLOCALEDIR=\"/usr/local/share/locale\" -DBINDIR=\"/usr/local/bin\"
-DFC_CONF_PATH=\"/usr/local/etc/freeciv\"
"-DDEFAULT_DATA_PATH=\".:data:~/.freeciv/dev:/usr/local/share/freeciv\""
-DDEFAULT_SAVES_PATH=\"\"
"-DDEFAULT_SCENARIO_PATH=\".:data/scenarios:~/.freeciv/dev/scenarios:~/.freeciv/scenarios:/usr/local/share/freeciv/scenarios\""
-Wall -Wpointer-arith -Wcast-align -Werror -Wmissing-prototypes
-Wmissing-declarations -Wformat -Wformat-security -Wnested-externs
-Wno-deprecated-declarations -Wno-tautological-compare -g -O2 -MT chatline.lo
-MD -MP -MF .deps/chatline.Tpo -c chatline.c -o chatline.o
chatline.c: In function 'scroll_if_necessary':
chatline.c:560:34: error: cast increases required alignment of target type
[-Werror=cast-align]
chatline.c: In function 'chatline_is_scrolled_to_bottom':
chatline.c:984:34: error: cast increases required alignment of target type
[-Werror=cast-align]
chatline.c: At top level:
cc1: error: unrecognized command line option "-Wno-tautological-compare"
[-Werror]
cc1: all warnings being treated as errors
make[4]: *** [chatline.lo] Fehler 1
make[4]: Leaving directory `/home/chris/freeciv/svn/client/gui-gtk-2.0'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/home/chris/freeciv/svn/client/gui-gtk-2.0'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/chris/freeciv/svn/client'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/chris/freeciv/svn'
make: *** [all] Fehler 2


------------------------------------------------------------------------
ad 8)

./autogen.sh --enable-debug=yes --enable-svnrev --with-readline
--enable-ipv6=yes --enable-client=no

libtool: link: ( cd ".libs" && rm -f "libfcmp.la" && ln -s "../libfcmp.la"
"libfcmp.la" )
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I../common -I../server
-I../client -I../client/include -pthread -I/usr/include/gtk-2.0
-I/usr/lib/arm-linux-gnueabi/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12   -pthread
-I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include  
-DMPICON_PATH="\"/usr/local/share/freeciv/misc/mpicon.png\""
-DLOCALEDIR="\"/usr/local/share/locale\"" -DBINDIR="\"/usr/local/bin\""
-DFC_CONF_PATH="\"/usr/local/etc/freeciv\""
-DDEFAULT_DATA_PATH="\".:data:~/.freeciv/dev:/usr/local/share/freeciv\""
-DDEFAULT_SAVES_PATH="\"\""
-DDEFAULT_SCENARIO_PATH="\".:data/scenarios:~/.freeciv/dev/scenarios:~/.freeciv/scenarios:/usr/local/share/freeciv/scenarios\""
 -Wall -Wpointer-arith -Wcast-align -Werror -Wmissing-prototypes
-Wmissing-declarations -Wformat -Wformat-security -Wnested-externs
-Wno-deprecated-declarations -Wno-tautological-compare -g -O2 -MT
freeciv_mp_gtk2-mpgui_gtk2.o -MD -MP -MF
".deps/freeciv_mp_gtk2-mpgui_gtk2.Tpo" -c -o freeciv_mp_gtk2-mpgui_gtk2.o
`test -f 'mpgui_gtk2.c' || echo './'`mpgui_gtk2.c; \
        then mv -f ".deps/freeciv_mp_gtk2-mpgui_gtk2.Tpo"
".deps/freeciv_mp_gtk2-mpgui_gtk2.Po"; else rm -f
".deps/freeciv_mp_gtk2-mpgui_gtk2.Tpo"; exit 1; fi
mpgui_gtk2.c: In function ‘pbar_callback’:
mpgui_gtk2.c:144:33: error: cast increases required alignment of target type
[-Werror=cast-align]
mpgui_gtk2.c: At top level:
cc1: error: unrecognized command line option "-Wno-tautological-compare"
[-Werror]
cc1: all warnings being treated as errors
make[3]: *** [freeciv_mp_gtk2-mpgui_gtk2.o] Fehler 1
make[3]: Leaving directory `/home/chris/freeciv/svn/tools'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/chris/freeciv/svn/tools'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/chris/freeciv/svn'
make: *** [all] Fehler 2


-------------------------------------------------------------------
ad 9)

./autogen.sh --enable-debug=yes --enable-svnrev --with-readline
--enable-ipv6=yes --enable-client=no --enable-sys-lua 


  == General build options ==
  Shared libraries:      no
  Debugging support:     yes
  Profiling support:     no
  IPv6 support:          yes
  Map image toolkits:    auto
    ppm:                   built-in
    MagickWand:            no

  == Client ==
  Build freeciv client:  no

  Maintained client frontends:
    Gtk-3.0: no
    Gtk-2.0: no
    SDL:     no
    Xaw:     no
    Stub:    no

  In-development client frontends:
  (these are not yet ready for general use)
    QT:      no
    SDL2:    no

  == Server ==
  Build freeciv server:  yes
    AI modules support:    no
    Database support:      no
      mysql:                 no
      postgres:              no
      sqlite3:               no


libtool: link: ( cd ".libs" && rm -f "libfcmp.la" && ln -s "../libfcmp.la"
"libfcmp.la" )
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../utility -I../common -I../server
-I../client -I../client/include -pthread -I/usr/include/gtk-2.0
-I/usr/lib/arm-linux-gnueabi/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12   -pthread
-I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include  
-DMPICON_PATH="\"/usr/local/share/freeciv/misc/mpicon.png\""
-DLOCALEDIR="\"/usr/local/share/locale\"" -DBINDIR="\"/usr/local/bin\""
-DFC_CONF_PATH="\"/usr/local/etc/freeciv\""
-DDEFAULT_DATA_PATH="\".:data:~/.freeciv/dev:/usr/local/share/freeciv\""
-DDEFAULT_SAVES_PATH="\"\""
-DDEFAULT_SCENARIO_PATH="\".:data/scenarios:~/.freeciv/dev/scenarios:~/.freeciv/scenarios:/usr/local/share/freeciv/scenarios\""
 -Wall -Wpointer-arith -Wcast-align -Werror -Wmissing-prototypes
-Wmissing-declarations -Wformat -Wformat-security -Wnested-externs
-Wno-deprecated-declarations -Wno-tautological-compare -g -O2 -MT
freeciv_mp_gtk2-mpgui_gtk2.o -MD -MP -MF
".deps/freeciv_mp_gtk2-mpgui_gtk2.Tpo" -c -o freeciv_mp_gtk2-mpgui_gtk2.o
`test -f 'mpgui_gtk2.c' || echo './'`mpgui_gtk2.c; \
        then mv -f ".deps/freeciv_mp_gtk2-mpgui_gtk2.Tpo"
".deps/freeciv_mp_gtk2-mpgui_gtk2.Po"; else rm -f
".deps/freeciv_mp_gtk2-mpgui_gtk2.Tpo"; exit 1; fi
mpgui_gtk2.c: In function ‘pbar_callback’:
mpgui_gtk2.c:144:33: error: cast increases required alignment of target type
[-Werror=cast-align]
mpgui_gtk2.c: At top level:
cc1: error: unrecognized command line option "-Wno-tautological-compare"
[-Werror]
cc1: all warnings being treated as errors
make[3]: *** [freeciv_mp_gtk2-mpgui_gtk2.o] Fehler 1
make[3]: Leaving directory `/home/chris/freeciv/svn/tools'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/chris/freeciv/svn/tools'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/chris/freeciv/svn'
make: *** [all] Fehler 2




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21386>

_______________________________________________
  Nachricht gesendet von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to