Hi all,

        I am trying to build GTK+2.2.1, and I cannot past the "configure"
step.
        I am cross-compiling, where my build machine is an Intel Linux
desktop, and the target machine is a ppc-linux machine.
        Here is what I type at the prompt:

          $ ./configure --prefix=/tmp/guidrivers/gtk
--exec-prefix=/tmp/guidrivers/gtk-arch --host=ppc-linux --build=i686-linux
--target=ppc-linux --with-gdktarget=linux-fb --without-libtiff
--without-libjpeg --without-libpng


        Below is part of the file "config.log" where the error occurs.
        There are many undefined references, but I know those "symbols" are
defined in libfreetype and libfontconfig, which are both located in the 
        /tmp/guidrivers/gtk-arch/lib directory.
        How do I modify the 'configure' file so that it can find those
references defined?

        Thanks in advance!


        ---
        configure:15743: checking Pango flags
        configure:15749: result: -I/tmp/guidrivers/gtk/include/pango-1.0
-I/tmp/guidrivers/gtk/include -I/tmp/guidrivers/gtk/include/freetype2
-I/tmp/guidrivers/gtk/include/glib-2.0
-I/tmp/guidrivers/gtk-arch/lib/glib-2.0/include   -Wl,--export-dynamic
-L/tmp/guidrivers/gtk-arch/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 -lm  
        configure:15794: ppc_82xx-gcc -o conftest -g -O2 -Wall
-I/tmp/guidrivers/gtk/include -I/tmp/guidrivers/gtk/include/freetype2
-I/tmp/guidrivers/gtk/include/pango-1.0 -I/tmp/guidrivers/gtk/include
-I/tmp/guidrivers/gtk/include/freetype2
-I/tmp/guidrivers/gtk/include/glib-2.0
-I/tmp/guidrivers/gtk-arch/lib/glib-2.0/include
-I/tmp/guidrivers/gtk/include -L/tmp/guidrivers/gtk-arch/lib conftest.c
-Wl,--export-dynamic -L/tmp/guidrivers/gtk-arch/lib -lpangoft2-1.0
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm     >&5
        /opt/eldk/usr/ppc-linux/bin/ld: warning: libfontconfig.so.1, needed
by /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so, not found (try using
-rpath or -rpath-link)
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Realloc'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcObjectSetBuild'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Init_FreeType'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Stream_GetShort'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternGetBool'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Load_Glyph'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Done_Face'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcObjectSetDestroy'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Render_Glyph'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcFontSetSortDestroy'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Get_Kerning'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcFontList'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Stream_ExitFrame'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Set_Charmap'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Stream_GetLong'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Stream_Seek'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternGetDouble'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternGetString'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternGetInteger'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcFontSort'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternReference'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternHash'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternGetCharSet'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternCreate'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternAddString'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Get_Next_Char'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcFontRenderPrepare'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternGet'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternAddDouble'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcConfigSubstitute'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternDestroy'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcCharSetNextPage'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Done_FreeType'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Stream_EnterFrame'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Set_Char_Size'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternEqual'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Free'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcPatternBuild'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Get_First_Char'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_New_Face'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcFontMatch'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Stream_Pos'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcCharSetFirstPage'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FT_Alloc'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcFontSetDestroy'
        /tmp/guidrivers/gtk-arch/lib/libpangoft2-1.0.so: undefined reference
to `FcDefaultSubstitute'
        collect2: ld returned 1 exit status
        configure:15797: $? = 1
        configure: failed program was:
        #line 15774 "configure"
        #include "confdefs.h"

        /* Override any gcc2 internal prototype to avoid an error.  */
        #ifdef __cplusplus
        extern "C"
        #endif
        /* We use char because int might match the return type of a gcc2
           builtin and then its argument prototype would still apply.  */
        char pango_context_new ();
        int
        main ()
        {
        pango_context_new ();
          ;
          return 0;
        }
        configure:15811: error:
        *** Can't link to Pango. Pango is required to build
        *** GTK+. For more information see http://www.pango.org




_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to