|
From: Gajanan S. C. <ga...@ve...> - 2001-09-20 01:08:19
|
Hi,
I am trying to build icu1.8.1 on solaris 2.7 (WS6) with GNU Make 3.75.
I ran into three problems so far, from this archives it seems that two
of them are known.
1. runConfigureICU error:
checking whether the C compiler (/usr/local/SUNWspro/bin/cc )
works... no
configure: error: installation or configuration problem: C compiler
cannot
create executables.
I fixed this problem by modifying runConfigureICU to pickup CC and
CXX
for SOLARISCC from /apps/SUNWSpro/bin.
2. When compiling i18n/ucol_tok.cpp, the error telling that the compiler
cannot
cast from void * to unsigned.
Fixed this error by modifying ucol_tok.cpp as follows:
lines 36: const uint32_t key = *(const unit32_t *)k;
lines 52: const uint32_t p1 = *(const unit32_t *)key1;
lines 53: const uint32_t p2 = *(const unit32_t *)key2;
Can somebody from this list comment if this is a right way to fix the
problems ?
After fixing the two problems the compilation progressed till
source/extra.ustdio
and broke when linking. This is the error-
/apps/SUNWspro/bin/cc -xtarget=ultra -xarch=v9 -DHAVE_CONFIG_H -I.
-I../../common -I../../common -I../../i18n -xO3 -G -h -o libustdio.so
locbund.o loccache.o ufile.o ufmt_cmn.o uprintf.o uprntf_p.o uscanf.o
uscanf_p.o uscanset.o ustdio.o sprintf.o sprntf_p.o sscanf.o sscanf_p.o
-L../../common -licuuc -L../../i18n -licui18n -ldl -lpthread -lm
ld: fatal: file libustdio.so: cannot open file: Error 0
ld: fatal: File processing errors. No output written to a.out
gmake[2]: *** [libustdio.so] Error 1
gmake[2]: Leaving directory `/tmp/icu/icu/source/extra/ustdio'
Is this a known problem or is it a consequence of wrongly fixing the
first two problems ?
I will greatly appreciate your help.
regards,
Gajanan
|