Pierre Labastie wrote:
For me the instructions to install unbound-1.6.1 (same for 1.6.2) in the
book lead to the error:
------------------
/sources/unbound/unbound-1.6.2/.libs/libunbound.so: undefined reference to
`ub_c
_in'
/sources/unbound/unbound-1.6.2/.libs/libunbound.so: undefined reference to
`ub_c
_lex'
------------------
I have installed the patch provided to flex, and it still fails with the
same error.
So I did a bisection on flex source, and actually, for me, the commit
which fixes build is
https://github.com/westes/flex/commit/078b46c69d063aef1715b11348a2871d6036f253,

while the provided patch is
https://github.com/westes/flex/commit/f5d87f1a26f4a5c3402497008ae10e9a1345d327.


Can somebody confirm this? I can upload the second patch to the patch repo
if needed.

The provided patch was all I needed. I rebuilt flex with the patch in the current LFS -dev book and unbound-1.6.{1,2} built fine.

There seems to be a newline in the vars above.  It should be:

`ub_c_in'  not

`ub_c
_in'

Or is that email wrapping?

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to