RE: Compoilation error
- From: Stephen Witkop <switkop charter net>
- To: "'gtk-list gnome org'" <gtk-list gnome org>
- Subject: RE: Compoilation error
- Date: 29 Jan 2003 05:59:38 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]