Re: [Freeciv-Dev] 2 compilation errors in 2.5+

2014-09-05 Thread Pepeto
Hello Christian,

I have raised bug #22572 for this issue.

I think you should put this kind of report directly into bugs reports
instead of just sending a mail to the list, but be sure it will be
treated.

Regards,
Pepeto

Le jeudi 04 septembre 2014 à 20:37 +0200, Christian Knoke a écrit : 
> more
> 
> ((3))
> 
> Aktualisiert zu Revision 26217.
> ./autogen.sh --enable-debug=yes --enable-svnrev --enable-client=all
> --enable-fcmp=yes --with-readline --with-efence --enable-ipv6=yes
> enable-mapimg=magickwand
> ** Configuration Summary **
> 
>   == General build options ==
>   Shared libraries:  no
>   Debugging support: yes
>   Profiling support: no
>   IPv6 support:  yes
>   Map image toolkits:selected
> ppm:   built-in
> MagickWand:yes
> 
>   == Client ==
>   Build freeciv client:  yes
> 
>   Maintained client frontends:
> Gtk-2.0: yes
> Gtk-3.0: no
> SDL: yes
> Xaw: yes
> Stub:yes
> 
>   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
> 
>   == Tools ==
>   Modpack installers:gtk2
> 
> 
> Now type 'make' to compile freeciv.
> chris@leo:~/freeciv/svn/25$ make -j 4
> 
> [...]
> 
> 
> make[3]: Entering directory `/home/chris/freeciv/svn/S2_5/server/generator'
>   CC mapgen.lo
>   CC mapgen_topology.lo
>   CC utilities.lo
>   CC height_map.lo
>   CC startpos.lo
>   CC temperature_map.lo
> cc1: warnings being treated as errors
> mapgen.c: In function ‘fair_map_island_new’:
> mapgen.c:3199: error: ‘l’ may be used uninitialized in this function
> At top level:
> cc1: error: unrecognized command line option "-Wno-tautological-compare"
> make[3]: *** [mapgen.lo] Fehler 1
> make[3]: Leaving directory `/home/chris/freeciv/svn/S2_5/server/generator'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/home/chris/freeciv/svn/S2_5/server'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/chris/freeciv/svn/S2_5'
> make: *** [all] Fehler 2
> 



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


Re: [Freeciv-Dev] 2 compilation errors in 2.5+

2014-09-04 Thread Christian Knoke

more

((3))

Aktualisiert zu Revision 26217.
./autogen.sh --enable-debug=yes --enable-svnrev --enable-client=all
--enable-fcmp=yes --with-readline --with-efence --enable-ipv6=yes
enable-mapimg=magickwand
** Configuration Summary **

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

  == Client ==
  Build freeciv client:  yes

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

  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

  == Tools ==
  Modpack installers:gtk2


Now type 'make' to compile freeciv.
chris@leo:~/freeciv/svn/25$ make -j 4

[...]


make[3]: Entering directory `/home/chris/freeciv/svn/S2_5/server/generator'
  CC mapgen.lo
  CC mapgen_topology.lo
  CC utilities.lo
  CC height_map.lo
  CC startpos.lo
  CC temperature_map.lo
cc1: warnings being treated as errors
mapgen.c: In function ‘fair_map_island_new’:
mapgen.c:3199: error: ‘l’ may be used uninitialized in this function
At top level:
cc1: error: unrecognized command line option "-Wno-tautological-compare"
make[3]: *** [mapgen.lo] Fehler 1
make[3]: Leaving directory `/home/chris/freeciv/svn/S2_5/server/generator'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/chris/freeciv/svn/S2_5/server'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/chris/freeciv/svn/S2_5'
make: *** [all] Fehler 2

-- 
Christian Knoke* * *http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.

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


[Freeciv-Dev] 2 compilation errors in 2.5+

2014-09-03 Thread Christian Knoke

((1))

SVN 2.5
Aktualisiert zu Revision 26195.

./autogen.sh \
--enable-debug=yes \
--enable-svnrev \
--enable-client=all \
--enable-fcmp=yes \
--with-readline \
--with-efence \
--with-ggz-client \
--with-ggzconfig=/usr/bin/ggz-config \
--enable-fcdb=all \
--enable-ipv6=yes \
--with-xawrd \
--enable-mapimg=magickwand

** Configuration Summary **

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

  == Client ==
  Build freeciv client:  yes

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

  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:  yes
  mysql: yes
  postgres:  yes
  sqlite3:   yes


