monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure: error: cannot run test program while cross compiling (arm lin


From: Arreche
Subject: configure: error: cannot run test program while cross compiling (arm linux uclibc)
Date: Wed, 28 Mar 2012 10:22:45 +0100

Hi,

I'm trying to cross compile monit for arm linux uclibc in this way:

export CC=arm-linux-uclibc-gcc
./configure --without-ssl --host=arm-linux-uclibc

But got this error:

configure: error: in `/home/aentos/Descargas/monit-5.3.2/libmonit':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
configure: error: ./configure failed for libmonit

So I commented those checks in libmonit/configure and try again getting this error:

src/process/sysdep_LINUX.o: In function `getloadavg_sysdep':
sysdep_LINUX.c:(.text+0x4ac): undefined reference to `getloadavg'
collect2: ld returned 1 exit status

Any idea?

Thanks!

--
.

Attachment: config.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]