Re: [pcre-dev] libtool

Góra strony
Delete this message
Autor: Graycode
Data:  
Dla: pcre-dev
Temat: Re: [pcre-dev] libtool
On Thu, 12 Jul 2012, H.Merijn Brand wrote:

> ld: 0711-317 ERROR: Undefined symbol: .pcre_jit_stack_free
> ld: 0711-317 ERROR: Undefined symbol: .pcre_assign_jit_stack
> ld: 0711-317 ERROR: Undefined symbol: .pcre_jit_stack_alloc
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.


> So, pcretest.c is not really non-jit safe.



You should (or must) compile "pcre_jit_compile.c" in your build regardless of #defining support for JIT.

NON-AUTOTOOLS-BUILD section "GENERIC INSTRUCTIONS FOR THE PCRE C LIBRARY" steps (6) and (8) seem incorrect. They indicate a need for pcre_jit_compile.c only if you have #defined SUPPORT_JIT.

In fact, pcre_jit_compile.c may always be required. That c file supplies dummy functions when you have not #defined SUPPORT_JIT.

Original discussion = https://lists.exim.org/lurker/message/20111103.175704.658ab922.en.html