[Mono-dev] undefined reference to `libiconv'
KISHIMOTO, Makoto
ksmakoto at dd.iij4u.or.jp
Tue Apr 26 22:54:42 EDT 2011
Hello,
In my FreeBSD Box, mono trunk build failed.
The following is build log.
$ gmake
gmake all-recursive
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD'
(snip)
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/libgc'
Making all in eglib
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake all-recursive
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
Making all in m4
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/m4'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/m4'
Making all in src
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
Making all in test
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/test'
../doltlibtool --tag=CC --mode=link gcc -Wall -D_FORTIFY_SOURCE=2 -I../../../mono/eglib/test/../src -I../src -DDRIVER_NAME=\"EGlib\" -g -O2 -g -D_GNU_SOURCE -Wl,-export-dynamic -o test-eglib test_eglib-test.o test_eglib-driver.o test_eglib-hashtable.o test_eglib-string-util.o test_eglib-string.o test_eglib-slist.o test_eglib-sizes.o test_eglib-ptrarray.o test_eglib-list.o test_eglib-array.o test_eglib-fake.o test_eglib-path.o test_eglib-queue.o test_eglib-shell.o test_eglib-spawn.o test_eglib-timer.o test_eglib-file.o test_eglib-pattern.o test_eglib-dir.o test_eglib-markup.o test_eglib-unicode.o test_eglib-utf8.o test_eglib-endian.o test_eglib-module.o test_eglib-memory.o ../src/libeglib.la -lm
libtool: link: gcc -Wall -D_FORTIFY_SOURCE=2 -I../../../mono/eglib/test/../src -I../src -DDRIVER_NAME=\"EGlib\" -g -O2 -g -D_GNU_SOURCE -Wl,-export-dynamic -o test-eglib test_eglib-test.o test_eglib-driver.o test_eglib-hashtable.o test_eglib-string-util.o test_eglib-string.o test_eglib-slist.o test_eglib-sizes.o test_eglib-ptrarray.o test_eglib-list.o test_eglib-array.o test_eglib-fake.o test_eglib-path.o test_eglib-queue.o test_eglib-shell.o test_eglib-spawn.o test_eglib-timer.o test_eglib-file.o test_eglib-pattern.o test_eglib-dir.o test_eglib-markup.o test_eglib-unicode.o test_eglib-utf8.o test_eglib-endian.o test_eglib-module.o test_eglib-memory.o ../src/.libs/libeglib.a -lm
../src/.libs/libeglib.a(libeglib_la-gunicode.o)(.text+0x5b6): In function `monoeg_g_get_charset':
../../../mono/eglib/src/gunicode.c:362: undefined reference to `locale_charset'
../src/.libs/libeglib.a(libeglib_la-giconv.o)(.text+0x4c): In function `monoeg_g_iconv':
../../../mono/eglib/src/giconv.c:177: undefined reference to `libiconv'
../src/.libs/libeglib.a(libeglib_la-giconv.o)(.text+0x18f): In function `monoeg_g_iconv_close':
../../../mono/eglib/src/giconv.c:158: undefined reference to `libiconv_close'
../src/.libs/libeglib.a(libeglib_la-giconv.o)(.text+0x8c6): In function `monoeg_g_iconv_open':
../../../mono/eglib/src/giconv.c:132: undefined reference to `libiconv_open'
gmake[4]: *** [test-eglib] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/test'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2
More information about the Mono-devel-list
mailing list