著者: James Gibbard 日付: To: exim-users 題目: [exim] Error compiling Exim4.87 with SPF on UbuntuXenial
Hi,
Platform:
Ubuntu 1604 (xenial) x64_86
Exim: 4.87 from source
libspf2-2: 1.2.10-6build1 (from repo. also tried different versions from source)
gcc: 5.3.1
When running make, I get the following error:
drtables.o: In function `init_lookup_list':
drtables.c:(.text+0x1ff): undefined reference to `spf_lookup_module_info'
collect2: error: ld returned 1 exit status
Makefile:450: recipe for target 'exim' failed
I have tried CFLAG and EXTRALIBS_EXIM as suggested by experimental
doc, and setting CFLAGS AND LDFLAGS as per the sample Makefile. Same
error for both.
On Ubuntu 1404(trusty), this works fine, even without changing the
CFLAGS and LDFLAGS at all.
Has anyone managed to compile 4.87 on Xenial with SPF support?