[pcre-dev] 答复: install problems of pcre

Pàgina inicial
Delete this message
Autor: 李欣?h(Xinyue Li)
Data:  
A: pcre-dev@exim.org
Assumpte: [pcre-dev] 答复: install problems of pcre
Hi,

The OS is centos.

Best,
Xinyue Li

-----邮件原件-----
发件人: ph10@??? [mailto:ph10@hermes.cam.ac.uk]
发送时间: 2017年12月13日 0:21
收件人: 李欣?h(Xinyue Li) <lixinyue@???>
抄送: pcre-dev@???
主题: Re: [pcre-dev] install problems of pcre

On Mon, 11 Dec 2017, 李欣?h(Xinyue Li) via Pcre-dev wrote:

> I am a user of pcre2-10.21. I typed ./configure prefix=/my/path/to/pcre and then typed make. However, there is error message like below:
> src/pcre2grep.c: In function 'grep_or_recurse':
> src/pcre2grep.c:2208: error: 'errno' undeclared (first use in this
> function)


Which operating system? The 'errno' variable should be declared in the errno.h header, as specified by the C standard. That header is #included in the pcre2grep source.

Philip

--
Philip Hazel