
On 18 July 2011 13:12, Artyom Beilis <artyomtnk@yahoo.com> wrote:
And for what reason (if the sample code above compiles)
I would be grateful.
It works okay on my Mac (although I'm still running OS X 10.5, not 10.6). But one possibility is that it's using the headers from one location, and the library from another. See this blog post for a description: http://blog.yimingliu.com/2009/02/24/missing-library-symbols-while-compiling... found via http://stackoverflow.com/questions/3688700/ The test gcc 4.4 is built using macports, so it's likely they'll have at least two versions of iconv on their machine (the apple one with prefix /usr and the macports one with prefix /opt/local). But that isn't a problem for me, so it might not be the problem here.