RE: Compoilation error

2003-01-29 Thread Stephen Witkop
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:

RE: Compoilation error

2003-01-28 Thread Joaquin Henriquez Alzola (REE)
how in the above statement. Apart from that I just uninstall the glib-2.2 with a "make uninstall". BR, Joaquin -Original Message- From: Michal 'Gleba' Ziemski To: Joaquin Henriquez Alzola (REE); [EMAIL PROTECTED] Sent: 1/28/03 6:50 PM Subject: Re: Compoilation error Your

Re: Compoilation error

2003-01-28 Thread Sven Neumann
Hi, Chris Nystrom <[EMAIL PROTECTED]> writes: > It looks like you have more than one version on your > system. gtk-config is reporting glib-1.2 and yet your find is > reporting glib-2.2.0. gtk-config will always report a glib-1.2, never a 2.x version. > Perhaps you are using the wrong version o

Re: Compoilation error

2003-01-28 Thread Chris Nystrom
On Tue, 28 Jan 2003, Michal 'Gleba' Ziemski wrote: > Your linker is not able to find the requirded GTK libs. > > Run gtk-config --libs --cflags and check if the paths are correct > (I belive gtk-config is a wrapper to pkg-config for GTK??) > If not you'll have to edit your .pc files (most probabl

RE: Compoilation error

2003-01-28 Thread Chris Nystrom
On Tue, 28 Jan 2003, Joaquin Henriquez Alzola (REE) wrote: > I have this for: > # gtk-config --libs --cflags > -I/opt/sfw/include/gtk-1.2 -I/opt/sfw/include/glib-1.2 -I/opt/sfw/lib/glib/include >-I/usr/openwin/include > -L/opt/sfw/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule -l

Re: Compoilation error

2003-01-28 Thread Michal 'Gleba' Ziemski
/includes. Good luck! Michal "Gleba" Ziemski - Original Message - From: "Joaquin Henriquez Alzola (REE)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 28, 2003 6:59 PM Subject: RE: Compoilation error > Hi Michal, > > Thanks for the

RE: Compoilation error

2003-01-28 Thread Joaquin Henriquez Alzola (REE)
2.0 Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include # If I modify this pc files They will be the fixed?? BR, Joaquin -Original Message- From: Michal 'Gleba' Ziemski To: Joaquin Henriquez Alzola (REE); [EMAIL PROTECTED] Sent: 1/28/03 6:50 PM Subject: Re: Comp

Re: Compoilation error

2003-01-28 Thread Michal 'Gleba' Ziemski
enriquez Alzola (REE)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 28, 2003 6:22 PM Subject: Compoilation error > Hi people, > > I have a compilation error when I try to compile this program. > > # more gtk2.c > #include

Compoilation error

2003-01-28 Thread Joaquin Henriquez Alzola (REE)
Hi people, I have a compilation error when I try to compile this program. # more gtk2.c #include void hello( GtkWidget *widget, gpointer data ) { g_print ("Hello World\n"); } gint delete_event( GtkWidget *widget, GdkEvent *event, gpointer data ) { g_print ("delete event occurred\

Compoilation error

2003-01-28 Thread Joaquin Henriquez Alzola (REE)
Hi people, I have a compilation error when I try to compile this program. # more gtk2.c #include void hello( GtkWidget *widget, gpointer data ) { g_print ("Hello World\n"); } gint delete_event( GtkWidget *widget, GdkEvent *event, gpointer data ) { g_print ("delete event occurred