On Thu, 06 Apr 2006 00:45:18 EDT, Valdis.Kletnieks@xxxxxx said: > b) Making the final main program link look like: > > cc -o mail -lfoo -lbar -lbaz In a GTK context, the failure is often caused by a final link that looks like: cc -o $PROG main.c yadda.o yadda.o `pkg-config gtk --libs` and can be fixed by: cc -o $PROG main.c yadda.o yadda.o `pkg-config gtk --libs` `pkg-config glib --libs` (I've also seen $GTK_LIBS variables in Makefiles - the same basic solution applies there too - add the missing -lglib and so on...)
Attachment:
pgpOFhbQBAwBp.pgp
Description: PGP signature
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list