[exim] Exim-4.51 compilation error on FC4

Top Page
Delete this message
Reply to this message
Author: Timo Neuvonen
Date:  
To: exim-users
Subject: [exim] Exim-4.51 compilation error on FC4
I recently made a test install of Fedora Core 4 system, on x86 platform.

While compiling exim, I keep getting the errors pasted below. The minimised
way to reproduce the problem is to

- unpack the tarball
- copy /src/EDITME to Local/Makefile

- change Local/Makefile as follows:
-- EXIM_USER=ref:exim
-- eximon compilation suppressed (# added to a proper line)

- make

Exactly the same procedure compiles without problems on up-to-dated FC3
system.

- Anyone else met this?
- any ideas what to do?


Regards,
Timo


gcc -c -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -o exim_dbmbuild.o
exim_dbmbuild.c
In file included from exim.h:391,
                 from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:391,
                 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:395,
                 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:144: error: 'DB' undeclared (first use in this function)
exim_dbmbuild.c:144: error: (Each undeclared identifier is reported only
once
exim_dbmbuild.c:144: error: for each function it appears in.)
exim_dbmbuild.c:144: error: 'd' undeclared (first use in this function)
exim_dbmbuild.c:145: error: 'DBT' undeclared (first use in this function)
exim_dbmbuild.c:145: error: syntax error before 'key'
exim_dbmbuild.c:198: error: 'DB_HASH' undeclared (first use in this
function)
exim_dbmbuild.c:278: error: 'content' undeclared (first use in this
function)
exim_dbmbuild.c:281: error: 'key' undeclared (first use in this function)
exim_dbmbuild.c:281: error: 'R_NOOVERWRITE' undeclared (first use in this
function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/root/src/exim-4.51/build-Linux-i386'
make: *** [go] Error 2
[root@test exim-4.51]#