Im trying to compile  MB2DB  to migrate my imap inbox and home folders
to dbmail

and i'm getting the these errors.

Can anybody help

Thanks
Jacques


[EMAIL PROTECTED] root]#  cd /usr/local/src/dbmail
[EMAIL PROTECTED] dbmail]#  make mb2db
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H
mb2db.c -o mb2db list.o debug.o mysql/dbmysql.o dbmd5.o md5.o
mysql/dbauthmysql.o mime.o config.o -L/usr/local/lib/mysql/
-I/usr/include/mysql/ -I. -lmysqlclient -lcrypto
mb2db.c:43: error: syntax error before "_db_host"
mb2db.c:43: warning: type defaults to `int' in declaration of `_db_host'

mb2db.c:43: warning: data definition has no type or storage class
mb2db.c:44: error: syntax error before "_db_db"
mb2db.c:44: warning: type defaults to `int' in declaration of `_db_db'
mb2db.c:44: warning: data definition has no type or storage class
mb2db.c:45: error: syntax error before "_db_user"
mb2db.c:45: warning: type defaults to `int' in declaration of `_db_user'

mb2db.c:45: warning: data definition has no type or storage class
mb2db.c:46: error: syntax error before "_db_pass"
mb2db.c:46: warning: type defaults to `int' in declaration of `_db_pass'

mb2db.c:46: warning: data definition has no type or storage class
mb2db.c: In function `main':
mb2db.c:72: warning: implicit declaration of function `ReadConfig'
mb2db.c:73: warning: implicit declaration of function `GetDBParams'
make: *** [mb2db] Erreur 1

Reply via email to