Re: linking problem



"Johnny B ." <syborg stny rr com> writes:
> 
> Ive installed glib and gtk from source, run ldconfig and so on and I
> think everything is installed ok (pertinent data below), yet I'm
> getting a few errors when linking and app:
> 
> /tmp/ccOr5DPh.o(.text+0x80): undefined reference to `G_CALLBACK'
> /tmp/ccOr5DPh.o(.text+0x93): undefined reference to `G_OBJECT'
> /tmp/ccOr5DPh.o(.text+0x9e): undefined reference to `g_signal_connect'
> 

Turn on warnings for your compiler, then eliminate all warnings like
"function G_CALLBACK has not been declared"

Havoc



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