[Exim] Exim 4 build problem,

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: John Koenig
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Exim 4 build problem,
Hello,

I am stuck on this. I have read many articles in archives that looks
very similar to some build issues experienced by other persons.
However, I have not been able to fix whatever problem exists...

Would someone kindly help me see the problem and advise ???

Many thanks...
J


PS: As additional information to show that I have had success
building exim 4, the Makefile used here is exactly similar to a
successful exim 4 build on Red Hat Linux Release 7.2.


###### ### ### ### ###


Arch: sparc46
Linux Release: SuSe 7.3
kernel: 2.4.14
gcc: 2.95.3 20010315 (SuSE)

-----------------------------------------


make[1]: Entering directory `/Admin/Build/exim-4.01/build-Linux-sparc64'
make[2]: Entering directory `/Admin/Build/exim-4.01/build-Linux-sparc64/pcre'
gcc -c -O -I/usr/local/include maketables.c
gcc -c -O -I/usr/local/include get.c
gcc -c -O -I/usr/local/include pcre.c
gcc -c -O -I/usr/local/include study.c
rm -f libpcre.a
ar cq libpcre.a maketables.o get.o pcre.o study.o
ranlib libpcre.a
gcc -c -DNOPOSIX -O -I/usr/local/include pcretest.c
gcc -O -I/usr/local/include -o ../pcretest pcretest.o libpcre.a
make[2]: Leaving directory `/Admin/Build/exim-4.01/build-Linux-sparc64/pcre'
gcc -c -O -I/usr/local/include exim_dbmbuild.c


**** make[1]: Leaving directory
`/Admin/Build/exim-4.01/build-Linux-sparc64'In file


included from exim.h:316,
                  from exim_dbmbuild.c:30:
dbstuff.h:513: parse error before `DB'
dbstuff.h:513: warning: no semicolon at end of struct or union
dbstuff.h:515: parse error before `}'
dbstuff.h:515: warning: data definition has no type or storage class
In file included from exim.h:320,
                  from exim_dbmbuild.c:30:
dbfunctions.h:11: parse error before `*'
dbfunctions.h:12: parse error before `*'
dbfunctions.h:13: parse error before `*'
dbfunctions.h:13: parse error before `open_db'
dbfunctions.h:13: warning: data definition has no type or storage class
dbfunctions.h:14: parse error before `*'
dbfunctions.h:15: parse error before `*'
dbfunctions.h:16: parse error before `*'
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:67: `DB' undeclared (first use in this function)
exim_dbmbuild.c:67: (Each undeclared identifier is reported only once
exim_dbmbuild.c:67: for each function it appears in.)
exim_dbmbuild.c:67: `d' undeclared (first use in this function)
exim_dbmbuild.c:68: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:68: parse error before `key'
exim_dbmbuild.c:115: `temp_dbmname' undeclared (first use in this function)
exim_dbmbuild.c:121: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:141: `bptr' undeclared (first use in this function)
exim_dbmbuild.c:141: `buffer' undeclared (first use in this function)
exim_dbmbuild.c:144: `line' undeclared (first use in this function)
exim_dbmbuild.c:184: `content' undeclared (first use in this function)
exim_dbmbuild.c:187: `key' undeclared (first use in this function)
exim_dbmbuild.c:187: `R_NOOVERWRITE' undeclared (first use in this function)
exim_dbmbuild.c:195: `keybuffer' undeclared (first use in this function)
exim_dbmbuild.c:190: warning: unreachable code at beginning of switch statement
exim_dbmbuild.c:263: warning: unreachable code at beginning of switch statement
exim_dbmbuild.c:300: `real_dbmname' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild] Error 1
make: *** [go] Error 2