RE: Run time error in gtk1.3 application



Hi,

>gcc: -lgtk-x11-1.3: linker input file unused since linking not donegcc:
>-lgdk-x11-1.3: linker input file unused since linking not donegcc: -lXi:
>linker input file unused since linking not done
>gcc: -lgdk_pixbuf-1.3: linker input file unused since linking not done
>gcc: -lm: linker input file unused since linking not done
>gcc: -lpangox: linker input file unused since linking not done
>gcc: -lpangoxft: linker input file unused since linking not done
>gcc: -lXft: linker input file unused since linking not done
>gcc: -lXrender: linker input file unused since linking not done
>gcc: -lXext: linker input file unused since linking not done
>gcc: -lX11: linker input file unused since linking not done
>gcc: -lfreetype: linker input file unused since linking not done
>gcc: -lpango: linker input file unused since linking not done
>gcc: -latk: linker input file unused since linking not done
>gcc: -lgobject-1.3: linker input file unused since linking not donegcc:
>-lgmodule-1.3: linker input file unused since linking not donegcc: -ldl:
>linker input file unused since linking not done
>gcc: -lglib-1.3: linker input file unused since linking not done

this happens because you're trying to link a file with the gtk libs that doesn't uses them. your Makefile may not be correct...

>And when I ran the compiled program, this crashed and emited these
>messages:

>(process:5172): GRuntime-CRITICAL **:
>gtype.c:1762:g_type_register_static(): initialization assertion failed,
>use g_type_init() prior to this function

>(process:5172): GRuntime-CRITICAL **: file gobject.c: line 588
>(g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed
>Falha de segmentação (core dumped) << Portuguese = Segmentation fault
>(core dumped)


as for this i don't know... i haven't worked with 1.3 (and i haven't seen this error on 1.2).

Cumprimentos,
Nuno Afonso



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