Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] testing/exim: new APKBUILD. Modular package

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Wed, 3 Dec 2014 08:28:16 +0100

On Wed, 3 Dec 2014 08:36:57 +0200
Valery Kartel <valery.kartel_at_gmail.com> wrote:

> ---
> testing/exim/APKBUILD | 140 +++--
> testing/exim/aliases | 35 --
> testing/exim/exim.Makefile | 1209 +----------------------------------------
> testing/exim/exim.pre-install | 6 +
> 4 files changed, 114 insertions(+), 1276 deletions(-)
> delete mode 100644 testing/exim/aliases
> create mode 100644 testing/exim/exim.pre-install


Looks good!

But...
gcc -o exim
spf.o: In function `spf_init':
spf.c:(.text+0x26): undefined reference to `SPF_server_new'
spf.c:(.text+0x56): undefined reference to `SPF_server_set_rec_dom'
spf.c:(.text+0x85): undefined reference to `SPF_request_new'
spf.c:(.text+0x97): undefined reference to `SPF_request_set_ipv4_str'
spf.c:(.text+0xaa): undefined reference to `SPF_request_set_ipv6_str'
spf.c:(.text+0xc7): undefined reference to `SPF_request_set_helo_dom'
spf.o: In function `spf_process':
spf.c:(.text+0x177): undefined reference to `SPF_request_set_env_from'
spf.c:(.text+0x19e): undefined reference to `SPF_request_query_fallback'
spf.c:(.text+0x1ac): undefined reference to `SPF_request_query_mailfrom'
spf.c:(.text+0x1b8): undefined reference to `SPF_response_get_header_comment'
spf.c:(.text+0x1ce): undefined reference to `SPF_response_get_received_spf'
spf.c:(.text+0x1e4): undefined reference to `SPF_response_result'
spf.c:(.text+0x1eb): undefined reference to `SPF_strresult'
spf.c:(.text+0x201): undefined reference to `SPF_response_get_smtp_comment'
spf.c:(.text+0x217): undefined reference to `SPF_response_result'
spf.c:(.text+0x221): undefined reference to `SPF_strresult'
spf.c:(.text+0x240): undefined reference to `SPF_strresult'
lookups/lookups.a(spf.o): In function `spf_find':
spf.c:(.text+0xab): undefined reference to `SPF_request_new'
spf.c:(.text+0xc5): undefined reference to `SPF_request_set_ipv4_str'
spf.c:(.text+0xf0): undefined reference to `SPF_request_set_env_from'
spf.c:(.text+0x10d): undefined reference to `SPF_request_query_mailfrom'
spf.c:(.text+0x116): undefined reference to `SPF_response_result'
spf.c:(.text+0x11d): undefined reference to `SPF_strresult'
spf.c:(.text+0x131): undefined reference to `SPF_response_free'
spf.c:(.text+0x139): undefined reference to `SPF_request_free'
lookups/lookups.a(spf.o): In function `spf_open':
spf.c:(.text+0x181): undefined reference to `SPF_server_new'
lookups/lookups.a(spf.o): In function `spf_close':
spf.c:(.text+0x5c): undefined reference to `SPF_server_free'
collect2: error: ld returned 1 exit status

Sounds like there is a missing LIBS = -lspf2 or similar

-nc


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Dec 03 2014 - 08:28:16 GMT