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

Paul Barker paul at paulbarker.me.uk
Fri Mar 7 01:15:59 UTC 2014


On 5 March 2014 13:45, Paul Barker <paul at paulbarker.me.uk> wrote:
> On 5 March 2014 12:49, Paul Barker <paul at paulbarker.me.uk> wrote:
>> 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,
>>
>
> I've patched ipsec-tools to fix this, will send the patch to the oe-devel list.
>

Sent.

-- 
Paul Barker

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



More information about the Openembedded-core mailing list