[Namazu-devel-en] trying to cross-compile namazu-2.0.16 with arm-gcc-2.95.3

Paul Mansfield paul.mansfield at worldpay.com
Tue Nov 28 02:35:11 JST 2006


Hi,
thanks for reading this.

I wish to cross-compile namazu to run on Sharp Zaurus with Cacko ROM,
which is Kernel 2.4.20 and GCC-2.95.3 based system.

When I compile I get a few warnings, but the fatal problems are an
initial warning then a link error:

gcc -DLOCALEDIR=\"/usr/local/namazu/share/locale\"
-DOPT_CONFDIR=\"/usr/local/namazu/etc/namazu\"
-DOPT_INDEXDIR=\"/usr/local/namazu/var/namazu/index\" -DHAVE_SUPPORT_H
-DNO_ALLOCA -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I./../lib -I./../src
-I../intl -I./../nmz -g -O2 -Wall -pedantic -c search.c -o search.o
In file included from
/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/unistd.h:500,
                 from search.c:46:
/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/bits/confname.h:565:
warning: comma at end of enumerator list
search.c: In function `prefix_match':
search.c:181: warning: implicit declaration of function `_nmz_memcmp'
echo timestamp > search.lo


../nmz/.libs/libnmz.a(regex.o): In function `nmz_re_match':
/home/zaurus/build/namazu-2.0.16/nmz/regex.c:3826: undefined reference
to `_nmz_memcmp'


Is there a fix for this? It is not possible to use gcc-3 or gcc-4
because all the customised applications and Qtopia gui are gcc-2.95 based.

thanks again,
--
Paul


More information about the Namazu-devel-en mailing list