On Fri, 25 Jun 2004 nobu.nokada / softhome.net wrote: > Show the ext/iconv/mkmf.log. Otherwise I have no clue to solve ]/usr/src/ruby-1.8.1/ext/iconv>cat mkmf.log have_header: checking for iconv.h... -------------------- yes "gcc -E -I/usr/src/ruby-1.8.1 -I/usr/src/ruby-1.8.1 -g -O2 conftest.c -o conftest.i" checked program was: /* begin */ #include <iconv.h> /* end */ -------------------- "gcc -c -I/usr/src/ruby-1.8.1 -I/usr/src/ruby-1.8.1 -g -O2 -Werror conftest.c" checked program was: /* begin */ /* end */ checking for iconv() 2nd argument is const... -------------------- no "gcc -c -I/usr/src/ruby-1.8.1 -I/usr/src/ruby-1.8.1 -g -O2 -Werror conftest.c" checked program was: /* begin */ #include <iconv.h> size_t test(iconv_t cd, char **inptr, size_t *inlen, char **outptr, size_t *outlen) { return iconv(cd, inptr, inlen, outptr, outlen); } /* end */ -------------------- have_library: checking for main() in -liconv... -------------------- no "gcc -o conftest -I/usr/src/ruby-1.8.1 -I/usr/src/ruby-1.8.1 -g -O2 conftest.c -L"/usr/src/ruby-1.8.1" -L"/usr/local/lib" -brtl -eInit_$(TARGET) -bI:/usr/src/ruby-1.8.1/ruby.imp -bM:SRE -T512 -H512 -lc -lruby-static -liconv -ldl -lcrypt -lm -lc" sh: TARGET: not found. gcc: `-b' must come at the start of the command line checked program was: /* begin */ /*top*/ int main() { return 0; } int t() { main(); return 0; } /* end */ "gcc -o conftest -I/usr/src/ruby-1.8.1 -I/usr/src/ruby-1.8.1 -g -O2 conftest.c -L"/usr/src/ruby-1.8.1" -L"/usr/local/lib" -brtl -eInit_$(TARGET) -bI:/usr/src/ruby-1.8.1/ruby.imp -bM:SRE -T512 -H512 -lc -lruby-static -liconv -ldl -lcrypt -lm -lc" sh: TARGET: not found. gcc: `-b' must come at the start of the command line checked program was: /* begin */ /*top*/ int main() { return 0; } int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } /* end */ --------------------