[Exim] Solaris 2.6 - gcc 2.6.0 - Fatal error: Command failed…

Pàgina inicial
Delete this message
Reply to this message
Autor: Gustav H Meyer
Data:  
A: exim-users
Assumpte: [Exim] Solaris 2.6 - gcc 2.6.0 - Fatal error: Command failed for target
Hi,

Having problems building exim 3.22 on Solaris 2.6 on an Ultra 5 machine. I
see someone had a similar problem although a bit different. A suggestion was
that he should upgrade gcc. I run gcc 2.6.0 on this box. Have built
succesfully on Solaris 2.7 with gcc 2.95.2 with no problems

Any other suggestions?

Please see the output of the make command as well as the errors below.

Regards,
Gustav H Meyer
------------------------
# make

>>> Creating links to source files...
>>> New Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile


/bin/sh ../scripts/Configure-os.h
/bin/sh ../scripts/Configure-os.c
gcc -O -o buildconfig buildconfig.c -lsocket -lnsl -lkstat
/bin/sh ../scripts/Configure-config.h
`buildconfig' is up to date.
Building configuration file config.h
>>> config.h built


gcc -c -O maketables.c
gcc -c -O get.c
gcc -o dftables -O dftables.c
./dftables >chartables.c
gcc -c -O pcre.c
gcc -c -O study.c
rm -f libpcre.a
ar cq libpcre.a maketables.o get.o pcre.o study.o
gcc -c -DNOPOSIX -O pcretest.c
gcc -O -o ../../util/pcretest pcretest.o libpcre.a
sed -e "s?CONFIGURE_FILE?/usr/local/exim.conf?" \
-e "s?BIN_DIRECTORY?/usr/local/bin?" \
-e "s?EXICYCLOG_MAX?10?" \
-e "s?COMPRESS_COMMAND?/usr/local/bin/gzip?" \
-e "s?COMPRESS_SUFFIX?gz?" \
-e "s?CHOWN_COMMAND?/usr/bin/chown?" \
-e "s?CHGRP_COMMAND?/usr/bin/chgrp?" \
-e "s?MV_COMMAND?/bin/mv?" \
-e "s?RM_COMMAND?/bin/rm?" \
../src/exicyclog.src > exicyclog-t
>>> exicyclog script built


sed -e "s?CONFIGURE_FILE?/usr/local/exim.conf?" \
-e "s?BIN_DIRECTORY?/usr/local/bin?" \
../src/exinext.src > exinext-t
>>> exinext script built


sed -e "s?CONFIGURE_FILE?/usr/local/exim.conf?" \
-e "s?BIN_DIRECTORY?/usr/local/bin?" \
-e "s?EXIWHAT_PS_CMD?/bin/ps?" \
-e "s?EXIWHAT_PS_ARG?-e?" \
-e "s?EXIWHAT_KILL_ARG?-USR1?" \
-e "s?EXIWHAT_EGREP_ARG?' exim( |$)'?" \
../src/exiwhat.src > exiwhat-t
>>> exiwhat script built


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
  -e "s?ZCAT_COMMAND?/usr/bin/zcat?" \
          -e "s?COMPRESS_SUFFIX?gz?" \
  ../src/exigrep.src > ../util/exigrep-t

>>> exigrep script built in util directory


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/eximstats.src > ../util/eximstats-t
>>> eximstats script built in util directory


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/exiqsumm.src > ../util/exiqsumm-t
>>> exiqsumm script built in util directory


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/transport-filter.src > ../util/transport-filter.pl-t
>>> transport-filter.pl script built in util directory


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/convert4r3.src > ../util/convert4r3-t
>>> convert4r3 script built in util directory


gcc -O  -o exim_dbmbuild  exim_dbmbuild.c \
  -lsocket -lnsl -lkstat
In file included from /usr/include/sys/turnstile.h:12,
                 from /usr/include/sys/t_lock.h:20,
                 from /usr/include/sys/vnode.h:37,
                 from /usr/include/sys/stream.h:21,
                 from /usr/include/netinet/in.h:38,
                 from /usr/include/netdb.h:96,
                 from exim.h:74,
                 from exim_dbmbuild.c:30:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.6.0/include/sys/param.h:185:
warning
: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the previous
defi
nition
In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from /usr/include/netdb.h:96,
                 from exim.h:74,
                 from exim_dbmbuild.c:30:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `exim_dbmbuild'
Current working directory /apps/inst/exim-3.22/build-SunOS5-5.6-sparc
*** Error code 1
make: Fatal error: Command failed for target `go'