bzcat /home/test/dl/twm-1.0.3.tar.bz2 | tar --strip-components=1 -C /home/test/test/output/build/xapp_twm-1.0.3 -xf - >>> xapp_twm 1.0.3 Patching package/x11r7//xapp_twm >>> xapp_twm 1.0.3 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/test/test/output/build/xapp_twm-1.0.3 -name $file); do cp support/gnuconfig/$file $i; done; done >>> xapp_twm 1.0.3 Patching libtool >>> xapp_twm 1.0.3 Configuring (cd /home/test/test/output/build/xapp_twm-1.0.3/ && rm -rf config.cache && PATH="/home/test/test/output/host/bin:/home/test/test/output/host/usr/bin:/home/test/test/output/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games" AR="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-ar" AS="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-as" LD="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-ld" NM="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-nm" CC="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc" GCC="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc" CPP="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-cpp" CXX="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-g++" FC="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gfortran" RANLIB="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-ranlib" STRIP="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-strip" OBJCOPY="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-objcopy" OBJDUMP="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" FC_FOR_BUILD="/usr/bin/ld" LD_FOR_BUILD="/usr/bin/ld" CFLAGS_FOR_BUILD="-O2 -I/home/test/test/output/host/include -I/home/test/test/output/host/usr/include" CXXFLAGS_FOR_BUILD="-I/home/test/test/output/host/include -I/home/test/test/output/host/usr/include" LDFLAGS_FOR_BUILD="-L/home/test/test/output/host/lib -L/home/test/test/output/host/usr/lib -Wl,-rpath,/home/test/test/output/host/usr/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-as" DEFAULT_LINKER="/home/test/test/output/host/usr/bin/i686-pc-linux-gnu-ld" CFLAGS=" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS=" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="" FCFLAGS="" PKG_CONFIG="/home/test/test/output/host/usr/bin/pkg-config" PERLLIB="/home/test/test/output/host/usr/lib/perl" STAGING_DIR="/home/test/test/output/host/usr/i686-unknown-linux-gnu/sysroot" ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no ./configure --target=i686-unknown-linux-gnu --host=i686-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --program-prefix="" --disable-gtk-doc --enable-ipv6 --enable-static --enable-shared ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes test: 2043: x: unexpected operator checking for i686-unknown-linux-gnu-strip... /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-strip checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-unknown-linux-gnu-gcc... /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc accepts -g... yes checking for /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for mkstemp... yes checking pkg-config is at least version 0.9.0... yes checking for TWM... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... i686-unknown-linux-gnu configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands >>> xapp_twm 1.0.3 Building PATH="/home/test/test/output/host/bin:/home/test/test/output/host/usr/bin:/home/test/test/output/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games" PERLLIB="/home/test/test/output/host/usr/lib/perl" /usr/bin/make -j12 -C /home/test/test/output/build/xapp_twm-1.0.3/ make[1]: Entering directory `/home/test/test/output/build/xapp_twm-1.0.3' /usr/bin/make all-recursive make[2]: Entering directory `/home/test/test/output/build/xapp_twm-1.0.3' Making all in src make[3]: Entering directory `/home/test/test/output/build/xapp_twm-1.0.3/src' /usr/bin/make all-am make[4]: Entering directory `/home/test/test/output/build/xapp_twm-1.0.3/src' if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-add_window.o -MD -MP -MF ".deps/twm-add_window.Tpo" -c -o twm-add_window.o `test -f 'add_window.c' || echo './'`add_window.c; \ then mv -f ".deps/twm-add_window.Tpo" ".deps/twm-add_window.Po"; else rm -f ".deps/twm-add_window.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-cursor.o -MD -MP -MF ".deps/twm-cursor.Tpo" -c -o twm-cursor.o `test -f 'cursor.c' || echo './'`cursor.c; \ then mv -f ".deps/twm-cursor.Tpo" ".deps/twm-cursor.Po"; else rm -f ".deps/twm-cursor.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-deftwmrc.o -MD -MP -MF ".deps/twm-deftwmrc.Tpo" -c -o twm-deftwmrc.o `test -f 'deftwmrc.c' || echo './'`deftwmrc.c; \ then mv -f ".deps/twm-deftwmrc.Tpo" ".deps/twm-deftwmrc.Po"; else rm -f ".deps/twm-deftwmrc.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-events.o -MD -MP -MF ".deps/twm-events.Tpo" -c -o twm-events.o `test -f 'events.c' || echo './'`events.c; \ then mv -f ".deps/twm-events.Tpo" ".deps/twm-events.Po"; else rm -f ".deps/twm-events.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-gc.o -MD -MP -MF ".deps/twm-gc.Tpo" -c -o twm-gc.o `test -f 'gc.c' || echo './'`gc.c; \ then mv -f ".deps/twm-gc.Tpo" ".deps/twm-gc.Po"; else rm -f ".deps/twm-gc.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-iconmgr.o -MD -MP -MF ".deps/twm-iconmgr.Tpo" -c -o twm-iconmgr.o `test -f 'iconmgr.c' || echo './'`iconmgr.c; \ then mv -f ".deps/twm-iconmgr.Tpo" ".deps/twm-iconmgr.Po"; else rm -f ".deps/twm-iconmgr.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-icons.o -MD -MP -MF ".deps/twm-icons.Tpo" -c -o twm-icons.o `test -f 'icons.c' || echo './'`icons.c; \ then mv -f ".deps/twm-icons.Tpo" ".deps/twm-icons.Po"; else rm -f ".deps/twm-icons.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-list.o -MD -MP -MF ".deps/twm-list.Tpo" -c -o twm-list.o `test -f 'list.c' || echo './'`list.c; \ then mv -f ".deps/twm-list.Tpo" ".deps/twm-list.Po"; else rm -f ".deps/twm-list.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-menus.o -MD -MP -MF ".deps/twm-menus.Tpo" -c -o twm-menus.o `test -f 'menus.c' || echo './'`menus.c; \ then mv -f ".deps/twm-menus.Tpo" ".deps/twm-menus.Po"; else rm -f ".deps/twm-menus.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-parse.o -MD -MP -MF ".deps/twm-parse.Tpo" -c -o twm-parse.o `test -f 'parse.c' || echo './'`parse.c; \ then mv -f ".deps/twm-parse.Tpo" ".deps/twm-parse.Po"; else rm -f ".deps/twm-parse.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-resize.o -MD -MP -MF ".deps/twm-resize.Tpo" -c -o twm-resize.o `test -f 'resize.c' || echo './'`resize.c; \ then mv -f ".deps/twm-resize.Tpo" ".deps/twm-resize.Po"; else rm -f ".deps/twm-resize.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-session.o -MD -MP -MF ".deps/twm-session.Tpo" -c -o twm-session.o `test -f 'session.c' || echo './'`session.c; \ then mv -f ".deps/twm-session.Tpo" ".deps/twm-session.Po"; else rm -f ".deps/twm-session.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-twm.o -MD -MP -MF ".deps/twm-twm.Tpo" -c -o twm-twm.o `test -f 'twm.c' || echo './'`twm.c; \ then mv -f ".deps/twm-twm.Tpo" ".deps/twm-twm.Po"; else rm -f ".deps/twm-twm.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-util.o -MD -MP -MF ".deps/twm-util.Tpo" -c -o twm-util.o `test -f 'util.c' || echo './'`util.c; \ then mv -f ".deps/twm-util.Tpo" ".deps/twm-util.Po"; else rm -f ".deps/twm-util.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-version.o -MD -MP -MF ".deps/twm-version.Tpo" -c -o twm-version.o `test -f 'version.c' || echo './'`version.c; \ then mv -f ".deps/twm-version.Tpo" ".deps/twm-version.Po"; else rm -f ".deps/twm-version.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-gram.o -MD -MP -MF ".deps/twm-gram.Tpo" -c -o twm-gram.o `test -f 'gram.c' || echo './'`gram.c; \ then mv -f ".deps/twm-gram.Tpo" ".deps/twm-gram.Po"; else rm -f ".deps/twm-gram.Tpo"; exit 1; fi if /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\" -D_BSD_SOURCE -DSYSTEM_INIT_FILE=\"/usr/share/X11/twm/system.twmrc\" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT twm-lex.o -MD -MP -MF ".deps/twm-lex.Tpo" -c -o twm-lex.o `test -f 'lex.c' || echo './'`lex.c; \ then mv -f ".deps/twm-lex.Tpo" ".deps/twm-lex.Po"; else rm -f ".deps/twm-lex.Tpo"; exit 1; fi /home/test/test/output/host/usr/bin/i686-pc-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o twm twm-add_window.o twm-cursor.o twm-deftwmrc.o twm-events.o twm-gc.o twm-iconmgr.o twm-icons.o twm-list.o twm-menus.o twm-parse.o twm-resize.o twm-session.o twm-twm.o twm-util.o twm-version.o twm-gram.o twm-lex.o -lXext -lXmu -lXt -lX11 /home/test/test/output/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ld: twm-session.o: undefined reference to symbol 'SmcSetProperties' /home/test/test/output/host/opt/ext-toolchain/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ld: note: 'SmcSetProperties' is defined in DSO /home/test/test/output/host/usr/i686-unknown-linux-gnu/sysroot/usr/lib/libSM.so.6 so try adding it to the linker command line /home/test/test/output/host/usr/i686-unknown-linux-gnu/sysroot/usr/lib/libSM.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[4]: *** [twm] Error 1 make[4]: Leaving directory `/home/test/test/output/build/xapp_twm-1.0.3/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/test/test/output/build/xapp_twm-1.0.3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/test/test/output/build/xapp_twm-1.0.3' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/test/test/output/build/xapp_twm-1.0.3' make: *** [/home/test/test/output/build/xapp_twm-1.0.3/.stamp_built] Error 2