Building 3.7.1 errors

asked 2022-07-06 14:49:23 +0000

clutch2sft gravatar image

updated 2022-07-06 15:11:12 +0000

grahamb gravatar image

I do not know where to ask this since I got the code from :

https://2.na.dl.wireshark.org/src/wir...

Had to build PCRE2 on my platform because it wasn't offered and that went fine.

Getting this error during make.

lpcre2.c:450:26: error: ‘PCRE2_INFO_HASBACKSLASHC’ undeclared (first use in this function); did you mean ‘PCRE2_INFO_BACKREFMAX’?
   SET_INFO_FIELD (L, ud, PCRE2_INFO_HASBACKSLASHC,       "HASBACKSLASHC",       uint32_t)
edit retag flag offensive close merge delete

Comments

Should probably use the source files from GitLab, e.g. git clone https://gitlab.com/wireshark/wireshark.git as that tarball might be out of date.

See the Developers Guide for info on how to obtain the sources and build.

grahamb gravatar imagegrahamb ( 2022-07-06 15:15:39 +0000 )edit

Thanks for the insights - was able to successfully build following your advice.

clutch2sft gravatar imageclutch2sft ( 2022-07-07 22:02:44 +0000 )edit