Has anyone successfully compiled Exim 1.73 under Solaris 2.6 using the
GCC compiler version 2.7.2.3 ?
In the script below it appears that the is a declaration conflict
between db.h (we are using the Berkley DB 1.85) and the sys/int_types.h
of the GCC compiler.
Any workrounds or solutions would be much appreciated......
Regards
Wm.
$ make
>>> Creating links to source files...
cd build-${build:-`scripts/os-type`-`scripts/arch-type`}; make
../scripts/Configure-makefile
>>> New makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile
../scripts/Configure-os.h
../scripts/Configure-os.c
gcc -O -DUBC -o buildconfig buildconfig.c -lsocket -lnsl -lkstat
../scripts/Configure-config.h
`buildconfig' is up to date.
Building configuration file config.h
>>> config.h built
gcc -O -DUBC -o dbconfig dbconfig.c -lsocket -lnsl -lkstat
In file included from dbfn.h:28,
from dbconfig.c:40:
/usr/local/include/db.h:54: conflicting types for `int8_t'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/int_types.h:62:
previous declaration of `int8_t'
/usr/local/include/db.h:56: warning: redefinition of `int16_t'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/int_types.h:68:
warning: `int16_t' previously declared here
/usr/local/include/db.h:58: warning: redefinition of `int32_t'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/int_types.h:69:
warning: `int32_t' previously declared here
*** Error code 1
make: Fatal error: Command failed for target `dbconfig'
Current working directory
/usr/local/src/exim/1.73/src/exim-1.73/build-SunOS5-sparc
*** Error code 1
make: Fatal error: Command failed for target `config.h'
Current working directory
/usr/local/src/exim/1.73/src/exim-1.73/build-SunOS5-sparc
*** Error code 1
make: Fatal error: Command failed for target `postmakefile'
Current working directory
/usr/local/src/exim/1.73/src/exim-1.73/build-SunOS5-sparc
*** Error code 1
make: Fatal error: Command failed for target `go'
--
William Craven Email: William.Craven@???
University Computing Services Tel: +1-604-822-8955
University of British Columbia FAX: +1-604-822-5116
Vancouver, BC, Canada V6T 1Z2
--
*** Exim information can be found at
http://www.exim.org/ ***