Re: [Exim] Fail to build exim 4.12

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Dennis Davis
Fecha:  
A: John Whelan
Cc: exim-users
Asunto: Re: [Exim] Fail to build exim 4.12
>From: John Whelan <john.whelan@???>
>To: exim-users@???
>Subject: [Exim] Fail to build exim 4.12
>Sender: exim-users-admin@???
>Date: Wed, 15 Jan 2003 14:47:36 +0000
>
>Please advise why I get the following error message when building exim 4.12,
>using gcc 2.95.3, OS Solaris 2.5.1 on Sun Netra:
>-------------------------------------
>In file included from os.c:2:
>../src/os.c:372: union has no member named `ui32'
>*** Error code 1
>make: Fatal error: Command failed for target `os.o'
>Current working directory
>/kdp4a/user/whelanj/exim4/exim-4.12/build-SunOS5-5.5.1-sparc
>*** Error code 1
>make: Fatal error: Command failed for target `go'
>--------------------------------------


Solaris 2.5.1 is quite old now. I expect that later versions aren't
totally backwards compatible with this version of the OS. So apply
the following patch to the exim source. It worked for me.

*** exim-4.12/OS/os.h-SunOS5.orig    Wed Dec 18 10:28:00 2002
--- exim-4.12/OS/os.h-SunOS5    Thu Jan  9 12:02:46 2003
***************
*** 13,19 ****
  #define LOAD_AVG_KSTAT         "system_misc"
  #define LOAD_AVG_KSTAT_MODULE  "unix"
  #define LOAD_AVG_SYMBOL        "avenrun_1min"
! #define LOAD_AVG_FIELD          value.ui32


  #define os_strsignal            strsignal
  #define OS_STRSIGNAL
--- 13,19 ----
  #define LOAD_AVG_KSTAT         "system_misc"
  #define LOAD_AVG_KSTAT_MODULE  "unix"
  #define LOAD_AVG_SYMBOL        "avenrun_1min"
! #define LOAD_AVG_FIELD          value.ul


  #define os_strsignal            strsignal
  #define OS_STRSIGNAL