Re: [pcre-dev] 7.4-RC1 test release (doesn't build)

Inizio della pagina
Delete this message
Autore: Sheri
Data:  
To: pcre-dev
Oggetto: Re: [pcre-dev] 7.4-RC1 test release (doesn't build)
Philip Hazel wrote:
> On Thu, 13 Sep 2007, Sheri wrote:
>
>
>> I'm having trouble making the 7.4 RC1 test release in Msys.
>>
>
> I'm assuming you had no problems with 7.3?
>

none.
>
>> Here is my configure line (one line):
>>
>> ../pcre-7.4-RC1/configure --prefix=$PWD/../prefix --enable-utf8
>> --enable-new
>> line-is-anycrlf --enable-bsr-anycrlf --enable-unicode-properties
>> --disable-stac
>> k-for-recursion --disable-cpp
>>
>
> Unfortunately, I have to go home now. I will try that exact
> configuration myself in the morning. Meanwhile, maybe someone who knows
> more about the building stuff may comment...
>
> Philip
>
>

I built with various configure lines into a variety of subdirectories
(all in the same session of Msys) and now (for unknown reasons) the
above configuration no longer fails to build. However, in another dir
(where I didn't disable cpp) when it tried to compile pcrecpp.cc there
were errors. Because of the errors and I guess the order of building,
make failed to create pcretest.exe, pcredemo.exe and pcregrep.exe (in
addition to the cpp components).

Here was the relevant console output:

/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../pcre-7.4-RC1     -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo 
-c -o pcrecpp.lo ../pcre-7.4-RC1/pcrecpp.cc
 g++ -DHAVE_CONFIG_H -I. -I../pcre-7.4-RC1 -O2 -MT pcrecpp.lo -MD -MP 
-MF .deps/pcrecpp.Tpo -c ../pcre-7.4-RC1/pcrecpp.cc  -DDLL_EXPORT -DPIC 
-o .libs/pcrecpp.o
In file included from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:67,
                 from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
                 from 
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:47,
                 from ../pcre-7.4-RC1/pcrecpp.cc:48:
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:177: 
error: `::strtoll' has not been declared
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:178: 
error: `::strtoull' has not been declared
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:198: 
error: `__gnu_cxx::strtoll' has not been declared
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:199: 
error: `__gnu_cxx::strtoull' has not been declared
../pcre-7.4-RC1/pcrecpp.cc: In static member function `static bool 
pcrecpp::Arg::parse_longlong_radix(const char*, int, void*, int)':
../pcre-7.4-RC1/pcrecpp.cc:758: error: `strtoq' undeclared (first use 
this function)
../pcre-7.4-RC1/pcrecpp.cc:758: error: (Each undeclared identifier is 
reported only once for each function it appears in.)
../pcre-7.4-RC1/pcrecpp.cc: In static member function `static bool 
pcrecpp::Arg::parse_ulonglong_radix(const char*, int, void*, int)':
../pcre-7.4-RC1/pcrecpp.cc:785: error: `strtouq' undeclared (first use 
this function)
make[1]: *** [pcrecpp.lo] Error 1
make[1]: Leaving directory `/c/pcre-7.4/buildrc1bs'
make: *** [all] Error 2


Regards,
Sheri