[pcre-dev] pcre 7.8 pcrecpp linking problem

Αρχική Σελίδα
Delete this message
Συντάκτης: s2ilveszter
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] pcre 7.8 pcrecpp linking problem
Dear Philip Hazel and Developers!

I write to you because I did not find any forum or mailing list.
I would like to use your great pcre library.
I downloaded it from ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.8.zip
I use mswin with msys1.0 http://fastbull.dl.sourceforge.net/sourceforge/mingw/MSYS-1.0.10.exe
I did
    unzipped pcre-7.8.zip
    started msys, went to unzipped dir
    ./configure --disable-shared
    make
    make install


    back to codeblocks set the include and lib dirs,
    add libs from .libs dir, put #include <pcrecpp.h> and some pcrecpp code into my app
    and try to compile.
    I get some errors,
    after I had changed pcre_stringpiece.h line 59
        from class PCRECPP_EXP_DEFN StringPiece {
        to   class StringPiece {
    and pcrecpparg.h line 57
        from class PCRECPP_EXP_DEFN Arg {
        to   class Arg {
Compiling was without errors.


But linking I get these errors:
C:\msys1.0\pcre-7.8\.libs\libpcrecpp.a(pcrecpp.o):pcrecpp.cc:(.text+0x1f)||undefined reference to `_pcre_config'|
C:\msys1.0\pcre-7.8\.libs\libpcrecpp.a(pcrecpp.o):pcrecpp.cc:(.text+0x11a)||undefined reference to `_pcre_exec'|
C:\msys1.0\pcre-7.8\.libs\libpcrecpp.a(pcrecpp.o):pcrecpp.cc:(.text+0x18f)||undefined reference to `_pcre_fullinfo'|
C:\msys1.0\pcre-7.8\.libs\libpcrecpp.a(pcrecpp.o):pcrecpp.cc:(.text+0x1abf)||undefined reference to `_pcre_compile'|
C:\msys1.0\pcre-7.8\.libs\libpcrecpp.a(pcrecpp.o):pcrecpp.cc:(.text+0x1bc1)||undefined reference to `_pcre_compile'|
C:\msys1.0\pcre-7.8\.libs\libpcrecpp.a(pcrecpp.o):pcrecpp.cc:(.text+0x1e24)||undefined reference to `_pcre_free'|
C:\msys1.0\pcre-7.8\.libs\libpcrecpp.a(pcrecpp.o):pcrecpp.cc:(.text+0x1e37)||undefined reference to `_pcre_free'|
||=== Build finished: 7 errors, 0 warnings ===|

I tried to clean my project & rebuild without solution.

Any help would be appreciated.

Yours sincerely,
Szilveszter, Szilagyi




msys log:

ibm@SZILI /pcre-7.8
$ ./configure --disable-shared
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... d:/MinGW/mingw32/bin/ld.exe
checking if the linker (d:/MinGW/mingw32/bin/ld.exe) is GNU ld... yes
checking for d:/MinGW/mingw32/bin/ld.exe option to reload object files... -r
checking for BSD-compatible nm... /mingw/bin/nm
checking whether ln -s works... no, using cp -p
checking how to recognize dependent libraries... file_magic file format pei*-i386(.*architecture: i386)?
checking for dlltool... dlltool
checking for as... as
checking for objdump... objdump
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 8192
checking command to parse /mingw/bin/nm output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT
checking if gcc PIC flag -DDLL_EXPORT works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (d:/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... d:/MinGW/mingw32/bin/ld.exe
checking if the linker (d:/MinGW/mingw32/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (d:/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT
checking if g++ PIC flag -DDLL_EXPORT works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (d:/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether ln -s works... no, using cp -p
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking windows.h usability... yes
checking windows.h presence... yes
checking for windows.h... yes
checking for alias support in the linker... no
checking for alias support in the linker... no
checking string usability... yes
checking string presence... yes
checking for string... yes
checking bits/type_traits.h usability... yes
checking bits/type_traits.h presence... yes
checking for bits/type_traits.h... yes
checking type_traits.h usability... no
checking type_traits.h presence... no
checking for type_traits.h... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for strtoq... no
checking for strtoll... yes
checking for long long... yes
checking for unsigned long long... yes
checking for bcopy... no
checking for memmove... yes
checking for strerror... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking for gzopen in -lz... no
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzopen in -lbz2... no
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking for readline in -lreadline... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpcre.pc
config.status: creating libpcrecpp.pc
config.status: creating pcre-config
config.status: creating pcre.h
config.status: creating pcre_stringpiece.h
config.status: creating pcrecpparg.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing script-chmod commands
config.status: executing delete-old-chartables commands

pcre-7.8 configuration summary:

    Install prefix .................. : /usr/local
    C preprocessor .................. : gcc -E
    C compiler ...................... : gcc
    C++ preprocessor ................ : g++ -E
    C++ compiler .................... : g++
    Linker .......................... : d:/MinGW/mingw32/bin/ld.exe
    C preprocessor flags ............ : 
    C compiler flags ................ : -O2
    C++ compiler flags .............. : -O2
    Linker flags .................... : 
    Extra libraries ................. : 


    Build C++ library ............... : yes
    Enable UTF-8 support ............ : no
    Unicode properties .............. : no
    Newline char/sequence ........... : lf
    \R matches only ANYCRLF ......... : no
    EBCDIC coding ................... : no
    Rebuild char tables ............. : no
    Use stack recursion ............. : yes
    POSIX mem threshold ............. : 10
    Internal link size .............. : 2
    Match limit ..................... : 10000000
    Match limit recursion ........... : MATCH_LIMIT
    Build shared libs ............... : no
    Build static libs ............... : yes
    Link pcregrep with libz ......... : no
    Link pcregrep with libbz2 ....... : no
    Link pcretest with libreadline .. : no



ibm@SZILI /pcre-7.8
$ make
make  all-am
make[1]: Entering directory `/pcre-7.8'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_compile.lo -MD -MP -MF .deps/pcre_compile.Tpo -c -o p                      cre_compile.lo pcre_compile.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_compile.lo -MD -MP -MF .deps/pcre_compile.Tpo -c pcre_compile.c -o pcre_compile.o
mv -f .deps/pcre_compile.Tpo .deps/pcre_compile.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_config.lo -MD -MP -MF .deps/pcre_config.Tpo -c -o pcr                      e_config.lo pcre_config.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_config.lo -MD -MP -MF .deps/pcre_config.Tpo -c pcre_config.c -o pcre_config.o
mv -f .deps/pcre_config.Tpo .deps/pcre_config.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_dfa_exec.lo -MD -MP -MF .deps/pcre_dfa_exec.Tpo -c -o                       pcre_dfa_exec.lo pcre_dfa_exec.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_dfa_exec.lo -MD -MP -MF .deps/pcre_dfa_exec.Tpo -c pcre_dfa_exec.c -o pcre_dfa_exec.o
mv -f .deps/pcre_dfa_exec.Tpo .deps/pcre_dfa_exec.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_exec.lo -MD -MP -MF .deps/pcre_exec.Tpo -c -o pcre_ex                      ec.lo pcre_exec.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_exec.lo -MD -MP -MF .deps/pcre_exec.Tpo -c pcre_exec.c -o pcre_exec.o
mv -f .deps/pcre_exec.Tpo .deps/pcre_exec.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_fullinfo.lo -MD -MP -MF .deps/pcre_fullinfo.Tpo -c -o                       pcre_fullinfo.lo pcre_fullinfo.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_fullinfo.lo -MD -MP -MF .deps/pcre_fullinfo.Tpo -c pcre_fullinfo.c -o pcre_fullinfo.o
mv -f .deps/pcre_fullinfo.Tpo .deps/pcre_fullinfo.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_get.lo -MD -MP -MF .deps/pcre_get.Tpo -c -o pcre_get.                      lo pcre_get.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_get.lo -MD -MP -MF .deps/pcre_get.Tpo -c pcre_get.c -o pcre_get.o
mv -f .deps/pcre_get.Tpo .deps/pcre_get.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_globals.lo -MD -MP -MF .deps/pcre_globals.Tpo -c -o p                      cre_globals.lo pcre_globals.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_globals.lo -MD -MP -MF .deps/pcre_globals.Tpo -c pcre_globals.c -o pcre_globals.o
mv -f .deps/pcre_globals.Tpo .deps/pcre_globals.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_info.lo -MD -MP -MF .deps/pcre_info.Tpo -c -o pcre_in                      fo.lo pcre_info.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_info.lo -MD -MP -MF .deps/pcre_info.Tpo -c pcre_info.c -o pcre_info.o
mv -f .deps/pcre_info.Tpo .deps/pcre_info.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_maketables.lo -MD -MP -MF .deps/pcre_maketables.Tpo -                      c -o pcre_maketables.lo pcre_maketables.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_maketables.lo -MD -MP -MF .deps/pcre_maketables.Tpo -c pcre_maketables.c -o pcre_maketables.o
mv -f .deps/pcre_maketables.Tpo .deps/pcre_maketables.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_newline.lo -MD -MP -MF .deps/pcre_newline.Tpo -c -o p                      cre_newline.lo pcre_newline.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_newline.lo -MD -MP -MF .deps/pcre_newline.Tpo -c pcre_newline.c -o pcre_newline.o
mv -f .deps/pcre_newline.Tpo .deps/pcre_newline.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_ord2utf8.lo -MD -MP -MF .deps/pcre_ord2utf8.Tpo -c -o                       pcre_ord2utf8.lo pcre_ord2utf8.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_ord2utf8.lo -MD -MP -MF .deps/pcre_ord2utf8.Tpo -c pcre_ord2utf8.c -o pcre_ord2utf8.o
mv -f .deps/pcre_ord2utf8.Tpo .deps/pcre_ord2utf8.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_refcount.lo -MD -MP -MF .deps/pcre_refcount.Tpo -c -o                       pcre_refcount.lo pcre_refcount.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_refcount.lo -MD -MP -MF .deps/pcre_refcount.Tpo -c pcre_refcount.c -o pcre_refcount.o
mv -f .deps/pcre_refcount.Tpo .deps/pcre_refcount.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_study.lo -MD -MP -MF .deps/pcre_study.Tpo -c -o pcre_                      study.lo pcre_study.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_study.lo -MD -MP -MF .deps/pcre_study.Tpo -c pcre_study.c -o pcre_study.o
mv -f .deps/pcre_study.Tpo .deps/pcre_study.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_tables.lo -MD -MP -MF .deps/pcre_tables.Tpo -c -o pcr                      e_tables.lo pcre_tables.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_tables.lo -MD -MP -MF .deps/pcre_tables.Tpo -c pcre_tables.c -o pcre_tables.o
mv -f .deps/pcre_tables.Tpo .deps/pcre_tables.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_try_flipped.lo -MD -MP -MF .deps/pcre_try_flipped.Tpo                       -c -o pcre_try_flipped.lo pcre_try_flipped.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_try_flipped.lo -MD -MP -MF .deps/pcre_try_flipped.Tpo -c pcre_try_flipped.c -o pcre_try_flipped.o
mv -f .deps/pcre_try_flipped.Tpo .deps/pcre_try_flipped.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_ucd.lo -MD -MP -MF .deps/pcre_ucd.Tpo -c -o pcre_ucd.                      lo pcre_ucd.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_ucd.lo -MD -MP -MF .deps/pcre_ucd.Tpo -c pcre_ucd.c -o pcre_ucd.o
mv -f .deps/pcre_ucd.Tpo .deps/pcre_ucd.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_valid_utf8.lo -MD -MP -MF .deps/pcre_valid_utf8.Tpo -                      c -o pcre_valid_utf8.lo pcre_valid_utf8.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_valid_utf8.lo -MD -MP -MF .deps/pcre_valid_utf8.Tpo -c pcre_valid_utf8.c -o pcre_valid_utf8.o
mv -f .deps/pcre_valid_utf8.Tpo .deps/pcre_valid_utf8.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_version.lo -MD -MP -MF .deps/pcre_version.Tpo -c -o p                      cre_version.lo pcre_version.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_version.lo -MD -MP -MF .deps/pcre_version.Tpo -c pcre_version.c -o pcre_version.o
mv -f .deps/pcre_version.Tpo .deps/pcre_version.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_xclass.lo -MD -MP -MF .deps/pcre_xclass.Tpo -c -o pcr                      e_xclass.lo pcre_xclass.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_xclass.lo -MD -MP -MF .deps/pcre_xclass.Tpo -c pcre_xclass.c -o pcre_xclass.o
mv -f .deps/pcre_xclass.Tpo .deps/pcre_xclass.Plo
rm -f pcre_chartables.c
cp -p ./pcre_chartables.c.dist pcre_chartables.c
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcre_chartables.lo -MD -MP -MF .deps/pcre_chartables.Tpo -                      c -o pcre_chartables.lo pcre_chartables.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_chartables.lo -MD -MP -MF .deps/pcre_chartables.Tpo -c pcre_chartables.c -o pcre_chartables.o
mv -f .deps/pcre_chartables.Tpo .deps/pcre_chartables.Plo
/bin/sh ./libtool --tag=CC   --mode=link gcc  -O2 -version-info 0:1:0  -o libpcre.la -rpath /usr/local/lib pcre_compile.lo pcre_config.lo                       pcre_dfa_exec.lo pcre_exec.lo pcre_fullinfo.lo pcre_get.lo pcre_globa                      ls.lo pcre_info.lo pcre_maketables.lo pcre_newline.lo pcre_ord2utf8.l                      o pcre_refcount.lo pcre_study.lo pcre_tables.lo pcre_try_flipped.lo p                      cre_ucd.lo pcre_valid_utf8.lo pcre_version.lo pcre_xclass.lo pcre_cha                      rtables.lo  
mkdir .libs
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries
ar cru .libs/libpcre.a  pcre_compile.o pcre_config.o pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o pcre_globals.o pcre_info.o pcr                      e_maketables.o pcre_newline.o pcre_ord2utf8.o pcre_refcount.o pcre_st                      udy.o pcre_tables.o pcre_try_flipped.o pcre_ucd.o pcre_valid_utf8.o p                      cre_version.o pcre_xclass.o pcre_chartables.o
ranlib .libs/libpcre.a
creating libpcre.la
(cd .libs && rm -f libpcre.la && cp -p ../libpcre.la libpcre.la)
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcreposix.lo -MD -MP -MF .deps/pcreposix.Tpo -c -o pcrepos                      ix.lo pcreposix.c
 gcc -DHAVE_CONFIG_H -I. -O2 -MT pcreposix.lo -MD -MP -MF .deps/pcreposix.Tpo -c pcreposix.c -o pcreposix.o
mv -f .deps/pcreposix.Tpo .deps/pcreposix.Plo
/bin/sh ./libtool --tag=CC   --mode=link gcc  -O2 -version-info 0:0:0  -o libpcreposix.la -rpath /usr/local/lib pcreposix.lo libpcre.la 
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries
ar cru .libs/libpcreposix.a  pcreposix.o
ranlib .libs/libpcreposix.a
creating libpcreposix.la
(cd .libs && rm -f libpcreposix.la && cp -p ../libpcreposix.la libpcreposix.la)
/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.     -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c -o pcrecpp.lo                       pcrecpp.cc
 g++ -DHAVE_CONFIG_H -I. -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c pcrecpp.cc -o pcrecpp.o
mv -f .deps/pcrecpp.Tpo .deps/pcrecpp.Plo
/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.     -O2 -MT pcre_scanner.lo -MD -MP -MF .deps/pcre_scanner.Tpo -c -o                       pcre_scanner.lo pcre_scanner.cc
 g++ -DHAVE_CONFIG_H -I. -O2 -MT pcre_scanner.lo -MD -MP -MF .deps/pcre_scanner.Tpo -c pcre_scanner.cc -o pcre_scanner.o
mv -f .deps/pcre_scanner.Tpo .deps/pcre_scanner.Plo
/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.     -O2 -MT pcre_stringpiece.lo -MD -MP -MF .deps/pcre_stringpiece.Tp                      o -c -o pcre_stringpiece.lo pcre_stringpiece.cc
 g++ -DHAVE_CONFIG_H -I. -O2 -MT pcre_stringpiece.lo -MD -MP -MF .deps/pcre_stringpiece.Tpo -c pcre_stringpiece.cc -o pcre_stringpiece.o
mv -f .deps/pcre_stringpiece.Tpo .deps/pcre_stringpiece.Plo
/bin/sh ./libtool --tag=CXX   --mode=link g++  -O2 -version-info 0:0:0                             -o libpcrecpp.la -rpath /usr/local/lib                       pcrecpp.lo pcre_scanner.lo pcre_stringpiece.lo libpcre.la 
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries
ar cru .libs/libpcrecpp.a  pcrecpp.o pcre_scanner.o pcre_stringpiece.o
ranlib .libs/libpcrecpp.a
creating libpcrecpp.la
(cd .libs && rm -f libpcrecpp.la && cp -p ../libpcrecpp.la libpcrecpp.la)
gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcretest.o -MD -MP -MF .deps/pcretest.Tpo -c -o pcretest.o pcretest.c
pcretest.c:75:1: warning: "fileno" redefined
In file included from pcretest.c:44:
d:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h:529:1: warning: this is the location of the previous definition
mv -f .deps/pcretest.Tpo .deps/pcretest.Po
/bin/sh ./libtool --tag=CC   --mode=link gcc  -O2   -o pcretest.exe pcretest.o libpcreposix.la 
gcc -O2 -o pcretest.exe pcretest.o  ./.libs/libpcreposix.a /pcre-7.8/.libs/libpcre.a  
gcc -DHAVE_CONFIG_H -I.     -O2 -MT pcregrep.o -MD -MP -MF .deps/pcregrep.Tpo -c -o pcregrep.o pcregrep.c
mv -f .deps/pcregrep.Tpo .deps/pcregrep.Po
/bin/sh ./libtool --tag=CC   --mode=link gcc  -O2   -o pcregrep.exe pcregrep.o libpcreposix.la 
gcc -O2 -o pcregrep.exe pcregrep.o  ./.libs/libpcreposix.a /pcre-7.8/.libs/libpcre.a  
g++ -DHAVE_CONFIG_H -I.     -O2 -MT pcrecpp_unittest.o -MD -MP -MF .deps/pcrecpp_unittest.Tpo -c -o pcrecpp_unittest.o pcrecpp_unittest.cc
mv -f .deps/pcrecpp_unittest.Tpo .deps/pcrecpp_unittest.Po
/bin/sh ./libtool --tag=CXX   --mode=link g++  -O2   -o pcrecpp_unittest.exe pcrecpp_unittest.o libpcrecpp.la 
g++ -O2 -o pcrecpp_unittest.exe pcrecpp_unittest.o  ./.libs/libpcrecpp.a /pcre-7.8/.libs/libpcre.a  
g++ -DHAVE_CONFIG_H -I.     -O2 -MT pcre_scanner_unittest.o -MD -MP -MF .deps/pcre_scanner_unittest.Tpo -c -o pcre_scanner_unittest.o pcre                      _scanner_unittest.cc
mv -f .deps/pcre_scanner_unittest.Tpo .deps/pcre_scanner_unittest.Po
/bin/sh ./libtool --tag=CXX   --mode=link g++  -O2   -o pcre_scanner_unittest.exe pcre_scanner_unittest.o libpcrecpp.la 
g++ -O2 -o pcre_scanner_unittest.exe pcre_scanner_unittest.o  ./.libs/libpcrecpp.a /pcre-7.8/.libs/libpcre.a  
g++ -DHAVE_CONFIG_H -I.     -O2 -MT pcre_stringpiece_unittest.o -MD -MP -MF .deps/pcre_stringpiece_unittest.Tpo -c -o pcre_stringpiece_uni                      ttest.o pcre_stringpiece_unittest.cc
mv -f .deps/pcre_stringpiece_unittest.Tpo .deps/pcre_stringpiece_unittest.Po
/bin/sh ./libtool --tag=CXX   --mode=link g++  -O2   -o pcre_stringpiece_unittest.exe pcre_stringpiece_unittest.o libpcrecpp.la 
g++ -O2 -o pcre_stringpiece_unittest.exe pcre_stringpiece_unittest.o  ./.libs/libpcrecpp.a /pcre-7.8/.libs/libpcre.a  
make[1]: Leaving directory `/pcre-7.8'


ibm@SZILI /pcre-7.8
$ make install
make[1]: Entering directory `/pcre-7.8'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ./libtool --mode=install /bin/install -c 'libpcre.la' '/usr/local/lib/libpcre.la'
/bin/install -c .libs/libpcre.lai /usr/local/lib/libpcre.la
/bin/install -c .libs/libpcre.a /usr/local/lib/libpcre.a
chmod 644 /usr/local/lib/libpcre.a
ranlib /usr/local/lib/libpcre.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-LLIBDIR' linker flag


See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ./libtool --mode=install /bin/install -c 'libpcreposix.la' '/usr/local/lib/libpcreposix.la'
/bin/install -c .libs/libpcreposix.lai /usr/local/lib/libpcreposix.la
/bin/install -c .libs/libpcreposix.a /usr/local/lib/libpcreposix.a
chmod 644 /usr/local/lib/libpcreposix.a
ranlib /usr/local/lib/libpcreposix.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-LLIBDIR' linker flag


See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ./libtool --mode=install /bin/install -c 'libpcrecpp.la' '/usr/local/lib/libpcrecpp.la'
/bin/install -c .libs/libpcrecpp.lai /usr/local/lib/libpcrecpp.la
/bin/install -c .libs/libpcrecpp.a /usr/local/lib/libpcrecpp.a
chmod 644 /usr/local/lib/libpcrecpp.a
ranlib /usr/local/lib/libpcrecpp.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-LLIBDIR' linker flag


See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/sh ./libtool --mode=install /bin/install -c 'pcretest.exe' '/usr/local/bin/pcretest.exe'
/bin/install -c pcretest.exe /usr/local/bin/pcretest.exe
/bin/sh ./libtool --mode=install /bin/install -c 'pcregrep.exe' '/usr/local/bin/pcregrep.exe'
/bin/install -c pcregrep.exe /usr/local/bin/pcregrep.exe
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/install -c 'pcre-config' '/usr/local/bin/pcre-config'
test -z "/usr/local/share/doc/pcre" || /bin/mkdir -p "/usr/local/share/doc/pcre"
/bin/install -c -m 644 'doc/pcre.txt' '/usr/local/share/doc/pcre/pcre.txt'
/bin/install -c -m 644 'doc/pcre-config.txt' '/usr/local/share/doc/pcre/pcre-config.txt'
/bin/install -c -m 644 'doc/pcregrep.txt' '/usr/local/share/doc/pcre/pcregrep.txt'
/bin/install -c -m 644 'doc/pcretest.txt' '/usr/local/share/doc/pcre/pcretest.txt'
/bin/install -c -m 644 'AUTHORS' '/usr/local/share/doc/pcre/AUTHORS'
/bin/install -c -m 644 'COPYING' '/usr/local/share/doc/pcre/COPYING'
/bin/install -c -m 644 'ChangeLog' '/usr/local/share/doc/pcre/ChangeLog'
/bin/install -c -m 644 'LICENCE' '/usr/local/share/doc/pcre/LICENCE'
/bin/install -c -m 644 'NEWS' '/usr/local/share/doc/pcre/NEWS'
/bin/install -c -m 644 'README' '/usr/local/share/doc/pcre/README'
test -z "/usr/local/share/doc/pcre/html" || /bin/mkdir -p "/usr/local/share/doc/pcre/html"
/bin/install -c -m 644 'doc/html/index.html' '/usr/local/share/doc/pcre/html/index.html'
/bin/install -c -m 644 'doc/html/pcre.html' '/usr/local/share/doc/pcre/html/pcre.html'
/bin/install -c -m 644 'doc/html/pcre-config.html' '/usr/local/share/doc/pcre/html/pcre-config.html'
/bin/install -c -m 644 'doc/html/pcre_compile.html' '/usr/local/share/doc/pcre/html/pcre_compile.html'
/bin/install -c -m 644 'doc/html/pcre_compile2.html' '/usr/local/share/doc/pcre/html/pcre_compile2.html'
/bin/install -c -m 644 'doc/html/pcre_config.html' '/usr/local/share/doc/pcre/html/pcre_config.html'
/bin/install -c -m 644 'doc/html/pcre_copy_named_substring.html' '/usr/local/share/doc/pcre/html/pcre_copy_named_substring.html'
/bin/install -c -m 644 'doc/html/pcre_copy_substring.html' '/usr/local/share/doc/pcre/html/pcre_copy_substring.html'
/bin/install -c -m 644 'doc/html/pcre_dfa_exec.html' '/usr/local/share/doc/pcre/html/pcre_dfa_exec.html'
/bin/install -c -m 644 'doc/html/pcre_exec.html' '/usr/local/share/doc/pcre/html/pcre_exec.html'
/bin/install -c -m 644 'doc/html/pcre_free_substring.html' '/usr/local/share/doc/pcre/html/pcre_free_substring.html'
/bin/install -c -m 644 'doc/html/pcre_free_substring_list.html' '/usr/local/share/doc/pcre/html/pcre_free_substring_list.html'
/bin/install -c -m 644 'doc/html/pcre_fullinfo.html' '/usr/local/share/doc/pcre/html/pcre_fullinfo.html'
/bin/install -c -m 644 'doc/html/pcre_get_named_substring.html' '/usr/local/share/doc/pcre/html/pcre_get_named_substring.html'
/bin/install -c -m 644 'doc/html/pcre_get_stringnumber.html' '/usr/local/share/doc/pcre/html/pcre_get_stringnumber.html'
/bin/install -c -m 644 'doc/html/pcre_get_stringtable_entries.html' '/usr/local/share/doc/pcre/html/pcre_get_stringtable_entries.html'
/bin/install -c -m 644 'doc/html/pcre_get_substring.html' '/usr/local/share/doc/pcre/html/pcre_get_substring.html'
/bin/install -c -m 644 'doc/html/pcre_get_substring_list.html' '/usr/local/share/doc/pcre/html/pcre_get_substring_list.html'
/bin/install -c -m 644 'doc/html/pcre_info.html' '/usr/local/share/doc/pcre/html/pcre_info.html'
/bin/install -c -m 644 'doc/html/pcre_maketables.html' '/usr/local/share/doc/pcre/html/pcre_maketables.html'
/bin/install -c -m 644 'doc/html/pcre_refcount.html' '/usr/local/share/doc/pcre/html/pcre_refcount.html'
/bin/install -c -m 644 'doc/html/pcre_study.html' '/usr/local/share/doc/pcre/html/pcre_study.html'
/bin/install -c -m 644 'doc/html/pcre_version.html' '/usr/local/share/doc/pcre/html/pcre_version.html'
/bin/install -c -m 644 'doc/html/pcreapi.html' '/usr/local/share/doc/pcre/html/pcreapi.html'
/bin/install -c -m 644 'doc/html/pcrebuild.html' '/usr/local/share/doc/pcre/html/pcrebuild.html'
/bin/install -c -m 644 'doc/html/pcrecallout.html' '/usr/local/share/doc/pcre/html/pcrecallout.html'
/bin/install -c -m 644 'doc/html/pcrecompat.html' '/usr/local/share/doc/pcre/html/pcrecompat.html'
/bin/install -c -m 644 'doc/html/pcregrep.html' '/usr/local/share/doc/pcre/html/pcregrep.html'
/bin/install -c -m 644 'doc/html/pcrematching.html' '/usr/local/share/doc/pcre/html/pcrematching.html'
/bin/install -c -m 644 'doc/html/pcrepartial.html' '/usr/local/share/doc/pcre/html/pcrepartial.html'
/bin/install -c -m 644 'doc/html/pcrepattern.html' '/usr/local/share/doc/pcre/html/pcrepattern.html'
/bin/install -c -m 644 'doc/html/pcreperform.html' '/usr/local/share/doc/pcre/html/pcreperform.html'
/bin/install -c -m 644 'doc/html/pcreposix.html' '/usr/local/share/doc/pcre/html/pcreposix.html'
/bin/install -c -m 644 'doc/html/pcreprecompile.html' '/usr/local/share/doc/pcre/html/pcreprecompile.html'
/bin/install -c -m 644 'doc/html/pcresample.html' '/usr/local/share/doc/pcre/html/pcresample.html'
/bin/install -c -m 644 'doc/html/pcrestack.html' '/usr/local/share/doc/pcre/html/pcrestack.html'
/bin/install -c -m 644 'doc/html/pcresyntax.html' '/usr/local/share/doc/pcre/html/pcresyntax.html'
/bin/install -c -m 644 'doc/html/pcretest.html' '/usr/local/share/doc/pcre/html/pcretest.html'
test -z "/usr/local/share/doc/pcre/html" || /bin/mkdir -p "/usr/local/share/doc/pcre/html"
/bin/install -c -m 644 'doc/html/pcrecpp.html' '/usr/local/share/doc/pcre/html/pcrecpp.html'
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/bin/install -c -m 644 'pcreposix.h' '/usr/local/include/pcreposix.h'
/bin/install -c -m 644 'pcrecpp.h' '/usr/local/include/pcrecpp.h'
/bin/install -c -m 644 'pcre_scanner.h' '/usr/local/include/pcre_scanner.h'
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/bin/install -c -m 644 './doc/pcre-config.1' '/usr/local/share/man/man1/pcre-config.1'
/bin/install -c -m 644 './doc/pcregrep.1' '/usr/local/share/man/man1/pcregrep.1'
/bin/install -c -m 644 './doc/pcretest.1' '/usr/local/share/man/man1/pcretest.1'
test -z "/usr/local/share/man/man3" || /bin/mkdir -p "/usr/local/share/man/man3"
/bin/install -c -m 644 './doc/pcrecpp.3' '/usr/local/share/man/man3/pcrecpp.3'
/bin/install -c -m 644 './doc/pcre.3' '/usr/local/share/man/man3/pcre.3'
/bin/install -c -m 644 './doc/pcre_compile.3' '/usr/local/share/man/man3/pcre_compile.3'
/bin/install -c -m 644 './doc/pcre_compile2.3' '/usr/local/share/man/man3/pcre_compile2.3'
/bin/install -c -m 644 './doc/pcre_config.3' '/usr/local/share/man/man3/pcre_config.3'
/bin/install -c -m 644 './doc/pcre_copy_named_substring.3' '/usr/local/share/man/man3/pcre_copy_named_substring.3'
/bin/install -c -m 644 './doc/pcre_copy_substring.3' '/usr/local/share/man/man3/pcre_copy_substring.3'
/bin/install -c -m 644 './doc/pcre_dfa_exec.3' '/usr/local/share/man/man3/pcre_dfa_exec.3'
/bin/install -c -m 644 './doc/pcre_exec.3' '/usr/local/share/man/man3/pcre_exec.3'
/bin/install -c -m 644 './doc/pcre_free_substring.3' '/usr/local/share/man/man3/pcre_free_substring.3'
/bin/install -c -m 644 './doc/pcre_free_substring_list.3' '/usr/local/share/man/man3/pcre_free_substring_list.3'
/bin/install -c -m 644 './doc/pcre_fullinfo.3' '/usr/local/share/man/man3/pcre_fullinfo.3'
/bin/install -c -m 644 './doc/pcre_get_named_substring.3' '/usr/local/share/man/man3/pcre_get_named_substring.3'
/bin/install -c -m 644 './doc/pcre_get_stringnumber.3' '/usr/local/share/man/man3/pcre_get_stringnumber.3'
/bin/install -c -m 644 './doc/pcre_get_stringtable_entries.3' '/usr/local/share/man/man3/pcre_get_stringtable_entries.3'
/bin/install -c -m 644 './doc/pcre_get_substring.3' '/usr/local/share/man/man3/pcre_get_substring.3'
/bin/install -c -m 644 './doc/pcre_get_substring_list.3' '/usr/local/share/man/man3/pcre_get_substring_list.3'
/bin/install -c -m 644 './doc/pcre_info.3' '/usr/local/share/man/man3/pcre_info.3'
/bin/install -c -m 644 './doc/pcre_maketables.3' '/usr/local/share/man/man3/pcre_maketables.3'
/bin/install -c -m 644 './doc/pcre_refcount.3' '/usr/local/share/man/man3/pcre_refcount.3'
/bin/install -c -m 644 './doc/pcre_study.3' '/usr/local/share/man/man3/pcre_study.3'
/bin/install -c -m 644 './doc/pcre_version.3' '/usr/local/share/man/man3/pcre_version.3'
/bin/install -c -m 644 './doc/pcreapi.3' '/usr/local/share/man/man3/pcreapi.3'
/bin/install -c -m 644 './doc/pcrebuild.3' '/usr/local/share/man/man3/pcrebuild.3'
/bin/install -c -m 644 './doc/pcrecallout.3' '/usr/local/share/man/man3/pcrecallout.3'
/bin/install -c -m 644 './doc/pcrecompat.3' '/usr/local/share/man/man3/pcrecompat.3'
/bin/install -c -m 644 './doc/pcrematching.3' '/usr/local/share/man/man3/pcrematching.3'
/bin/install -c -m 644 './doc/pcrepartial.3' '/usr/local/share/man/man3/pcrepartial.3'
/bin/install -c -m 644 './doc/pcrepattern.3' '/usr/local/share/man/man3/pcrepattern.3'
/bin/install -c -m 644 './doc/pcreperform.3' '/usr/local/share/man/man3/pcreperform.3'
/bin/install -c -m 644 './doc/pcreposix.3' '/usr/local/share/man/man3/pcreposix.3'
/bin/install -c -m 644 './doc/pcreprecompile.3' '/usr/local/share/man/man3/pcreprecompile.3'
/bin/install -c -m 644 './doc/pcresample.3' '/usr/local/share/man/man3/pcresample.3'
/bin/install -c -m 644 './doc/pcrestack.3' '/usr/local/share/man/man3/pcrestack.3'
/bin/install -c -m 644 './doc/pcresyntax.3' '/usr/local/share/man/man3/pcresyntax.3'
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/bin/install -c -m 644 'pcre.h' '/usr/local/include/pcre.h'
/bin/install -c -m 644 'pcrecpparg.h' '/usr/local/include/pcrecpparg.h'
/bin/install -c -m 644 'pcre_stringpiece.h' '/usr/local/include/pcre_stringpiece.h'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/bin/install -c -m 644 'libpcre.pc' '/usr/local/lib/pkgconfig/libpcre.pc'
/bin/install -c -m 644 'libpcrecpp.pc' '/usr/local/lib/pkgconfig/libpcrecpp.pc'
make[1]: Leaving directory `/pcre-7.8'