gtk program compilation error.



Thanks Noah and Cyrille..

Now I installed gtk+-2.0 and compiled my program.
Now it says the error as

/tmp/ccNUHBNN.o: In function `main':
/home/smilax2/vivekanathan/gtk/helloworld.c:56: undefined reference to `g_type_check_instance_cast'
/home/smilax2/vivekanathan/gtk/helloworld.c:62: undefined reference to `g_type_check_instance_cast'
/home/smilax2/vivekanathan/gtk/helloworld.c:65: undefined reference to `g_type_check_instance_cast'
/home/smilax2/vivekanathan/gtk/helloworld.c:74: undefined reference to `g_type_check_instance_cast'
/home/smilax2/vivekanathan/gtk/helloworld.c:81: undefined reference to `g_type_check_instance_cast'
/tmp/ccNUHBNN.o:/home/smilax2/vivekanathan/gtk/helloworld.c:81: more undefined references to `g_type_check_instance_cast' follow
collect2: ld returned 1 exit status
Before this, it said errors on some header files as 'No such file or directory'.
I copied those files in the location as it needed.  Now I dont know what to do
for the above problem.  Can you help me ?
-- 


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 
Viveka Nathan K, DON Lab, IITM, Chennai-36, India. Ph:044-22578904/8353        
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
All condemnation of others really condemns ourselves - Swami Vivekananda


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