Hi Gents, Any thoughts on this, Again i using the glibc 2.6.1 and gcc 4.4.5 on ubuntu 10.10 and it's trunk check out.
make[3]: Entering directory `/openwrt_trunk-glibc/feeds/packages/libs/mysql' . /openwrt_trunk-glibc/include/shell.sh; . /openwrt_trunk-glibc/include/shell.sh; gzip -dc /openwrt_trunk-glibc/dl/mysql-5.1.53.tar.gz | /bin/tar -C /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/.. -xf - Applying ./patches/500-cross_compile.patch using plaintext: patching file configure patching file configure.in patching file storage/innodb_plugin/plug.in patching file libmysql/Makefile.in Applying ./patches/501-disable-pthread-and-tests.patch using plaintext: patching file sql/Makefile.am patching file sql/Makefile.in patching file extra/Makefile.am patching file extra/Makefile.in Applying ./patches/502-fix-hostname.patch using plaintext: patching file scripts/mysql_install_db.sh touch /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/.prepared_996d836bb9ea6ca62ea8d7e2685150d0 (cd /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53; touch configure.in aclocal.m4 Makefile.in config.h.in configure ); cp -fpR files/lex_hash.h /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/sql/lex_hash.h (cd /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/./; if [ -x ./configure ]; then /usr/bin/find /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/ -name config.guess | xargs -r -n1 cp /openwrt_trunk-glibc/scripts/config.guess; /usr/bin/find /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/ -name config.sub | xargs -r -n1 cp /openwrt_trunk-glibc/scripts/config.sub; AR=powerpc-openwrt-linux-gnu-ar AS="powerpc-openwrt-linux-gnu-gcc -c -Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float -fPIC" LD=powerpc-openwrt-linux-gnu-ld NM=powerpc-openwrt-linux-gnu-nm CC="powerpc-openwrt-linux-gnu-gcc" GCC="powerpc-openwrt-linux-gnu-gcc" CXX="g++-uc" RANLIB=powerpc-openwrt-linux-gnu-ranlib STRIP=powerpc-openwrt-linux-gnu-strip OBJCOPY=powerpc-openwrt-linux-gnu-objcopy OBJDUMP=powerpc-openwrt-linux-gnu-objdump SIZE=powerpc-openwrt-linux-gnu-size CFLAGS="-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float -fPIC " CXXFLAGS="-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float -fPIC " CPPFLAGS="-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include -I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include -I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include -I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include " LDFLAGS="-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/lib -L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/lib -L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/lib -L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib " CXXFLAGS="$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" CPPFLAGS="$CPPFLAGS -I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include/uClibc++" LDFLAGS="$LDFLAGS" LIBS="-nodefaultlibs -luClibc++ -lm -L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib -lgcc_s" CLIENTCLIBS="-nodefaultlibs -luClibc++ -lm -L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib -lgcc_s" mysql_cv_compress=yes mysql_cv_gethostname_style=glibc2 ac_cv_c_stack_direction=-1 ./configure --target=powerpc-openwrt-linux --host=powerpc-openwrt-linux --build=i686-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-shared --enable-static --enable-thread-safe-client --disable-assembler --with-pthread --with-server --without-mysqlmanager --without-raid --with-mysqld-user=root --with-unix-socket-path=/tmp --without-libwrap --without-pstack --with-low-memory --without-embedded-server --without-query-cache --without-mysqlfs --without-vio --without-ssl --without-docs --without-man --without-bench --without-readline --without-debug --with-named-thread-libs=-lpthread ; fi; ); configure: WARNING: unrecognized options: --disable-nls, --without-raid, --without-mysqlfs, --without-vio, --without-bench configure: loading site script /openwrt_trunk-glibc/include/site/powerpc-openwrt-linux-gnu checking build system type... i686-pc-linux-gnu checking host system type... powerpc-openwrt-linux-gnu checking target system type... powerpc-openwrt-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for powerpc-openwrt-linux-strip... powerpc-openwrt-linux-gnu-strip checking how to create a ustar tar archive... gnutar checking for style of include used by make... GNU checking for powerpc-openwrt-linux-gcc... powerpc-openwrt-linux-gnu-gcc checking for C compiler default output file name... configure: error: in `/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53': configure: error: C compiler cannot create executables See `config.log' for more details. make[3]: *** [/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/.configured_] Error 77 make[3]: Leaving directory `/openwrt_trunk-glibc/feeds/packages/libs/mysql' make[2]: *** [package/feeds/packages/mysql/compile] Error 2 make[2]: Leaving directory `/openwrt_trunk-glibc' make[1]: *** [/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/stamp/.package_compile] Error 2 make[1]: Leaving directory `/openwrt_trunk-glibc' Thanks, Pawel
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
