Hi Attilio,
I checed out the latest version of GTK+ from CVS and then tried building it. Here is the error I get no matter what I do. I even tried setting the environment variables BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS to no avail.
pkg-config is version 0.18
LD_LIBRARY_PATH and PKG_CONFIG_PATH are set correctly
Any help would be appreciated!
regards
Chotu
------------------------------
sh autogen.sh --with-gdktarget=directfb --without-x --disable-gtk-doc
.............<snip>
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS environment variables
---------------------------
---------------------------
Attilio Fiandrotti <[EMAIL PROTECTED]> wrote:
Its's a known issu, you should co frm CVS, that should work.
cheers
Attilio
Chotu Atwork wrote:
> Hi,
>
> I am trying to build gtk+-2.10.4 on a MIPS uclinux platform running DirectFB instead of X. DirectFB is working on this platform. I have downloaded the latest sources and successfully built all the dependencies required by gtk+-2.10.4 (pango, cairo, atk, zlib, libpng, freefont and so on). The only thing left to do is to bulild GTK itself.
>
> I have set CFLAGS, LD_LIBARARY_PATH and PKG_CONFIG_PATH correctly and then run the command
>
> sh configure --prefix=$PREFIX --with-gdktarget=directfb --without-x
> make
>
> After about 45 minutes of compiling, make throws the errors listed below. Can anyone give me any pointers on how to resolve these errors?
>
> thanks in advance
> Chotu
>
> -----------------------------------------------------
>
> gcc -DG_DISABLE_DEPRECATED -g -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o ./.libs/libgtk-directfb-2.0.so /usr/gtkdfb/src/gtk+-2.10.4/gdk/.libs/libgdk-directfb-2.0.so -L/opt/SUNWsmr/build/dcchd/directfb/lib -L/opt/SUNWsmr/build/mrua/MRUA_src/lib /usr/lib/libatk-1.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-directfb-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libxml2.so /opt/SUNWsmr/build/dcchd/directfb/lib/libdirectfb.so /opt/SUNWsmr/build/dcchd/directfb/lib/libfusion.so /opt/SUNWsmr/build/dcchd/directfb/lib/libdirect.so -lpthread /usr/lib/libpng12.so -lz /usr/gtkdfb/src/gtk+-2.10.4/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/local/lib/libiconv.so -lm /usr/local/lib/libintl.so -lc -Wl,--rpath -Wl,/opt/SUNWsmr/build/dcchd/directfb/lib
> -Wl,--rpath -Wl,/usr/local/lib
>
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_filter_func'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_get_id'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_select_plug_window_input'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_filter_func'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_remove_grabbed_key'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_set_focus'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_send_configure_event'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_get_id'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_realize_toplevel'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_embed_notify'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_embed_get_info'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_unmap_toplevel'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_update_active'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_map_toplevel'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_embed_get_focus_wrapped'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_focus'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_end_embedding_toplevel'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_embed_set_focus_wrapped'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_send_key_event'
> /usr/gtkdfb/src/gtk+-2.10.4/gdk/.libs/libgdk-directfb-2.0.so: undefined reference to `IA__gdk_colormap_change'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_realize_window'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_focus_change'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_focus_to_parent'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_size_request'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_plug_windowing_add_grabbed_key'
> ./.libs/libgtk-directfb-2.0.so: undefined reference to `_gtk_socket_windowing_update_modality'
> collect2: ld returned 1 exit status
>
>
> ---------------------------------
> Get your email and more, right on the new Yahoo.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
