Any thoughts on the failure of pcredemo to build properly using
configure and make?
> When configured with Configure for Static libraries in Msys, pcregrep is
> created ok, but pcredemo is problematic. Pcredemo is not even included
> at all in Cmake.
>
> gcc -DHAVE_CONFIG_H -I. -O3 -s -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 -O3 -s -o pcregrep.exe
> pcregrep.o libpcreposix.la
> gcc -O3 -s -o pcregrep.exe pcregrep.o ./.libs/libpcreposix.a
> /c/pcre-7.5/pcre-7.5-configsource/pcre-7.5/.libs/libpcre.a
> gcc -DHAVE_CONFIG_H -I. -O3 -s -MT pcredemo.o -MD -MP -MF
> .deps/pcredemo.Tpo -c -o pcredemo.o pcredemo.c
> mv -f .deps/pcredemo.Tpo .deps/pcredemo.Po
> /bin/sh ./libtool --tag=CC --mode=link gcc -O3 -s -o pcredemo.exe
> pcredemo.o libpcre.la
> gcc -O3 -s -o pcredemo.exe pcredemo.o ./.libs/libpcre.a
> pcredemo.o:pcredemo.c:(.text+0xca): undefined reference to
> `_imp__pcre_compile'
> pcredemo.o:pcredemo.c:(.text+0x120): undefined reference to
> `_imp__pcre_exec'
> pcredemo.o:pcredemo.c:(.text+0x1b9): undefined reference to
> `_imp__pcre_fullinfo'
> pcredemo.o:pcredemo.c:(.text+0x208): undefined reference to
> `_imp__pcre_fullinfo'
> pcredemo.o:pcredemo.c:(.text+0x225): undefined reference to
> `_imp__pcre_fullinfo'
> pcredemo.o:pcredemo.c:(.text+0x311): undefined reference to
> `_imp__pcre_exec'
> pcredemo.o:pcredemo.c:(.text+0x44b): undefined reference to
> `_imp__pcre_free'
> pcredemo.o:pcredemo.c:(.text+0x4f1): undefined reference to
> `_imp__pcre_free'
> collect2: ld returned 1 exit status
> make[1]: *** [pcredemo.exe] Error 1
> make[1]: Leaving directory `/c/pcre-7.5/pcre-7.5-configsource/pcre-7.5'
> make: *** [all] Error 2