This is a problem a friend of my got on Redhat 7:
iconv (in RHAT7) takes a 'char **' as the second argument, not a
'const char **'. Don't ask me why, but because to this it doesn't
compile per default.
The patch? Well, make src a char * or add a (char **) cast in the
iconv call. A better fix might be to make a configure test.
--
[ Below is a random fortune, which is unrelated to the above message. ]
Given its constituency, the only thing I expect to be "open" about [the
Open Software Foundation] is its mouth.
-- John Gilmore