i get this eror when i was compiling,May someone help me ? sorry for my bad english
heses -DHAVE_MONOTONIC_CLOCK -DPCRE_SUPPORT -I/usr/include/mysql -I../common - I/usr/include -c -o obj_sql/npc_chat.o npc_chat.c
npc_chat.c:17:18: error: pcre.h: No such file or directory
npc_chat.c:76: error: expected specifier-qualifier-list before âpcreâ
npc_chat.c: In function âfinalize_pcrematch_entryâ:
npc_chat.c:111: warning: implicit declaration of function âpcre_freeâ
npc_chat.c:111: error: âstruct pcrematch_entryâ has no member named âpcreâ
npc_chat.c:112: error: âstruct pcrematch_entryâ has no member named âpcre_extraâ
npc_chat.c:114: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c: In function ânpc_chat_def_patternâ:
npc_chat.c:318: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:319: error: âstruct pcrematch_entryâ has no member named âpcreâ
npc_chat.c:319: warning: implicit declaration of function âpcre_compileâ
npc_chat.c:319: error: âPCRE_CASELESSâ undeclared (first use in this function)
npc_chat.c:319: error: (Each undeclared identifier is reported only once
npc_chat.c:319: error: for each function it appears in.)
npc_chat.c:320: error: âstruct pcrematch_entryâ has no member named âpcre_extraâ
npc_chat.c:320: warning: implicit declaration of function âpcre_studyâ
npc_chat.c:320: error: âstruct pcrematch_entryâ has no member named âpcreâ
npc_chat.c: In function ânpc_chat_subâ:
npc_chat.c:376: warning: implicit declaration of function âpcre_execâ
npc_chat.c:376: error: âstruct pcrematch_entryâ has no member named âpcreâ
npc_chat.c:376: error: âstruct pcrematch_entryâ has no member named âpcre_extraâ
npc_chat.c:384: warning: implicit declaration of function âpcre_copy_substringâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ
npc_chat.c:392: error: âstruct pcrematch_entryâ has no member named âlabelâ
make[1]: *** [obj_sql/npc_chat.o] Error 1
make[1]: Leaving directory `/root/rewrite/src/map'
make: *** [map_sql] Error 2
Question
croxinuz
i get this eror when i was compiling,May someone help me ? sorry for my bad english
Solved : Sorry , i forget to install
yum install pcre-devel

Edited by croxinuz1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.