On Debian etch with gcc 4.1.2 compilation fails with the following error: ------------------------------------------------------------------------ /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -pthread -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT cf_sql.lo -MD -MP -MF .deps/cf_sql.Tpo -c -o cf_sql.lo cf_sql.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -pthread -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT cf_sql.lo -MD -MP -MF .deps/cf_sql.Tpo -c cf_sql.c -o cf_sql.o cf_sql.c: In function 'CfConnectDB': cf_sql.c:104: error: 'CfdbConn' has no member named 'pq_conn' cf_sql.c:106: error: 'CfdbConn' has no member named 'pq_conn' cf_sql.c:106: error: 'CONNECTION_BAD' undeclared (first use in this function) cf_sql.c:106: error: (Each undeclared identifier is reported only once cf_sql.c:106: error: for each function it appears in.) cf_sql.c:108: error: 'CfdbConn' has no member named 'pq_conn' cf_sql.c: In function 'CfCloseDB': cf_sql.c:143: error: 'CfdbConn' has no member named 'pq_conn' cf_sql.c: In function 'CfNewQueryDB': cf_sql.c:211: error: 'CfdbConn' has no member named 'pq_res' cf_sql.c:211: error: 'CfdbConn' has no member named 'pq_conn' cf_sql.c:213: error: 'CfdbConn' has no member named 'pq_res' cf_sql.c:213: error: 'PGRES_COMMAND_OK' undeclared (first use in this function) cf_sql.c:213: error: 'CfdbConn' has no member named 'pq_res' cf_sql.c:213: error: 'PGRES_TUPLES_OK' undeclared (first use in this function) cf_sql.c:215: error: 'CfdbConn' has no member named 'pq_conn' cf_sql.c:220: error: 'CfdbConn' has no member named 'pq_res' cf_sql.c:221: error: 'CfdbConn' has no member named 'pq_res' cf_sql.c: In function 'CfFetchRow': cf_sql.c:286: error: 'CfdbConn' has no member named 'pq_res' cf_sql.c:286: warning: assignment makes pointer from integer without a cast cf_sql.c: In function 'CfDeleteQuery': cf_sql.c:332: error: 'CfdbConn' has no member named 'pq_res' make[2]: *** [cf_sql.lo] Error 1 make[2]: Leaving directory `/home/frawa0/src/cfengine-3.0.0b3/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/frawa0/src/cfengine-3.0.0b3/src' make: *** [all-recursive] Error 1 ------------------------------------------------------------------------
-- Walter Franzini http://aegis.stepbuild.org/ PGP Public key ID: 1024D/CB3FEB43 Key fingerprint : FA26 C33B CAFF 7848 EFEB 7327 96AA 2D57 CB3F EB43 Key server : http://www.keyserver.net
pgpjm28hoDmNn.pgp
Description: PGP signature
_______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
