Re: Problem cross-compiling Apache | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
El Thu, Jun 12, 2008 at 08:44:23AM +0200 Marta Gros Marín ha dit:
> I'm trying to cross-compile Apache for the arm Davinci DM355 (Texas Instruments, I have Linux Montavista on it and Ubuntu on my computer), but I have the following problem:
>
> I use this command:
> CC="arm_v5t_le-gcc" CXX="arm_v5t_le-g++" \
> ./configure --build=i686-linux \
> --host=arm-linux \
> --target=arm-linux \
> --prefix=/home/marta/workdir/filesys/apache2.8
>
> and got the next error: checking for /dev/zero... configure: error: cannot check for file existence when cross compiling
> configure failed for srclib/apr
>
> I tried with this: ac_cv_file_dev_zero=no, also with "yes", I found both on the internet but neither of them worked.
> Can anyone please help me with this?
not sure if it resolves your problem with the check for /dev/zero, but
suppress the --target=arm-linux option. this option is only used for
building compilers, the --host option is enough
--
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona
The book of nature is written in the language of mathematics
(Galileo Galilei)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]