Re: [exim] IRIX build: daemon.c won't compile

Top Pagina
Delete this message
Reply to this message
Auteur: Toralf Lund
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] IRIX build: daemon.c won't compile
Toralf Lund wrote:

> Philip Hazel wrote:
>
>> On Wed, 27 Oct 2004, Toralf Lund wrote:
>>
>>
>>
>>> I'm now trying once more to build Exim 4.30 on our IRIX server
>>> (since the SGI
>>> "freeware volunteers" never seem to get around to releasing a new
>>> binary ;-/)
>>>
>>
>>
>> I used to compiled every release of Exim on IRIX, just to make sure.
>> Unfortunately, I no longer have access to an IRIX box (the particular
>> system was upgraded to a different OS). However, I think 4.30 is old
>> enough to have been tested that way.
>>
>>
>>> daemon.c:144: `socklen_t' undeclared (first use in this function)
>>>
>>
>>
>> 1. Check to see if socklen_t is defined anywhere in /usr/include/*
>> (recursively). Some operating systems don't seem to have it. Older
>> ones, I guess. Is your IRIX old? [ ... ]
>
>>
>>
>> 3. You can just define SOCKLEN_T in exim.h and see if that works, or add
>> it to OS/os.h-IRIX.
>>
>>
> Didn't help. But now I notice that SOCKLEN_T doesn't actually appear
> in the sources. Maybe I need a later exim source...


Yup. With exim-4.34 *and* the SOCKLEN_T setup, compilation seems to work
fine...

>
>> 4. If you are using a modern IRIX, tell me, and I'll put it in the
>> standard file.
>>
>>
> Well, like I said, the brand-new releases don't appear to need it, so
> it depends on how old releases you want to support... Beware of the
> fact that SGI distinguishes between "feature" and "maintenance"
> upgrades, though. It could be that that you need the update even with
> a fresh OS, if you followed the "maintenance" path instead of the
> "feature" one.
>
> - Toralf
>
>
>
>