problems compiling simple stuff



Please forgive me, as I am very new to gtk programming... I am trying to go to
through the tutorials on gtk's homepage, but am having problems..
I have tried the first small program, supposed to just bring up a window, but I
can't get it to compile.
this is what I get:

/tmp/cca036471.o: In function `main':
/tmp/cca036471.o(.text+0xf): undefined reference to `gtk_init'
/tmp/cca036471.o(.text+0x19): undefined reference to `gtk_window_new'
/tmp/cca036471.o(.text+0x2a): undefined reference to `gtk_widget_show'
/tmp/cca036471.o(.text+0x32): undefined reference to `gtk_main'
make: *** [window] Error 1

This is a slackware3.3 system, glibc2, gtk+1.0.0, gcc2.7.2.2
Any help is appreciated..
Thanx,
Kevin

!!07/11-PDP a ni kcuts m'I ---  pleH

----------------------------------
E-Mail: sar@on134th.com
Date: 28-Apr-98
Time: 18:56:54



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