Hi, Squid's build system does not support crosscompiling. You need to build on the target system. Sorry On 3/15/10, joshoha <joshoha@xxxxxxxxx> wrote: > Hi, > > I meet the following error when trying to cross-compile the squid source > for arm-linux > > > [root@centos squid-2.7.STABLE7]#./configure > CC=/usr/local/arm/4.3.2/bin/arm-linux-gcc --host=arm-linux > --prefix=/opt/squid/ > ...... > checking for crypt... yes > checking if epoll works... configure: error: cannot run test program while > cross compiling > See `config.log' for more details. > > I dont know why. > Any idea? > > thank you! > -- /kinkie