[OE-core] [PATCH 1/1] flex: not to build shared libraries

Paul Barker paul at paulbarker.me.uk
Wed Mar 5 12:49:52 UTC 2014


On 5 March 2014 09:58, Lu Chong <Chong.Lu at windriver.com> wrote:
>
> In flex 2.5.38, libfl.so was built by libtool.
>
> ipsec-tools shows this problem.
> When link libipsec.so to libfl.so, it uses '-lfl' flag. It will link from
> libfl.so.
> But libfl.so doesn't define yylex, we may get "libfl.so not found" through
> `ldd libipsec.so'.

I've used flex before, this is correct, libfl is not supposed to
define yylex. See for example
https://www.mail-archive.com/tools-linking@mail.opensolaris.org/msg00601.html

The problem is in how ipsec-tools is being linked, not in flex. I'd
suggest patching that recipe instead.

Cheers,

-- 
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk



More information about the Openembedded-core mailing list