This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Building with AIX gcc 3.3
- From: Ken Foskey <foskey at optushome dot com dot au>
- To: gcc-help at gcc dot gnu dot org
- Date: 26 Jun 2003 22:51:20 +1000
- Subject: Building with AIX gcc 3.3
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