the Solution and Thank u for immediate replies



hi to all,
thanks for each and every one who replied back with
some patience,
actually the problem was with sysmblic links,
so i used the below shell script to compile a program
successfully.

#!/bin/sh
gcc -c wbt.c -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/us
r/local/include/atk-1.0  -I/usr/local/include/pango-1.0
-I/usr/X11R6/include -I/
usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include

and after that to link again i used a shell script as

/bin/sh /usr/bin/libtool --mode=link gcc  -g -O2   -o h
 wbt.o -lpthread /usr/lo
cal/lib/libgdk_pixbuf-2.0.la -Wl,--export-dynamic
-L/usr/local/lib -lgthread-2.0
 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lm -lpangox-1.0
-lpango-1.0 -lgobject-2.
0 -lgmodule-2.0 -ldl -lglib-2.0

so all who are trying to compile and link their first
program do this way it will work.



-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html



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