Hi,
I'm getting the following errors trying to cross compile 2.14.3 for arm on scratchbox (running on debian, with Microcross cross toolchain gcc 4.1.2). With 2.12.12 I don't see this problem and everything builds perfectly. Any help/insight is appreciated. Thanks, Vijay [sbox-Chumby: ~/chumby/gtk+-2.14.3] > make all make all-recursive make[1]: Entering directory `/home/chumby/chumby/gtk+-2.14.3' Making all in po make[2]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/po' Making all in po-properties make[2]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/po-properties' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/po-properties' Making all in gdk-pixbuf make[2]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/gdk-pixbuf' make all-recursive make[3]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/gdk-pixbuf' Making all in pixops make[4]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/gdk-pixbuf/pixops' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/gdk-pixbuf/pixops' make[4]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/gdk-pixbuf' make[4]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/gdk-pixbuf' make[3]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/gdk-pixbuf' make[2]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/gdk-pixbuf' Making all in gdk make[2]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/gdk' make all-recursive make[3]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/gdk' Making all in directfb make[4]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/gdk/directfb' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/gdk/directfb' Making all in . make[4]: Entering directory `/home/chumby/chumby/gtk+-2.14.3/gdk' /bin/sh ../libtool --mode=link gcc -DGDK_PIXBUF_DISABLE_DEPRECATED -I/mnt/ubuntuvb/usr/local/include -Wall -L/mnt/ubuntuvb/usr/local/lib -o libgdk-directfb-2.0.la -version-info 1400:3:1400 -export-dynamic -rpath /mnt/ubuntuvb/usr/local/lib -export-symbols-regex "^[^_].*" gdk.lo gdkapplaunchcontext.lo gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo gdkdisplaymanager.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkimage.lo gdkkeys.lo gdkkeyuni.lo gdkpango.lo gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrectangle.lo gdkregion-generic.lo gdkrgb.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkwindowimpl.lo gdkenumtypes.lo directfb/libgdk-directfb.la -L/mnt/ubuntuvb/usr/local/lib -lcairo -ldirectfb -lfusion -ldirect -lpthread -L/mnt/ubuntuvb/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -ljpeg -L/mnt/ubuntuvb/usr/local/lib -lpng12 -lm ../gdk-pixbuf/libgdk_pixbuf-2.0.la -L/mnt/ubuntuvb/usr/local/lib -Wl,--rpath-link -Wl,/mnt/ubuntuvb/usr/local/lib rm -fr .libs/libgdk-directfb-2.0.exp .libs/libgdk-directfb-2.0.ver generating symbol list for `libgdk-directfb-2.0.la' /scratchbox/compilers/bin/nm -B .libs/gdk.o .libs/gdkapplaunchcontext.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdisplaymanager.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkimage.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkrgb.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkwindowimpl.o .libs/gdkenumtypes.o directfb/.libs/libgdk-directfb.a | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /scratchbox/tools/bin/sed 's/.* //' | sort | uniq > .libs/libgdk-directfb-2.0.exp /scratchbox/tools/bin/grep -E -e "^[^_].*" ".libs/libgdk-directfb-2.0.exp" > ".libs/libgdk-directfb-2.0.expT" mv -f ".libs/libgdk-directfb-2.0.expT" ".libs/libgdk-directfb-2.0.exp" echo "{ global:" > .libs/libgdk-directfb-2.0.ver cat .libs/libgdk-directfb-2.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libgdk-directfb-2.0.ver echo "local: *; };" >> .libs/libgdk-directfb-2.0.ver gcc -shared .libs/gdk.o .libs/gdkapplaunchcontext.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdisplaymanager.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkimage.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkrgb.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkwindowimpl.o .libs/gdkenumtypes.o -Wl,--whole-archive directfb/.libs/libgdk-directfb.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/mnt/ubuntuvb/usr/local/lib -Wl,--rpath -Wl,/home/chumby/chumby/gtk+-2.14.3/gdk-pixbuf/.libs -Wl,--rpath -Wl,/mnt/ubuntuvb/usr/local/lib -L/mnt/ubuntuvb/usr/local/lib /mnt/ubuntuvb/usr/local/lib/libdirectfb.so /mnt/ubuntuvb/usr/local/lib/libfusion.so /mnt/ubuntuvb/usr/local/lib/libdirect.so -lpthread /mnt/ubuntuvb/usr/local/lib/libpangocairo-1.0.so /mnt/ubuntuvb/usr/local/lib/libpango-1.0.so /mnt/ubuntuvb/usr/local/lib/libcairo.so /mnt/ubuntuvb/usr/local/lib/libgio-2.0.so /mnt/ubuntuvb/usr/local/lib/libgobject-2.0.so /mnt/ubuntuvb/usr/local/lib/libgmodule-2.0.so /mnt/ubuntuvb/usr/local/lib/libglib-2.0.so -ljpeg /mnt/ubuntuvb/usr/local/lib/libpng12.so -lm ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -Wl,--rpath-link -Wl,/mnt/ubuntuvb/usr/local/lib -Wl,-soname -Wl,libgdk-directfb-2.0.so.0 -Wl,-version-script -Wl,.libs/libgdk-directfb-2.0.ver -o .libs/libgdk-directfb-2.0.so.0.1400.3 directfb/.libs/libgdk-directfb.a(gdkgeometry-directfb.o): In function `IA__gdk_window_scroll': gdkgeometry-directfb.c:(.text+0x7c): multiple definition of `IA__gdk_window_scroll' .libs/gdkwindow.o:gdkwindow.c:(.text+0x9358): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_scroll' changed from 332 in .libs/gdkwindow.o to 1020 in directfb/.libs/libgdk-directfb.a(gdkgeometry-directfb.o) directfb/.libs/libgdk-directfb.a(gdkgeometry-directfb.o): In function `IA__gdk_window_move_region': gdkgeometry-directfb.c:(.text+0x478): multiple definition of `IA__gdk_window_move_region' .libs/gdkwindow.o:gdkwindow.c:(.text+0x94a4): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_move_region' changed from 400 in .libs/gdkwindow.o to 1056 in directfb/.libs/libgdk-directfb.a(gdkgeometry-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_hide': gdkwindow-directfb.c:(.text+0x2a14): multiple definition of `IA__gdk_window_hide' .libs/gdkwindow.o:gdkwindow.c:(.text+0x8ac0): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_hide' changed from 292 in .libs/gdkwindow.o to 604 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_set_events': gdkwindow-directfb.c:(.text+0x5a04): multiple definition of `IA__gdk_window_set_events' .libs/gdkwindow.o:gdkwindow.c:(.text+0x8d08): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_set_events' changed from 300 in .libs/gdkwindow.o to 256 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_set_cursor': gdkwindow-directfb.c:(.text+0x4d78): multiple definition of `IA__gdk_window_set_cursor' .libs/gdkwindow.o:gdkwindow.c:(.text+0x9910): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_set_cursor' changed from 280 in .libs/gdkwindow.o to 456 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_get_origin': gdkwindow-directfb.c:(.text+0x5274): multiple definition of `IA__gdk_window_get_origin' .libs/gdkwindow.o:gdkwindow.c:(.text+0x9b98): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_get_origin' changed from 312 in .libs/gdkwindow.o to 344 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_raise': gdkwindow-directfb.c:(.text+0x40f4): multiple definition of `IA__gdk_window_raise' .libs/gdkwindow.o:gdkwindow.c:(.text+0x8640): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_raise' changed from 300 in .libs/gdkwindow.o to 388 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_show_unraised': gdkwindow-directfb.c:(.text+0x2854): multiple definition of `IA__gdk_window_show_unraised' .libs/gdkwindow.o:gdkwindow.c:(.text+0x8518): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_show_unraised' changed from 296 in .libs/gdkwindow.o to 224 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_show': gdkwindow-directfb.c:(.text+0x2934): multiple definition of `IA__gdk_window_show' .libs/gdkwindow.o:gdkwindow.c:(.text+0x8990): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_show' changed from 304 in .libs/gdkwindow.o to 224 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_withdraw': gdkwindow-directfb.c:(.text+0x2c70): multiple definition of `IA__gdk_window_withdraw' .libs/gdkwindow.o:gdkwindow.c:(.text+0x8be4): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_withdraw' changed from 292 in .libs/gdkwindow.o to 220 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_move': gdkwindow-directfb.c:(.text+0x2d4c): multiple definition of `IA__gdk_window_move' .libs/gdkwindow.o:gdkwindow.c:(.text+0x8f7c): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_move' changed from 328 in .libs/gdkwindow.o to 568 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_resize': gdkwindow-directfb.c:(.text+0x2f84): multiple definition of `IA__gdk_window_resize' .libs/gdkwindow.o:gdkwindow.c:(.text+0x90c4): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_resize' changed from 328 in .libs/gdkwindow.o to 420 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_move_resize': gdkwindow-directfb.c:(.text+0x33c8): multiple definition of `IA__gdk_window_move_resize' .libs/gdkwindow.o:gdkwindow.c:(.text+0x920c): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_move_resize' changed from 332 in .libs/gdkwindow.o to 952 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_lower': gdkwindow-directfb.c:(.text+0x4278): multiple definition of `IA__gdk_window_lower' .libs/gdkwindow.o:gdkwindow.c:(.text+0x8864): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_lower' changed from 300 in .libs/gdkwindow.o to 376 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_set_background': gdkwindow-directfb.c:(.text+0x4a34): multiple definition of `IA__gdk_window_set_background' .libs/gdkwindow.o:gdkwindow.c:(.text+0x9634): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_set_background' changed from 280 in .libs/gdkwindow.o to 384 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_set_back_pixmap': gdkwindow-directfb.c:(.text+0x4bb4): multiple definition of `IA__gdk_window_set_back_pixmap' .libs/gdkwindow.o:gdkwindow.c:(.text+0x974c): first defined here directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_get_geometry': gdkwindow-directfb.c:(.text+0x4f40): multiple definition of `IA__gdk_window_get_geometry' .libs/gdkwindow.o:gdkwindow.c:(.text+0x9a28): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_get_geometry' changed from 368 in .libs/gdkwindow.o to 412 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_get_events': gdkwindow-directfb.c:(.text+0x58f4): multiple definition of `IA__gdk_window_get_events' .libs/gdkwindow.o:gdkwindow.c:(.text+0x8e34): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_get_events' changed from 328 in .libs/gdkwindow.o to 272 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_shape_combine_mask': gdkwindow-directfb.c:(.text+0x5b04): multiple definition of `IA__gdk_window_shape_combine_mask' .libs/gdkwindow.o:gdkwindow.c:(.text+0x9cd0): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_shape_combine_mask' changed from 296 in .libs/gdkwindow.o to 40 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_shape_combine_region': gdkwindow-directfb.c:(.text+0x5b54): multiple definition of `IA__gdk_window_shape_combine_region' .libs/gdkwindow.o:gdkwindow.c:(.text+0x9df8): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_shape_combine_region' changed from 296 in .libs/gdkwindow.o to 40 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_set_child_shapes': gdkwindow-directfb.c:(.text+0x72e0): multiple definition of `IA__gdk_window_set_child_shapes' .libs/gdkwindow.o:gdkwindow.c:(.text+0x9f20): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_set_child_shapes' changed from 272 in .libs/gdkwindow.o to 24 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_merge_child_shapes': gdkwindow-directfb.c:(.text+0x72f8): multiple definition of `IA__gdk_window_merge_child_shapes' .libs/gdkwindow.o:gdkwindow.c:(.text+0xa030): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_merge_child_shapes' changed from 272 in .libs/gdkwindow.o to 24 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o): In function `IA__gdk_window_set_static_gravities': gdkwindow-directfb.c:(.text+0x7340): multiple definition of `IA__gdk_window_set_static_gravities' .libs/gdkwindow.o:gdkwindow.c:(.text+0xa140): first defined here /scratchbox/compilers/arm-chumby-gcc4.1.2/usr/bin/../lib/gcc/arm-linux/4.1.2/../../../../arm-linux/bin/ld: Warning: size of symbol `IA__gdk_window_set_static_gravities' changed from 304 in .libs/gdkwindow.o to 320 in directfb/.libs/libgdk-directfb.a(gdkwindow-directfb.o) collect2: ld returned 1 exit status make[4]: *** [libgdk-directfb-2.0.la] Error 1 make[4]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/gdk' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/gdk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3/gdk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/chumby/chumby/gtk+-2.14.3' make: *** [all] Error 2 |