[pcre-dev] [Bug 2331] New: link errors building r1029: __pc…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2331] New: link errors building r1029: __pcre2_script_run_16 and __pcre2_script_run_8 not defined
https://bugs.exim.org/show_bug.cgi?id=2331

            Bug ID: 2331
           Summary: link errors building r1029: __pcre2_script_run_16 and
                    __pcre2_script_run_8 not defined
           Product: PCRE
           Version: 10.31 (PCRE2)
          Hardware: x86-64
                OS: MacOS X
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: siegel@???
                CC: pcre-dev@???


Created attachment 1142
--> https://bugs.exim.org/attachment.cgi?id=1142&action=edit
CMakeCache.txt from current working copy

Today I updated my local working copy to r1029.

I then did:

% ccmake . # to review current settings; no changes required
% make clean
% make

The build proceeded, but pcre2test failed to link with these errors:

Undefined symbols for architecture x86_64:
  "__pcre2_script_run_16", referenced from:
      _match in libpcre2-16.a(pcre2_match.c.o)
  "__pcre2_script_run_8", referenced from:
      _match in libpcre2-8.a(pcre2_match.c.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [pcre2test] Error 1
make[1]: *** [CMakeFiles/pcre2test.dir/all] Error 2
make: *** [all] Error 2


Attached is my CMakeCache.txt in case that is relevant.

--
You are receiving this mail because:
You are on the CC list for the bug.