Hi,
I am trying to compile/install ICU 4.0 and appears to me an error:
cd /usr/local/icu/source
#./runConfigureICU QNX CC=qcc CXX=QCC CFLAGS=-Y_gpp
#make
… generating dependency information for uobject.cpp
generating dependency information for uinit.c
generating dependency information for ucln_cmn.c
generating dependency information for umutex.c
generating dependency information for uinvchar.c
generating dependency information for utypes.c
generating dependency information for umath.c
generating dependency information for putil.c
In file included from /usr/qnx632/target/qnx6/usr/include/sys/types.h:22,
from ./unicode/platform.h:89,
from ./unicode/umachine.h:49,
from unicode/utypes.h:36,
from putil.c:60:
/usr/qnx632/target/qnx6/usr/include/sys/platform.h:130:4: error: #error This version of XOPEN_SOURCE is not supported
cc: /usr/qnx632/host/qnx6/x86/usr/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.3/cc1 error 1
generating …/common/svchook.mk
cd …
&& CONFIG_FILES=common/Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating common/Makefile
make[1]: Leaving directory /usr/local/icu/source/common' make[1]: Entering directory
/usr/local/icu/source/common’
generating dependency information for putil.c
In file included from /usr/qnx632/target/qnx6/usr/include/sys/types.h:22,
from ./unicode/platform.h:89,
from ./unicode/umachine.h:49,
from unicode/utypes.h:36,
from putil.c:60:
/usr/qnx632/target/qnx6/usr/include/sys/platform.h:130:4: error: #error This version of XOPEN_SOURCE is not supported
cc: /usr/qnx632/host/qnx6/x86/usr/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.3/cc1 error 1
qcc -I. -I…/i18n -DU_COMMON_IMPLEMENTATION -Y_gpp -fvisibility=hidden -c -shared -o putil.o putil.c
In file included from /usr/qnx632/target/qnx6/usr/include/sys/types.h:22,
from ./unicode/platform.h:89,
from ./unicode/umachine.h:49,
from unicode/utypes.h:36,
from putil.c:60:
/usr/qnx632/target/qnx6/usr/include/sys/platform.h:130:4: error: #error This version of XOPEN_SOURCE is not supported
cc: /usr/qnx632/host/qnx6/x86/usr/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.3/cc1 error 1
make[1]: *** [putil.o] Error 1
make[1]: Leaving directory `/usr/local/icu/source/common’
make: *** [all-recursive] Error 2
Does anybody know how to solve this problem?
Thanks