On Tue, 2003-01-28 at 15:43, Joaquin Henriquez Alzola (REE) wrote: > I still get the same error. I don't know how to fix it now because I > > > # gcc `pkg-config --cflags --libs gtk+` hello.c -o hello > ld: fatal: library -lgmodule: not found > ld: fatal: library -lglib: not found > ld: fatal: File processing errors. No output written to hello > collect2: ld returned 1 exit status > # > > # pkg-config --cflags gtk+ > -I/opt/sfw/include/gtk-1.2 -I/opt/sfw/include/glib-1.2 -I/opt/sfw/lib/glib/include >-I/usr/openwin/include > # pkg-config --libs gtk+ > -R/usr/openwin/lib -L/opt/sfw/lib -L/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib >-ldl -lXext -lX11 -lsocket -lnsl -lm > #
Use `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`. Sending pkg-config 'gtk+' tells it you want gtk 1.x version. -- Stephen _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
