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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Gustav H Meyer
Dátum:  
Címzett: exim-users
Tárgy: RE: [Exim] Solaris 2.6 - gcc 2.6.0 - Fatal error: Command failed for target
Hi,

For some or other reason I changed my path at some stage and when I tried to
build exim I did not realize that it was using sun's version of make instead
of the gnu make. Patched Solaris and upgraded gcc at the same time now.

Thanks, everything compiled.

On Wed, 13 June 2001, Philip Hazel wrote:

>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 definition
>
>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.
>


Regards,
Gustav