PDA

View Full Version : Custombuild for exim 4.69 errors



truenegative
10-12-2008, 10:41 AM
gcc exim_dbmbuild.c
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: db.h: No such file or directory
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:529: error: syntax error before "DB"
dbstuff.h:529: warning: no semicolon at end of struct or union
dbstuff.h:531: error: syntax error before '}' token
dbstuff.h:531: warning: data definition has no type or storage class
In file included from exim.h:437,
from exim_dbmbuild.c:33:
dbfunctions.h:13: error: syntax error before '*' token
dbfunctions.h:14: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before "open_db"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: error: syntax error before '*' token
dbfunctions.h:17: error: syntax error before '*' token
dbfunctions.h:18: error: syntax error before '*' token
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:150: error: `DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: `d' undeclared (first use in this function)
exim_dbmbuild.c:151: error: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: syntax error before "key"
exim_dbmbuild.c:213: error: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:295: error: `content' undeclared (first use in this function)
exim_dbmbuild.c:298: error: `key' undeclared (first use in this function)
exim_dbmbuild.c:298: error: `R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-x86_64'
make: *** [go] Error 2


It's on a x86_64 system...

Any ideas?

truenegative
10-28-2008, 08:53 PM
Anyone? :)

scsi
10-29-2008, 08:44 AM
Just looks like bad code.

Try a ./build clean before ./build exim or whatever command you ran.