**compile error**,please help






From: "* *" <msg124@hotmail.com>
To: gnome-list@gnome.org, gtk-list@redhat.com, gnome-devel-list@gnome.com
CC: msg124@hotmail.com
Subject: **compile error**
Date: Thu, 14 Oct 1999 20:42:19 PDT

Hi,

I am running a program from a book by Erc Harlo.
.
.gtk_signal_connect(GTK_OBJECT (window), "delete_event", GTK_SIGNAL_FUNC 
(destroy), NULL);
.
.
I use the below commands for compilation:
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]