Now type 'make' to compile freeciv.

[...]

make[4]: Entering directory 
`/home/chris/freeciv/svn/S2_5/dependencies/luasql/src'
  CC luasql.lo
  CCLD   libluasql_base.la
  CC ls_mysql.lo
  CCLD   libluasql_mysql.la
  CC ls_postgres.lo
ls_postgres.c:15:22: error: libpq-fe.h: Datei oder Verzeichnis nicht gefunden
ls_postgres.c:36: error: expected specifier-qualifier-list before ‘PGconn’
ls_postgres.c:46: error: expected specifier-qualifier-list before ‘PGresult’
ls_postgres.c:92: error: expected declaration specifiers or ‘...’ before 
‘PGresult’
cc1: warnings being treated as errors
ls_postgres.c: In function ‘pushvalue’:
ls_postgres.c:93: error: implicit declaration of function ‘PQgetisnull’
ls_postgres.c:93: error: nested extern declaration of ‘PQgetisnull’
ls_postgres.c:93: error: ‘res’ undeclared (first use in this function)
ls_postgres.c:93: error: (Each undeclared identifier is reported only once
ls_postgres.c:93: error: for each function it appears in.)
ls_postgres.c:96: error: implicit declaration of function ‘PQgetvalue’
ls_postgres.c:96: error: nested extern declaration of ‘PQgetvalue’
ls_postgres.c: In function ‘cur_nullify’:
ls_postgres.c:106: error: implicit declaration of function ‘PQclear’
ls_postgres.c:106: error: nested extern declaration of ‘PQclear’
ls_postgres.c:106: error: ‘cur_data’ has no member named ‘pg_res’
ls_postgres.c: In function ‘cur_fetch’:
ls_postgres.c:118: error: ‘PGresult’ undeclared (first use in this function)
ls_postgres.c:118: error: ‘res’ undeclared (first use in this function)
ls_postgres.c:118: error: ‘cur_data’ has no member named ‘pg_res’
ls_postgres.c:121: error: implicit declaration of function ‘PQntuples’
ls_postgres.c:121: error: nested extern declaration of ‘PQntuples’
ls_postgres.c:121: error: ‘cur_data’ has no member named ‘pg_res’
ls_postgres.c:134: error: too many arguments to function ‘pushvalue’
ls_postgres.c:140: error: implicit declaration of function ‘PQfname’
ls_postgres.c:140: error: nested extern declaration of ‘PQfname’
ls_postgres.c:141: error: too many arguments to function ‘pushvalue’
ls_postgres.c:151: error: too many arguments to function ‘pushvalue’
ls_postgres.c: At top level:
ls_postgres.c:190: error: expected ‘)’ before ‘*’ token
ls_postgres.c: In function ‘create_colnames’:
ls_postgres.c:219: error: ‘PGresult’ undeclared (first use in this function)
ls_postgres.c:219: error: ‘result’ undeclared (first use in this function)
ls_postgres.c:219: error: ‘cur_data’ has no member named ‘pg_res’
ls_postgres.c: In function ‘create_coltypes’:
ls_postgres.c:233: error: ‘PGresult’ undeclared (first use in this function)
ls_postgres.c:233: error: ‘result’ undeclared (first use in this function)
ls_postgres.c:233: error: ‘cur_data’ has no member named ‘pg_res’
ls_postgres.c:243: error: implicit declaration of function ‘getcolumntype’
ls_postgres.c:243: error: nested extern declaration of ‘getcolumntype’
ls_postgres.c:243: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c: In function ‘cur_numrows’:
ls_postgres.c:290: error: ‘cur_data’ has no member named ‘pg_res’
ls_postgres.c: At top level:
ls_postgres.c:298: error: expected declaration specifiers or ‘...’ before 
‘PGresult’
ls_postgres.c: In function ‘create_cursor’:
ls_postgres.c:305: error: implicit declaration of function ‘PQnfields’
ls_postgres.c:305: error: nested extern declaration of ‘PQnfields’
ls_postgres.c:305: error: ‘result’ undeclared (first use in this function)
ls_postgres.c:309: error: ‘cur_data’ has no member named ‘pg_res’
ls_postgres.c: In function ‘sql_commit’:
ls_postgres.c:318: error: implicit declaration of function ‘PQexec’
ls_postgres.c:318: error: nested extern declaration of ‘PQexec’
ls_postgres.c:318: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c: In function ‘sql_b