Re: cannot compile gtk app on os x (linker errors)




--- Mark Kegel <mark kegel gmail com> wrote:

> 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
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 

Can it be that you rather have to delete old gtk+ install first ?

Regards,
  Sergei.


Applications From Scratch: http://appsfromscratch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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