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

Here are the news.
- 1.28 build without any issue
- 14.x up to 1.4.5 is not ready for cross compile


Have a look
-
mv -f .deps/memcached-memcached.Tpo .deps/memcached-memcached.Po
i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.30.1/usr/include -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.30.1/include -I/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.4.4_uClibc-0.9.30.1/usr/include -I/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.4.4_uClibc-0.9.30.1/include -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -pthread -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-hash.o -MD -MP -MF .deps/memcached-hash.Tpo -c -o memcached-hash.o `test -f 'hash.c' || echo './'`hash.c
In file included from memcached.h:24,
                 from hash.c:12:
sasl_defs.h:4:1: warning: C++ style comments are not allowed in ISO C90
sasl_defs.h:4:1: warning: (this will be reported only once per input file)
In file included from hash.c:12:
memcached.h:305: warning: ISO C90 does not support flexible array members
hash.c:430:2: error: #error Must define HASH_BIG_ENDIAN or HASH_LITTLE_ENDIAN
make[5]: *** [memcached-hash.o] Error 1
make[5]: Leaving directory `/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.5'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.5'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.5' make[2]: *** [/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.5/.built] Error 2
make[2]: Leaving directory `/openwrt/packages/net/memcached'
make[1]: *** [package/feeds/packages/memcached/compile] Error 2
make[1]: Leaving directory `/openwrt/trunk'
make: *** [package/memcached/compile] Error 2
-

Also the checks for Cross-Compile are wrong. I still get  messages like
--
checking for Sun cc in use... configure: error: in `/openwrt/trunk/build_dir/target-i386_uClibc-0.9.30.1/memcached-1.4.5':
--
Seem to me, you only want to support Sun? Now Oracle ?

To sponsor you a buildbot for this issue is nothing like crap. But please correct me.

Reply via email to