Re: [gtk-list] Compiling Problems II



Option:
        -lglib -lgdk -lgtk -lX11 -lXext -lm
maybe help you?
Good luck.


Yasholomew Yashinski wrote:

> My lastest error:
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -I..
> -I../../glib-1.1.4
>  -I/usr/X11R6/include  -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c
> testgtk.c
> /bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall
> -DUSE_XIM
> -o testgtk  testgtk.o libgtk.la ../gdk/libgdk.la -L/usr/X11R6/lib -lXext
> -lX11 ../../glib-1.1.4/libglib-1.1.la -lm
> gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk testgtk.o
> -Wl,--rpath -Wl,/usr/local/lib .libs/libgtk.so -Wl,--rpath
> -Wl,/usr/local/lib ../gdk/.libs/libgdk.so -L/usr/X11R6/lib -lXext -lX11
> -L/usr/X11R6/lib -lXext -lX11 -Wl,--rpath -Wl,/usr/local/lib
> ../../glib-1.1.4/.libs/libglib.so -lm
> .libs/libgtk.so: undefined reference to `g_module_supported'
> .libs/libgtk.so: undefined reference to `g_module_error'
> .libs/libgtk.so: undefined reference to `g_module_make_resident'
> .libs/libgtk.so: undefined reference to `g_module_close'
> .libs/libgtk.so: undefined reference to `g_module_name'
> .libs/libgtk.so: undefined reference to `g_module_symbol'
> .libs/libgtk.so: undefined reference to `g_module_open'
> make[2]: *** [testgtk] Error 1
> make[2]: Leaving directory `/home/yashy/gtk+-1.1.3/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/yashy/gtk+-1.1.3'
> make: *** [all-recursive-am] Error 2
>
> ___
> Any help? 8)
>
>   \ _^ /   ,^, @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\ _^ /  ,^,
>    \>@@</   (( "One world, one web, one program" - M$ Promo ad   \>@@</  ((
>     (..)    );) "Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler  (..)   );)
>      vv\^^^^^/   yashy@yashy.ottawa.on.ca    PGPd Mail Preferred   vv\^^^^^/
>     /==  ))) )   http://euphoria.yashy.ottawa.on.ca  UIN4497826   /==  ))) )
>    ( ==/ )=< \   Linux => Where do you want to go tomorrow?      ( ==/ )=< \
>  {{{)=(}}}(_}}}@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@{{{)=(}}}(_}}}
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null





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