Re: gtk+-2.10.11 cross compilation error...libglib-2.0. so.0: ELF file OS ABI invalid



Hi,

What's your cross build environment ?

Your glib-genmarshal reference to /usr/arm/lib/libglib-2.0.so.0 ??
You have to run native glib-genmarshal when you cross build gtk2 ...

I will check PATH and LD_LIBRARY_PATH to see if the running
glib-genmarshal is the native one or ARM version ...


Regards
KC

On 5/25/07, techme linux <techmelinux gmail com> wrote:
HI All,
I am trying to cross compiling gtk+2.10.11....amm dependences for gtk has
been cross compile....but when issing make command for gtk am getting this
error....

  | sed -e '$s/\\$//') > POTFILES-t \
    && chmod a-w POTFILES-t \
    && mv POTFILES-t POTFILES )
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/fountain/Desktop/fountain_cvs/fountain/fountai
n_build/gtk+- 2.10.11/po-properties'
Making all in gdk-pixbuf
make[2]: Entering directory
`/home/fountain/Desktop/fountain_cvs/fountain/founta
in_build/gtk+-2.10.11/gdk-pixbuf'
( cd . && glib-mkenums \
                --fhead "#ifndef
__GDK_PIXBUF_ENUM_TYPES_H__\n#define __GDK_PIXB
UF_ENUM_TYPES_H__\n\n#include < glib-object.h>\n\nG_BEGIN_DECLS\n" \
                --fprod "/* enumerations from \"@filename \" */\n" \
                --vhead "GType @enum_name _get_type (void)
G_GNUC_CONST;\n#defin e GDK_TYPE_ ENUMSHORT@ (@enum_name _get_type())\n"
      \
                --ftail "G_END_DECLS\n\n#endif /*
__GDK_PIXBUF_ENUM_TYPES_H__ */ " \
        gdk-pixbuf.h gdk-pixbuf-core.h gdk-pixbuf-transform.h
gdk-pixbuf-io.h gd k-pixbuf-animation.h gdk-pixbuf-simple-anim.h
gdk-pixbuf-loader.h ) > tmp-gdk-pi xbuf-enum-types.h \
&& (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp
tmp-gdk-pix buf-enum-types.h gdk-pixbuf-enum-types.h ) \
&& rm -f tmp-gdk-pixbuf-enum-types.h \
&& echo timestamp > s-enum-types-h
(cd . && glib-mkenums \
        --fhead "#include <gdk-pixbuf/gdk-pixbuf.h >\n#include
\"gdk-pixbuf-alias .h\"\n" \
        --fprod "\n/* enumerations from \"@filename \" */" \
        --ftail "\n#define
__GDK_PIXBUF_ENUM_TYPES_C__\n#include \"gdk-pixbuf-al
iasdef.c\"" \
        --vhead "GType\n enum_name@_get_type (void)\n{\n  static GType etype
= 0 ;\n  if (etype == 0) {\n    static const G Type@Value values[] = {"
 \
        --vprod "      { @VALUENAME@, \"@VALUENAME \", \"@valuenick \" }," \
        --vtail "      { 0, NULL, NULL }\n    };\n    etype =
g_ type@_register_ static (g_intern_static_string (\"@EnumName \"),
values);\n  }\n  return etype;\ n}\n" \
          gdk-pixbuf.h gdk-pixbuf-core.h gdk-pixbuf-transform.h
gdk-pixbuf-io.h gdk-pixbuf-animation.h gdk-pixbuf-simple-anim.h
gdk-pixbuf-loader.h) > gdk-pixbu f-enum-types.c
glib-genmarshal --prefix=_gdk_pixbuf_marshal ./gdk-pixbuf-marshal.list
--header >> xgen-gmh \
&& (cmp -s xgen-gmh gdk-pixbuf-marshal.h || cp xgen-gmh
gdk-pixbuf-marshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gdk-pixbuf-marshal.h
glib-genmarshal: error while loading shared libraries: /usr/arm/lib/libglib-
2.0. so.0: ELF file OS ABI invalid
make[2]: *** [stamp-gdk-pixbuf-marshal.h] Error 127
make[2]: Leaving directory `/home/tain/Desktop/gtk+-2.10.11/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tain/Desktop/gtk+- 2.10.11'
make: *** [all] Error 2

Can any body plese tell what is the problem....
I could not understand whats wrong with it.....
thanks




_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list





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