I get the following error using GCC 4.3.2 and cross-compiling (Ubuntu
9.04) for the mini2440 ARM9 machine:
<***glibc detected ***
/home/cherokee/sbin/cherokee/cherokee-worker:
corrupted double-linked list: 0x0015d9b0 *** PID 851: received a
signal=6>
Is 0.99.44 compatible with GLIBC 2.9?
The
build script is:
******
#!/bin/bash
DEST=~/mini2440-bootstrap
export
ac_cv_func_malloc_0_nonnull=yes
export
ac_cv_func_realloc_0_nonnull=yes
export ac_cv_func_shm_open=no
export
ac_cv_lib_rt_shm_open=no
export
CROSS_COMPILE=arm-none-linux-gnueabi-
export CC=${CROSS_COMPILE}"gcc"
export CXX=${CROSS_COMPILE}"g++"
export
AR=${CROSS_COMPILE}"ar"
export AS=${CROSS_COMPILE}"as"
export
RANLIB=${CROSS_COMPILE}"ranlib"
export LD=${CROSS_COMPILE}"ld"
export
STRIP=${CROSS_COMPILE}"strip"
export
PATH=/home/davef/mini2440-bootstrap/arm-2008q3/bin:$PATH
NMAKE=4
pushd
.
cd ${DEST}/cherokee-0.99.44/
echo " ******************
Configuring Cherokee ********************* "
make distclean
./configure
--localstatedir=/var \
--exec-prefix=${DEST}/output/cherokee \
--prefix=/home/cherokee \
--with-wwwroot=/www \
--enable-static-module=all \
--enable-shared=no \
--enable-static \
--disable-tls \
--disable-pam \
--disable-ipv6 \
--disable-largefile \
--build=i686-linux
--host=arm-linux \
--target=arm-linux \
LDFLAGS="-s -lcrypt -lpthread -ldl
-L/home/davef/mini2440-bootstrap/arm-2008q3/arm-none-linux-gnueabi/libc/lib"
\
CFLAGS="-march=armv4t -mtune=arm920t -Os"
make -j${NMAKE}
LDFLAGS="-all-static"
make install
popd
******
Appreciate
any comments.
Kind regards
Dave
_________________________________________________________________
Looking for a place to manage all your online stuff? Download the new Windows
Live
http://download.live.com_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee