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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Gustav H Meyer
CC: exim-users
Asunto: Re: [Exim] Solaris 2.6 - gcc 2.6.0 - Fatal error: Command failed for target
On Tue, 12 Jun 2001, Gustav H Meyer wrote:

> Having problems building exim 3.22 on Solaris 2.6 on an Ultra 5 machine.


> 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


Since both those files are not part of the Exim source, this is not an
Exim problem.

> 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"


Again, that is a problem with a non-Exim source file.

I don't know in detail what your problem is, but it looks very like
there is something wrong with your gcc installation. We used to compile
Exim using gcc on Solaris 2.6 without any problems, but I can't remember
which version of gcc was involved, and I am not a gcc expert.

If you can't get any help from somebody who knows more about this, I
suppose the best thing would be to re-install gcc from scratch.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.