Building with AIX gcc 3.3

Ken Foskey foskey@optushome.com.au
Thu Jun 26 13:34:00 GMT 2003


Code is tested and builds on Linux gcc 3.3.  I am trying to build icu
2.2 on AIX for OpenOffice.org port using gcc 3.3 and the standard ld
tool and I am getting:

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
ld: 0711-317 ERROR: Undefined symbol: non-virtual thunk [nv:-4] to
icu_2_2::UnicodeFilter::matches(icu_2_2::Replaceable const&, int&, int,
signed char)
ld: 0711-317 ERROR: Undefined symbol: non-virtual thunk [nv:-4] to
icu_2_2::UnicodeFilter::toPattern(icu_2_2::UnicodeString&, signed char)
const
ld: 0711-317 ERROR: Undefined symbol: non-virtual thunk [nv:-4] to
icu_2_2::UnicodeFilter::matchesIndexValue(unsigned char) const
ld: 0711-317 ERROR: Undefined symbol: non-virtual thunk [nv:-4] to
icu_2_2::UnicodeFilter::addMatchSetTo(icu_2_2::UnicodeSet&) const
collect2: ld returned 8 exit status

The looks like bug 4122 but I can compile 4122 code fine.  my link line
is:
/usr/local/gcc3.3/bin/g++ -O   -Wl,-brtl -shared -Wl,-bexpall  -o
libicui18n22.0.so ucln_in.o ... ucurr.o -L../common -licuuc22
-L../data/out -L../stubdata -licudata22 -lpthread -lm

Any suggestions on what to try next? 

-- 
Thanks
KenF
OpenOffice.org developer



More information about the Gcc-help mailing list