osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxxxxxxxxx
          Reporter: 1466568492@xxxxxx
  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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx