**compile error**



Hi,

I am running a program from a book by Erc Harlo.
.
.
gtk_signal_connect(GTK_OBJECT (window), "delete_event", GTK_SIGNAL_FUNC 
(detroy), NULL);
.
.
I use the commands:
gcc -Wall -g example.c -o `gtk-config --cflags --libs`    or
gcc -Wall -g example.c  -o `gtk-config --cflags` `gtk-config --libs`
.
.

I ge t the errors as follows:
example.c:In function 'main`.
eample.c:32:`destroy' undeclared (first use in this function)
eample.c:32:(Each undeclared identifier is reported only once
eample.c:32:for each function it appears in)


Please tell me why am i getting this message?.

Please email me to:
msg124@hotmail.com

Jack


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



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