From: Ryan Davis Date: 2011-03-26T03:44:15+09:00 Subject: Re: mkmf have_func usage On Mar 25, 2011, at 8:19, Iain Barnett wrote: > conftest.c: In function ‘t’: > conftest.c:7: error: too few arguments to function ‘libiconv_open’ > checked program was: > /* begin */ > 1: #include "ruby.h" > 2: > 3: #include > 4: > 5: /*top*/ > 6: int main() {return 0;} > 7: int t() { iconv_open(); return 0; } > /* end */ The error is here and is pretty clear whether it were C or ruby. It failed because it wasn't called with the right number of args.