Hello everyone,

I am new to Cherokee and trying to cross-compile Cherokee for ARM.

I used the following command to configure Cherokee:

 ac_cv_func_malloc_0_nonnull=yes   \
  ac_cv_func_realloc_0_nonnull=yes  \
./configure                         \
  --host=arm-linux           \
  --disable-readdir_r               \
  --disable-tls                     \
  --enable-static-module=all        \
  --enable-trace                    \
  --enable-static                   \
  --enable-shared=no                \
  CC=/media/Data/arm-2009q1/bin/arm-none-linux-gnueabi-gcc
LD=/media/Data/arm=2009q1/arm-none-linux-gnueabi-ld

The command ran successfully.

However, when I ran the 'make' command, I get the following error(s):

=============================================
libtool: compile:  /media/Data/arm-2009q1/bin/arm-none-linux-gnueabi-gcc
-std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -g -O2 -MT crc32.lo
-MD -MP -MF .deps/crc32.Tpo -c crc32.c -o crc32.o
mv -f .deps/crc32.Tpo .deps/crc32.Plo
/bin/sh ../libtool --tag=CC   --mode=compile
/media/Data/arm-2009q1/bin/arm-none-linux-gnueabi-gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT    -g -O2 -MT util.lo -MD -MP
-MF .deps/util.Tpo -c -o util.lo util.c
libtool: compile:  /media/Data/arm-2009q1/bin/arm-none-linux-gnueabi-gcc
-std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -g -O2 -MT util.lo
-MD -MP -MF .deps/util.Tpo -c util.c -o util.o
util.c: In function 'cherokee_readdir':
util.c:444: error: 'readdir_mutex' undeclared (first use in this function)
util.c:444: error: (Each undeclared identifier is reported only once
util.c:444: error: for each function it appears in.)
make[3]: *** [util.lo] Error 1
make[3]: Leaving directory `/media/Data/cherokee-1.0.12/cherokee'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/media/Data/cherokee-1.0.12/cherokee'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/Data/cherokee-1.0.12'
make: *** [all] Error 2
=============================================

Can anyone help me solving this error?

Thanks in advance.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to