Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 123 by [email protected]: Cross compile OpenWrt
http://code.google.com/p/memcached/issues/detail?id=123

What steps will reproduce the problem?
1. Try to issue configure over the OpenWrt Build System
2. Cross Compile for OpenWrt

What is the expected output? What do you see instead?

successful configure

What version of the product are you using? On what operating system?
1.4.4

Please provide any additional information below.

You can see where the problem is. He is looking for SUNCC. I dont know why.

make[1]: Entering directory `/extern/openwrt/trunk'
make[2]: Entering directory `/extern/openwrt/trunk/package/memcached'
rm -f
/extern/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.30.1/stamp/.memcached_installed
rm -f /extern/openwrt/trunk/bin/x86/packages/memcached_*
rm -f
/extern/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.30.1/packages/memcached.list
/extern/openwrt/trunk/staging_dir/host/packages/memcached.list
rm -rf
/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4
make[2]: Leaving directory `/extern/openwrt/trunk/package/memcached'
make[1]: Leaving directory `/extern/openwrt/trunk'
make[1]: Entering directory `/extern/openwrt/trunk'
make[2]: Entering directory `/extern/openwrt/trunk/package/libtool'
make[2]: Leaving directory `/extern/openwrt/trunk/package/libtool'
make[2]: Entering directory `/extern/openwrt/trunk/package/libtool'
make[2]: Leaving directory `/extern/openwrt/trunk/package/libtool'
make[2]: Entering directory
`/extern/openwrt/trunk/feeds/packages/libs/libevent'
make[2]: Leaving directory `/extern/openwrt/trunk/feeds/packages/libs/libevent'
make[2]: Entering directory `/extern/openwrt/trunk/package/memcached'
gzip -dc /extern/openwrt/trunk/dl/memcached-1.4.4.tar.gz | /bin/tar -C
/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4/..
-xf -
touch
/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4/.prepared_9bf2d19c462e7624d0e4983ae21f79c4
(cd
/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4/./;
if [ -x ./configure ]; then /usr/bin/find
/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4/ -name
config.guess | xargs -r chmod u+w; /usr/bin/find
/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4/ -name
config.guess | xargs -r -n1 cp /extern/openwrt/trunk/scripts/config.guess;
/usr/bin/find
/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4/ -name
config.sub | xargs -r chmod u+w; /usr/bin/find
/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4/ -name
config.sub | xargs -r -n1 cp /extern/openwrt/trunk/scripts/config.sub;
AR=i486-openwrt-linux-uclibc-ar AS="i486-openwrt-linux-uclibc-gcc -c -O2
-pipe -march=i486 -funit-at-a-time -fhonour-copts"
LD=i486-openwrt-linux-uclibc-ld NM=i486-openwrt-linux-uclibc-nm
CC="i486-openwrt-linux-uclibc-gcc" GCC="i486-openwrt-linux-uclibc-gcc"
CXX="i486-openwrt-linux-uclibc-g++" RANLIB=i486-openwrt-linux-uclibc-ranlib
STRIP=i486-openwrt-linux-uclibc-strip
OBJCOPY=i486-openwrt-linux-uclibc-objcopy
OBJDUMP=i486-openwrt-linux-uclibc-objdump
SIZE=i486-openwrt-linux-uclibc-size CFLAGS="-O2 -pipe -march=i486
-funit-at-a-time -fhonour-copts " CXXFLAGS="-O2 -pipe -march=i486
-funit-at-a-time -fhonour-copts "
CPPFLAGS="-I/extern/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.30.1/usr/include
-I/extern/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.30.1/include
-I/extern/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/include
-I/extern/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/include
"
LDFLAGS="-L/extern/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib
-L/extern/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.30.1/lib
-L/extern/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib
-L/extern/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib
"   ./configure --target=i486-openwrt-linux --host=i486-openwrt-linux
--build=x86_64-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
--disable-ipv6 --disable-docs --disable-dtrace --disable-sasl ; fi; )
configure: WARNING: unrecognized options: --disable-nls, --disable-ipv6
configure: loading site script
/extern/openwrt/trunk/include/site/i486-openwrt-linux-uclibc
checking build system type... x86_64-pc-linux-gnu
checking host system type... i486-openwrt-linux-gnu
checking target system type... i486-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 i486-openwrt-linux-strip... i486-openwrt-linux-uclibc-strip
checking for i486-openwrt-linux-gcc... i486-openwrt-linux-uclibc-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 i486-openwrt-linux-uclibc-gcc accepts -g... yes
checking for i486-openwrt-linux-uclibc-gcc option to accept ISO C89... none
needed
checking for style of include used by make... GNU
checking dependency style of i486-openwrt-linux-uclibc-gcc... gcc3
checking how to run the C preprocessor... i486-openwrt-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for icc in use... no
checking for Sun cc in use... configure: error: in
`/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
make[2]: ***
[/extern/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.4/.configured_]
Error 1
make[2]: Leaving directory `/extern/openwrt/trunk/package/memcached'
make[1]: *** [package/memcached/compile] Error 2
make[1]: Leaving directory `/extern/openwrt/trunk'
make: *** [package/memcached/compile] Error 2


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to