[oe] [meta-networking] problem with unbound dependency to libreswan

Khem Raj raj.khem at gmail.com
Tue Apr 4 19:53:35 UTC 2017


On Tue, Apr 4, 2017 at 8:35 AM, Oliver Graute <oliver.graute at gmail.com> wrote:
> Hello list,
>
> i'am working on a libreswan and a unbound recipe but im somewhere lost
> in the include and dependency hell between unbound and libreswan.
>
> perhaps somebody can point me into the right direction by reviewing my
> provisional recipes.
>
> this is the error I got on compiling libreswan:
>
> DPOLICYGROUPSDIR=\"/etc/ipsec/ipsec.d/policies\" -DIPSEC_SECRETS_FILE=\"/etc/ipsec/ip
> sec.secrets\" -DFORCE_PR_ASSERT -DRETRANSMIT_INTERVAL_DEFAULT="500" -DUSE_FORK=1 -DUSE_VFORK=0 -DUSE_DAEMON=0 -DUSE_PTHREAD_SETSCHEDPRIO=1 -DGCC_LINT -DALLOW_MICROSOFT_BAD_PROPOSAL -Werror -Wall -Wextra -Wform
> at -Wformat-nonliteral -Wformat-security -Wundef -Wmissing-declarations -Wredundant-decls -Wnested-externs  -DNSS_REQ_AVA_COPY -I/home/graute/libreswan/ports/linux/include  \
> |               -MMD -MF ./unbound.d \
> |               -o ./unbound.o \
> |               -c /home/graute/libreswan/lib/libswan/unbound.c
> | /home/graute/libreswan/lib/libswan/unbound.c:30:46: fatal error: unbound.h: No such file or directory
> | compilation terminated.
> |
> | /home/graute/libreswan/lib/libswan/unbound.c:30:46: fatal error: unbound.h: No such file or directory
> | compilation terminated.
> | make[3]: *** [unbound.o] Error 1
>

it seems its detecting unbound on your system, it could be that its
wrongly poking at the build host. You can fix that and send a patch
if you need unbound support in libreswan then you have to add recipe
for unbound and then add that to libreswan deps

> Best regards,
>
> Oliver
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list