((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_begin’:
ls_postgres.c:323: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c: In function ‘sql_rollback’:
ls_postgres.c:328: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c: In function ‘conn_gc’:
ls_postgres.c:341: error: implicit declaration of function ‘PQfinish’
ls_postgres.c:341: error: nested extern declaration of ‘PQfinish’
ls_postgres.c:341: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c: In function ‘conn_escape’:
ls_postgres.c:376: error: implicit declaration of function ‘PQescapeStringConn’
ls_postgres.c:376: error: nested extern declaration of ‘PQescapeStringConn’
ls_postgres.c:376: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c:381: error: implicit declaration of function ‘PQerrorMessage’
ls_postgres.c:381: error: nested extern declaration of ‘PQerrorMessage’
ls_postgres.c:381: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c: In function ‘conn_execute’:
ls_postgres.c:393: error: ‘PGresult’ undeclared (first use in this function)
ls_postgres.c:393: error: ‘res’ undeclared (first use in this function)
ls_postgres.c:393: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c:394: error: implicit declaration of function ‘PQresultStatus’
ls_postgres.c:394: error: nested extern declaration of ‘PQresultStatus’
ls_postgres.c:394: error: ‘PGRES_COMMAND_OK’ undeclared (first use in this 
function)
ls_postgres.c:396: error: implicit declaration of function ‘PQcmdTuples’
ls_postgres.c:396: error: nested extern declaration of ‘PQcmdTuples’
ls_postgres.c:400: error: ‘PGRES_TUPLES_OK’ undeclared (first use in this 
function)
ls_postgres.c:402: error: too many arguments to function ‘create_cursor’
ls_postgres.c:406: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c: At top level:
ls_postgres.c:464: error: expected declaration specifiers or ‘...’ before 
‘PGconn’
ls_postgres.c: In function ‘create_connection’:
ls_postgres.c:472: error: ‘conn_data’ has no member named ‘pg_conn’
ls_postgres.c:472: error: ‘pg_conn’ undeclared (first use in this function)
ls_postgres.c: In function ‘env_connect’:
ls_postgres.c:495: error: ‘PGconn’ undeclared (first use in this function)
ls_postgres.c:495: error: ‘conn’ undeclared (first use in this function)
ls_postgres.c:498: error: implicit declaration of function ‘PQconnectdb’
ls_postgres.c:498: error: nested extern declaration of ‘PQconnectdb’
ls_postgres.c:505: error: implicit declaration of function ‘PQsetdbLogin’
ls_postgres.c:505: error: nested extern declaration of ‘PQsetdbLogin’
ls_postgres.c:509: error: implicit declaration of function ‘PQstatus’
ls_postgres.c:509: error: nested extern declaration of ‘PQstatus’
ls_postgres.c:509: error: ‘CONNECTION_BAD’ undeclared (first use in this 
function)
ls_postgres.c:511: error: implicit declaration of function 
‘PQsetNoticeProcessor’
ls_postgres.c:511: error: nested extern declaration of ‘PQsetNoticeProcessor’
ls_postgres.c:512: error: too many arguments to function ‘create_connection’
At top level:
cc1: error: unrecognized command line option "-Wno-tautological-compare"
make[4]: *** [ls_postgres.lo] Fehler 1
make[4]: Leaving directory 
`/home/chris/freeciv/svn/S2_5/dependencies/luasql/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/chris/freeciv/svn/S2_5/dependencies/luasql'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/chris/freeciv/svn/S2_5/dependencies'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/chris/freeciv/svn/S2_5'
make: *** [all] Fehler 2



((2))

When I remove the --enable-fcdb=all option from autogen.sh command above,
compilation stops with:

Making all in generator
make[3]: Entering directory `/home/chris/freeciv/svn/S2_5/server/generator'
  CC     mapgen.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

Reply via email to