apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 50146] cross compiling apr error: redefinition of 'struct iovec'
Date Wed, 20 Jun 2012 10:44:42 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50146

--- Comment #5 from kirsche40@gmx.de ---
New information. I am through apr and aprutils compilation. I used following
files for build:

=============
 APR
=============
#!/bin/sh
export PATH=/opt/eldk/usr/bin:/opt/eldk/bin:$PATH
export ARCH=powerpc
export CROSS_COMPILE=ppc_82xx-
export CC=ppc_82xx-gcc
export LD=ppc_82xx-ld
export CXX=ppc_82xx-g++
export AR=ppc_82xx-ar
export CPP=ppc_82xx-cpp
export STRIP=ppc_82xx-strip
./configure  \
    --host=ppc-linux \
    --target=ppc-linux \
    --prefix=/opt/eldk/ppc_82xx/usr \
    --build=i686-cross-linux-gnu \
    --disable-libtool-lock \
    --disable-lfs \
    --disable-dso \
    --disable-ipv6 \
    --with-gnu-ld \
    ac_cv_file__dev_zero=no \
    ac_cv_func_setpgrp_void=no \
    apr_cv_tcp_nodelay_with_cork=no \
    cross_compiling=yes \
    apr_cv_process_shared_works=no \
    ac_cv_sizeof_struct_iovec=1


=============
 APR Utils
=============
#!/bin/sh
export PATH=/opt/eldk/usr/bin:/opt/eldk/bin:$PATH
export ARCH=powerpc
export CROSS_COMPILE=ppc_82xx-
export CC=ppc_82xx-gcc
export LD=ppc_82xx-ld
export CXX=ppc_82xx-g++
export AR=ppc_82xx-ar
export CPP=ppc_82xx-cpp
export STRIP=ppc_82xx-strip
./configure  \
    --host=ppc-linux \
    --target=ppc-linux \
    --prefix=/opt/eldk/ppc_82xx/usr \
    --build=i686-cross-linux-gnu \
    --disable-util-dso \
    --with-apr=/opt/eldk/ppc_82xx/usr

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message