cannot compile gtk app on os x (linker errors)



I've installed the latest GTK+ version from CVS and would like to
compile some GTK apps on my Mac OS X (PPC) box. However, whenever I
compile I'm getting the following linker errors:

% make
gcc `pkg-config gtk+-2.0 --cflags` -c buttons.c
gcc -o buttons buttons.o `pkg-config gtk+-2.0 --libs`
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset

I'm just using the stock Makefile provided in the GTK+FAQ.

Is there any way to fix this linker error? Do I need to install newer
versions of some packages? Thanks.

Mark Kegel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]