[exim] build problems

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Chad Leigh
Dátum:  
Címzett: exim-users
Új témák: [exim] sieve filter output on pipe transport
Tárgy: [exim] build problems

Hi

(I normally am chad@??? but my smtp server is down at the moment and is the reason for this post)

I screwed something on on my SmartOS (Solaris) based system that was running exim4. I updated some system librarues and my existing build was not finding the stuff it was looking for. I wanted to update to the latest anyway and I use my own build due to some site specific stuff I build in. I got the latest 4.94.2 and am trying to do a “make” on it.

I am getting a bunch of basic errors that look like language errors…    I have tried with gcc49, gcc6, and gcc9


This is what I am seeing (and a lot more) and I am not sure what to do next. I would expect that the default codebase should build with gcc.


# make
/bin/sh scripts/source_checks
`Makefile' is up to date.

make[1]: Entering directory '/opt/build/exim-4.94.2/build-SunOS5-5.11-i386'
gcc -DMACRO_PREDEF macro_predef.c
In file included from exim.h:526:0,
                 from macro_predef.c:12:
dbstuff.h:693:3: error: unknown type name 'BOOL'
   BOOL   expired;         /* Retry time has expired */
   ^
dbstuff.h:696:3: error: unknown type name 'uschar'
   uschar text[1];         /* Text message for last failure */
   ^
dbstuff.h:755:3: error: unknown type name 'uschar'
   uschar text[1];         /* One long character string */
   ^
dbstuff.h:793:3: error: unknown type name 'uschar'
   uschar   bloom[40];     /* Bloom filter which may be larger than this */
   ^
dbstuff.h:817:3: error: unknown type name 'uschar'
   uschar verify_override:1;
   ^
dbstuff.h:818:3: error: unknown type name 'uschar'
   uschar ocsp:3;
   ^
dbstuff.h:819:3: error: unknown type name 'uschar'
   uschar session[1];
   ^
In file included from exim.h:527:0,
                 from macro_predef.c:12:
structs.h:33:3: error: unknown type name 'uschar'
   uschar * s;  /* The string memory */
   ^
structs.h:40:3: error: unknown type name 'BOOL'
   BOOL      command_line;
   ^
structs.h:43:9: error: unknown type name 'uschar'
   const uschar * name;
         ^
structs.h:44:9: error: unknown type name 'uschar'
   const uschar * replacement;
         ^
structs.h:50:3: error: unknown type name 'uschar'
   uschar *name;
   ^
structs.h:59:3: error: unknown type name 'BOOL'
   BOOL    uid_set;
   ^
structs.h:60:3: error: unknown type name 'BOOL'
   BOOL    gid_set;
   ^
structs.h:61:3: error: unknown type name 'BOOL'
   BOOL    initgroups;
   ^
structs.h:83:9: error: unknown type name 'uschar'
   const uschar *name;  /* Host name */
         ^
structs.h:85:9: error: unknown type name 'uschar'
   const uschar *certname; /* Name used for certificate checks */
         ^