CustomBuild: cannot update PCRE2

lonelycowboy

New member
Joined
Jun 22, 2020
Messages
3
Location
India
Hi, i cannot update PCRE2 from 10.34 to 10.35. Below is the error it gives.

Code:
In file included from src/sljit/sljitLir.h:81,
from src/sljit/sljitLir.c:27,
from src/pcre2_jit_compile.c:79:
src/sljit/sljitConfigInternal.h:219:2: error: #error "-mshstk is needed to compile with -fcf-protection"
219 | #error "-mshstk is needed to compile with -fcf-protection"
| ^~~~~
CC src/libpcre2_8_la-pcre2_match.lo
make[1]: *** [Makefile:2403: src/libpcre2_8_la-pcre2_jit_compile.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/usr/local/directadmin/custombuild/pcre2-10.35'
make: *** [Makefile:1402: all] Error 2
Done!

Any suggestions is appreciated. System is running on Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-33-generic x86_64).
 

Attachments

  • Screenshot_2.png
    Screenshot_2.png
    21.5 KB · Views: 123
  • Screenshot_3.png
    Screenshot_3.png
    27.4 KB · Views: 119
Hi smtalk, still cannot update.

Code:
In file included from src/sljit/sljitLir.h:81,
from src/sljit/sljitLir.c:27,
from src/pcre2_jit_compile.c:79:
src/sljit/sljitConfigInternal.h:219:2: error: #error "-mshstk is needed to compile with -fcf-protection"
219 | #error "-mshstk is needed to compile with -fcf-protection"
| ^~~~~
CC src/libpcre2_8_la-pcre2_maketables.lo
CC src/libpcre2_8_la-pcre2_match.lo
make[1]: *** [Makefile:2403: src/libpcre2_8_la-pcre2_jit_compile.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/usr/local/directadmin/custombuild/pcre2-10.35'
make: *** [Makefile:1402: all] Error 2
Done!
 
Hi smtalk, still cannot update.

Code:
In file included from src/sljit/sljitLir.h:81,
from src/sljit/sljitLir.c:27,
from src/pcre2_jit_compile.c:79:
src/sljit/sljitConfigInternal.h:219:2: error: #error "-mshstk is needed to compile with -fcf-protection"
219 | #error "-mshstk is needed to compile with -fcf-protection"
| ^~~~~
CC src/libpcre2_8_la-pcre2_maketables.lo
CC src/libpcre2_8_la-pcre2_match.lo
make[1]: *** [Makefile:2403: src/libpcre2_8_la-pcre2_jit_compile.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/usr/local/directadmin/custombuild/pcre2-10.35'
make: *** [Makefile:1402: all] Error 2
Done!
Did you execute "./build update" before? What's your file mirror?
 
No, I tried directly from the Web Control Panel before. After doing "./build update" everything is working fine now. Thank you.
 
Back
Top