[Exim] Compile problems with Exim 4.34

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Chris_Eason
日付:  
To: exim-users
題目: [Exim] Compile problems with Exim 4.34
I am trying to compile Exim 4.34 on a Red Hat 9 Linux system, but keep
getting lots of errors.

I am able to compile Exim 4.22 without any problems, so I just don't
understand what's different and why it doesn't work with the later version.

I'd be incredibly grateful if anybody could offer me some advice on the
what the problem is? I've included output at the foot of this email.

Thanks

Chris

# make
`Makefile' is up to date.

make[1]: Entering directory `/root/exim/exim-4.34/build-Linux-i386'
make[2]: Entering directory `/root/exim/exim-4.34/build-Linux-i386/pcre'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/exim/exim-4.34/build-Linux-i386/pcre'
gcc -c -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -DCOMPILE_UTILITY -o
util-spool_in.o spool_in.c
In file included from exim.h:379,
                 from spool_in.c:12:
dbstuff.h:550: parse error before "BOOL"
dbstuff.h:550: warning: no semicolon at end of struct or union
dbstuff.h:553: parse error before "text"
dbstuff.h:553: warning: data definition has no type or storage class
dbstuff.h:554: parse error before '}' token
dbstuff.h:554: warning: data definition has no type or storage class
dbstuff.h:610: parse error before "uschar"
dbstuff.h:610: warning: no semicolon at end of struct or union
dbstuff.h:611: warning: data definition has no type or storage class
In file included from exim.h:380,
                 from spool_in.c:12:
structs.h:32: parse error before "BOOL"
structs.h:32: warning: no semicolon at end of struct or union
structs.h:33: warning: data definition has no type or storage class
structs.h:34: parse error before "name"
structs.h:34: warning: data definition has no type or storage class
structs.h:35: parse error before '}' token


[snip]

dbfunctions.h:15: parse error before "BOOL"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: parse error before "uschar"
spool_in.c:137: parse error before '*' token
spool_in.c: In function `count_below':
spool_in.c:140: `node' undeclared (first use in this function)
spool_in.c:140: (Each undeclared identifier is reported only once
spool_in.c:140: for each function it appears in.)

[snip]

spool_in.c:561: warning: assignment makes pointer from integer without a
cast
spool_in.c:565: invalid type argument of `unary *'
spool_in.c:581: `inheader' undeclared (first use in this function)
spool_in.c:582: warning: comparison between pointer and integer
spool_in.c:587: `header_line' undeclared (first use in this function)
spool_in.c:587: `h' undeclared (first use in this function)
spool_in.c:588: parse error before "flag"
spool_in.c:593: `flag' undeclared (first use in this function)
spool_in.c:596: `read_headers' undeclared (first use in this function)
/usr/include/sys/stat.h: At top level:
globals.h:115: warning: array `acl_wherenames' assumed to have one element
globals.h:134: warning: array `auths_available' assumed to have one element
globals.h:167: warning: array `clmacros' assumed to have one element
globals.h:185: warning: array `debug_options' assumed to have one element
globals.h:255: warning: array `expand_nstring' assumed to have one element
globals.h:277: warning: array `header_names' assumed to have one element
globals.h:319: warning: array `local_scan_options' assumed to have one
element
globals.h:330: warning: array `log_options' assumed to have one element
globals.h:338: warning: array `lookup_list' assumed to have one element
globals.h:353: warning: array `message_id_option' assumed to have one
element
globals.h:362: warning: array `message_subdir' assumed to have one element
globals.h:367: warning: array `optionlist_auths' assumed to have one
element
globals.h:369: warning: array `optionlist_routers' assumed to have one
element
globals.h:371: warning: array `optionlist_transports' assumed to have one
element
globals.h:390: warning: array `process_info' assumed to have one element
globals.h:463: warning: array `routers_available' assumed to have one
element
globals.h:569: warning: array `transports_available' assumed to have one
element
make[1]: *** [util-spool_in.o] Error 1
make[1]: Leaving directory `/root/exim/exim-4.34/build-Linux-i386'
make: *** [go] Error 2





*********************************************************************

Notice: This email is confidential and may contain copyright material
of the John Lewis Partnership. If you are not the intended recipient,
please notify us immediately and delete all copies of this message.
(Please note that it is your responsibility to scan this message for viruses).
Email to and from the John Lewis Partnership is automatically
monitored for operational and lawful business reasons.
*********************************************************************

John Lewis plc            Registered in England 233462
Registered office        171 Victoria Street London SW1E 5NN


Websites: http://www.johnlewis.com and http://www.waitrose.com