You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/10/15 12:42:34 UTC
[Bug 62827] New: undefined reference to `pcre_free'
https://bz.apache.org/bugzilla/show_bug.cgi?id=62827
Bug ID: 62827
Summary: undefined reference to `pcre_free'
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
Assignee: bugs@httpd.apache.org
Reporter: 1466568492@qq.com
Target Milestone: ---
Target version: 2.3.11-beta
OS: ubuntu 16.04
Pcre version: 8.11 / 8.42
Command I use: ./configure
--with-included-apr
--with-included-apr-util
--with-pcre=/usr/local/bin/pcre-config
--with-pcre-dir=/tmp/httpd-2.3.11-beta/pcre-8.11
('--with-included-apr-util' and '--with-pcre-dir' maybe invalid)
make
Error I get:
***********************************************************************
server/.libs/libmain.a(util_pcre.o): In function `ap_regfree':
/tmp/httpd-2.3.11-beta/server/util_pcre.c:103: undefined reference to
`pcre_free'
server/.libs/libmain.a(util_pcre.o): In function `ap_regcomp':
/tmp/httpd-2.3.11-beta/server/util_pcre.c:133: undefined reference to
`pcre_compile'
/tmp/httpd-2.3.11-beta/server/util_pcre.c:138: undefined reference to
`pcre_info'
server/.libs/libmain.a(util_pcre.o): In function `ap_regexec':
/tmp/httpd-2.3.11-beta/server/util_pcre.c:185: undefined reference to
`pcre_exec'
collect2: error: ld returned 1 exit status
/tmp/httpd-2.3.11-beta/build/program.mk:22: recipe for target 'httpd' failed
make[1]: *** [httpd] Error 1
make[1]: Leaving directory '/tmp/httpd-2.3.11-beta'
/tmp/httpd-2.3.11-beta/build/rules.mk:72: recipe for target 'all-recursive'
failed
make: *** [all-recursive] Error 1
***********************************************************************
All is right when compiling 2.4.xx
So should I include those function manually or what have I missed?
Please help, thank you!
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 62827] undefined reference to `pcre_free'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62827
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Eric Covener <co...@gmail.com> ---
What is 2.3.11-beta?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org