Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

problem compiling 2.3.5 with libzdb 2.4 (trunk)

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


gbaratto at gmail

Jan 20, 2009, 12:13 AM

Post #1 of 2 (376 views)
Permalink
problem compiling 2.3.5 with libzdb 2.4 (trunk)

Hello there...
I'm getting this when compiling 2.3.5. I think I've seen another post saying
this is a problem with the new libzdb... Should I just downgrade libzdb, or
wait for a new 2.3.6 is a good idea? :D

Thanks a lot for the great work guys!


if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -I/opt/mhash/include -I/opt/libzdb/include -O3
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_db.lo -MD
-MP -MF ".deps/libdbmail_la-dm_db.Tpo" -c -o libdbmail_la-dm_db.lo `test -f
'dm_db.c' || echo './'`dm_db.c; \
then mv -f ".deps/libdbmail_la-dm_db.Tpo"
".deps/libdbmail_la-dm_db.Plo"; else rm -f ".deps/libdbmail_la-dm_db.Tpo";
exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/mhash/include
-I/opt/libzdb/include -O3 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT
libdbmail_la-dm_db.lo -MD -MP -MF .deps/libdbmail_la-dm_db.Tpo -c dm_db.c
-fPIC -DPIC -o .libs/libdbmail_la-dm_db.o
In file included from /opt/mhash/include/mutils/mincludes.h:34,
from /opt/mhash/include/mhash.h:6,
from dbmail.h:75,
from dm_db.c:27:
/opt/mhash/include/mutils/mhash_config.h:186:1: warning: "PACKAGE" redefined
In file included from dbmail.h:30,
from dm_db.c:27:
../config.h:92:1: warning: this is the location of the previous definition
In file included from /opt/mhash/include/mutils/mincludes.h:34,
from /opt/mhash/include/mhash.h:6,
from dbmail.h:75,
from dm_db.c:27:
/opt/mhash/include/mutils/mhash_config.h:189:1: warning: "PACKAGE_BUGREPORT"
redefined
In file included from dbmail.h:30,
from dm_db.c:27:
../config.h:95:1: warning: this is the location of the previous definition
In file included from /opt/mhash/include/mutils/mincludes.h:34,
from /opt/mhash/include/mhash.h:6,
from dbmail.h:75,
from dm_db.c:27:
/opt/mhash/include/mutils/mhash_config.h:192:1: warning: "PACKAGE_NAME"
redefined
In file included from dbmail.h:30,
from dm_db.c:27:
../config.h:98:1: warning: this is the location of the previous definition
In file included from /opt/mhash/include/mutils/mincludes.h:34,
from /opt/mhash/include/mhash.h:6,
from dbmail.h:75,
from dm_db.c:27:
/opt/mhash/include/mutils/mhash_config.h:195:1: warning: "PACKAGE_STRING"
redefined
In file included from dbmail.h:30,
from dm_db.c:27:
../config.h:101:1: warning: this is the location of the previous definition
In file included from /opt/mhash/include/mutils/mincludes.h:34,
from /opt/mhash/include/mhash.h:6,
from dbmail.h:75,
from dm_db.c:27:
/opt/mhash/include/mutils/mhash_config.h:198:1: warning: "PACKAGE_TARNAME"
redefined
In file included from dbmail.h:30,
from dm_db.c:27:
../config.h:104:1: warning: this is the location of the previous definition
In file included from /opt/mhash/include/mutils/mincludes.h:34,
from /opt/mhash/include/mhash.h:6,
from dbmail.h:75,
from dm_db.c:27:
/opt/mhash/include/mutils/mhash_config.h:201:1: warning: "PACKAGE_VERSION"
redefined
In file included from dbmail.h:30,
from dm_db.c:27:
../config.h:107:1: warning: this is the location of the previous definition
In file included from /opt/mhash/include/mutils/mincludes.h:34,
from /opt/mhash/include/mhash.h:6,
from dbmail.h:75,
from dm_db.c:27:
/opt/mhash/include/mutils/mhash_config.h:213:1: warning: "VERSION" redefined
In file included from dbmail.h:30,
from dm_db.c:27:
../config.h:122:1: warning: this is the location of the previous definition
In file included from dbmail.h:89,
from dm_db.c:27:
/opt/libzdb/include/ConnectionPool.h:438: warning: function declaration
isn't a prototype
In file included from /opt/libzdb/include/SQLException.h:43,
from dbmail.h:90,
from dm_db.c:27:
/opt/libzdb/include/Exception.h:217: warning: function declaration isn't a
prototype
dm_db.c: In function `db_connect':
dm_db.c:200: warning: comparison between signed and unsigned
dm_db.c: In function `db_exec':
dm_db.c:315: error: void value not ignored as it ought to be
dm_db.c: In function `db_stmt_set_str':
dm_db.c:398: error: void value not ignored as it ought to be
dm_db.c: In function `db_stmt_set_int':
dm_db.c:403: error: void value not ignored as it ought to be
dm_db.c: In function `db_stmt_set_u64':
dm_db.c:408: error: void value not ignored as it ought to be
dm_db.c: In function `db_stmt_set_blob':
dm_db.c:413: error: void value not ignored as it ought to be
dm_db.c: In function `db_stmt_exec':
dm_db.c:417: error: void value not ignored as it ought to be
dm_db.c: In function `db_begin_transaction':
dm_db.c:477: error: wrong type argument to unary exclamation mark
dm_db.c: In function `db_commit_transaction':
dm_db.c:485: error: wrong type argument to unary exclamation mark
dm_db.c: In function `db_rollback_transaction':
dm_db.c:496: error: wrong type argument to unary exclamation mark
gmake[3]: *** [libdbmail_la-dm_db.lo] Error 1
gmake[3]: Leaving directory `/export/home/gbaratto/src/dbmail-2.3.5/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/home/gbaratto/src/dbmail-2.3.5/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/gbaratto/src/dbmail-2.3.5'
gmake: *** [all] Error 2




--
g.


paul at nfg

Jan 20, 2009, 1:14 AM

Post #2 of 2 (333 views)
Permalink
Re: problem compiling 2.3.5 with libzdb 2.4 (trunk) [In reply to]

Use libzdb-2.2

Gustavo Baratto wrote:
> Hello there...
> I'm getting this when compiling 2.3.5. I think I've seen another post saying
> this is a problem with the new libzdb... Should I just downgrade libzdb, or
> wait for a new 2.3.6 is a good idea? :D
>
> Thanks a lot for the great work guys!
>
>
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I.. -I.. -I/opt/mhash/include -I/opt/libzdb/include -O3
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_db.lo -MD
> -MP -MF ".deps/libdbmail_la-dm_db.Tpo" -c -o libdbmail_la-dm_db.lo `test -f
> 'dm_db.c' || echo './'`dm_db.c; \
> then mv -f ".deps/libdbmail_la-dm_db.Tpo"
> ".deps/libdbmail_la-dm_db.Plo"; else rm -f ".deps/libdbmail_la-dm_db.Tpo";
> exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/mhash/include
> -I/opt/libzdb/include -O3 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT
> libdbmail_la-dm_db.lo -MD -MP -MF .deps/libdbmail_la-dm_db.Tpo -c dm_db.c
> -fPIC -DPIC -o .libs/libdbmail_la-dm_db.o
> In file included from /opt/mhash/include/mutils/mincludes.h:34,
> from /opt/mhash/include/mhash.h:6,
> from dbmail.h:75,
> from dm_db.c:27:
> /opt/mhash/include/mutils/mhash_config.h:186:1: warning: "PACKAGE" redefined
> In file included from dbmail.h:30,
> from dm_db.c:27:
> .../config.h:92:1: warning: this is the location of the previous definition
> In file included from /opt/mhash/include/mutils/mincludes.h:34,
> from /opt/mhash/include/mhash.h:6,
> from dbmail.h:75,
> from dm_db.c:27:
> /opt/mhash/include/mutils/mhash_config.h:189:1: warning: "PACKAGE_BUGREPORT"
> redefined
> In file included from dbmail.h:30,
> from dm_db.c:27:
> .../config.h:95:1: warning: this is the location of the previous definition
> In file included from /opt/mhash/include/mutils/mincludes.h:34,
> from /opt/mhash/include/mhash.h:6,
> from dbmail.h:75,
> from dm_db.c:27:
> /opt/mhash/include/mutils/mhash_config.h:192:1: warning: "PACKAGE_NAME"
> redefined
> In file included from dbmail.h:30,
> from dm_db.c:27:
> .../config.h:98:1: warning: this is the location of the previous definition
> In file included from /opt/mhash/include/mutils/mincludes.h:34,
> from /opt/mhash/include/mhash.h:6,
> from dbmail.h:75,
> from dm_db.c:27:
> /opt/mhash/include/mutils/mhash_config.h:195:1: warning: "PACKAGE_STRING"
> redefined
> In file included from dbmail.h:30,
> from dm_db.c:27:
> .../config.h:101:1: warning: this is the location of the previous definition
> In file included from /opt/mhash/include/mutils/mincludes.h:34,
> from /opt/mhash/include/mhash.h:6,
> from dbmail.h:75,
> from dm_db.c:27:
> /opt/mhash/include/mutils/mhash_config.h:198:1: warning: "PACKAGE_TARNAME"
> redefined
> In file included from dbmail.h:30,
> from dm_db.c:27:
> .../config.h:104:1: warning: this is the location of the previous definition
> In file included from /opt/mhash/include/mutils/mincludes.h:34,
> from /opt/mhash/include/mhash.h:6,
> from dbmail.h:75,
> from dm_db.c:27:
> /opt/mhash/include/mutils/mhash_config.h:201:1: warning: "PACKAGE_VERSION"
> redefined
> In file included from dbmail.h:30,
> from dm_db.c:27:
> .../config.h:107:1: warning: this is the location of the previous definition
> In file included from /opt/mhash/include/mutils/mincludes.h:34,
> from /opt/mhash/include/mhash.h:6,
> from dbmail.h:75,
> from dm_db.c:27:
> /opt/mhash/include/mutils/mhash_config.h:213:1: warning: "VERSION" redefined
> In file included from dbmail.h:30,
> from dm_db.c:27:
> .../config.h:122:1: warning: this is the location of the previous definition
> In file included from dbmail.h:89,
> from dm_db.c:27:
> /opt/libzdb/include/ConnectionPool.h:438: warning: function declaration
> isn't a prototype
> In file included from /opt/libzdb/include/SQLException.h:43,
> from dbmail.h:90,
> from dm_db.c:27:
> /opt/libzdb/include/Exception.h:217: warning: function declaration isn't a
> prototype
> dm_db.c: In function `db_connect':
> dm_db.c:200: warning: comparison between signed and unsigned
> dm_db.c: In function `db_exec':
> dm_db.c:315: error: void value not ignored as it ought to be
> dm_db.c: In function `db_stmt_set_str':
> dm_db.c:398: error: void value not ignored as it ought to be
> dm_db.c: In function `db_stmt_set_int':
> dm_db.c:403: error: void value not ignored as it ought to be
> dm_db.c: In function `db_stmt_set_u64':
> dm_db.c:408: error: void value not ignored as it ought to be
> dm_db.c: In function `db_stmt_set_blob':
> dm_db.c:413: error: void value not ignored as it ought to be
> dm_db.c: In function `db_stmt_exec':
> dm_db.c:417: error: void value not ignored as it ought to be
> dm_db.c: In function `db_begin_transaction':
> dm_db.c:477: error: wrong type argument to unary exclamation mark
> dm_db.c: In function `db_commit_transaction':
> dm_db.c:485: error: wrong type argument to unary exclamation mark
> dm_db.c: In function `db_rollback_transaction':
> dm_db.c:496: error: wrong type argument to unary exclamation mark
> gmake[3]: *** [libdbmail_la-dm_db.lo] Error 1
> gmake[3]: Leaving directory `/export/home/gbaratto/src/dbmail-2.3.5/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/export/home/gbaratto/src/dbmail-2.3.5/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/export/home/gbaratto/src/dbmail-2.3.5'
> gmake: *** [all] Error 2
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> DBmail mailing list
> DBmail[at]dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail[at]dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.