Building 3.7.1 errors

asked Jul 6 '2

clutch2sft gravatar image

updated Jul 6 '2

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)
Preview: (hide)

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 ( Jul 6 '2 )

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

clutch2sft gravatar imageclutch2sft ( Jul 7 '2 )