PCRE compilation fails with NDK 2.0 #2

Open
jcockhren opened this Issue Mar 2, 2012 · 0 comments

Projects

None yet

1 participant

@jcockhren

Firstly, there's really no clear instructions on getting it to build the device and simulator related targets.

Assuming one has done:

cd PCRE
source ~/bbndk-2.0.0/bbndk-env.sh

I then did (which compiled fine however, didn't build anything for qnx):

cmake .
make

The instructions speaking about non-unix builds suggested one would:

cd qnx
make

This looked promising at first (you could clearly see it calling the qcc binary). However it eventually failed during the compilation stage:


~/PCRE/pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_longlong_radix(const char*, int, void*, int)':
~/PCRE/pcrecpp.cc:820: error: 'strtoq' was not declared in this scope 

~/PCRE/pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_ulonglong_radix(const char*, int, void*, int)':
~/PCRE/pcrecpp.cc:852: error: 'strtouq' was not declared in this scope

This is either a user error or error due to the port. Not sure. Could you shed some light on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment