[monit-dev] ARM-linux cross compiling error

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[monit-dev] ARM-linux cross compiling error

sungkwon.eom
Hello,
I'm newbie on monit.

I've tried to compile it for ARM-Linux device.

This is my configure command.

CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib ./configure
--prefix=/root/monit --host=arm-linux --target=arm-linux
--build=i386-ubuntu-linux --without-ssl

But I got a error like below.


.....................
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
configure: error: in `/root/다운로드/monit-5.3.1/libmonit':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
configure: error: ./configure failed for libmonit
----------------------------
If you give me a hint I'll appreciate.

Thk.

_______________________________________________
monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev
Reply | Threaded
Open this post in threaded view
|

Re: [monit-dev] ARM-linux cross compiling error

Rory Toma-3
I will send out my arm compile instructions tomorrow
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

"sungkwon.eom" <[hidden email]> wrote:
Hello,
I'm newbie on monit.

I've tried to compile it for ARM-Linux device.

This is my configure command.

CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib ./configure
--prefix=/root/monit --host=arm-linux --target=arm-linux
--build=i386-ubuntu-linux --without-ssl

But I got a error like below.


.....................
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
configure: error: in `/root/다운로드/monit-5.3.1/libmonit':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
configure: error: ./configure failed for libmonit
----------------------------
If you give me a hint I'll appreciate.

Thk.



monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev

_______________________________________________
monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev
Reply | Threaded
Open this post in threaded view
|

Re: [monit-dev] ARM-linux cross compiling error

Rory Toma-3
In reply to this post by sungkwon.eom
This must be new behavior. I'll try the newest version when I can and
update, as I did not have to do anything special for 5.2.5

On 11/30/11 8:29 PM, sungkwon.eom wrote:

> Hello,
> I'm newbie on monit.
>
> I've tried to compile it for ARM-Linux device.
>
> This is my configure command.
>
> CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib ./configure
> --prefix=/root/monit --host=arm-linux --target=arm-linux
> --build=i386-ubuntu-linux --without-ssl
>
> But I got a error like below.
>
>
> .....................
> checking sys/filio.h usability... no
> checking sys/filio.h presence... no
> checking for sys/filio.h... no
> configure: error: in `/root/다운로드/monit-5.3.1/libmonit':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details.
> configure: error: ./configure failed for libmonit
> ----------------------------
> If you give me a hint I'll appreciate.
>
> Thk.
>
> _______________________________________________
> monit-dev mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/monit-dev


_______________________________________________
monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev
Reply | Threaded
Open this post in threaded view
|

Re: [monit-dev] ARM-linux cross compiling error

Rory Toma-3
In reply to this post by sungkwon.eom
I'll have a patch for this soon.

On 11/30/11 8:29 PM, sungkwon.eom wrote:

> Hello,
> I'm newbie on monit.
>
> I've tried to compile it for ARM-Linux device.
>
> This is my configure command.
>
> CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib ./configure
> --prefix=/root/monit --host=arm-linux --target=arm-linux
> --build=i386-ubuntu-linux --without-ssl
>
> But I got a error like below.
>
>
> .....................
> checking sys/filio.h usability... no
> checking sys/filio.h presence... no
> checking for sys/filio.h... no
> configure: error: in `/root/다운로드/monit-5.3.1/libmonit':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details.
> configure: error: ./configure failed for libmonit
> ----------------------------
> If you give me a hint I'll appreciate.
>
> Thk.
>
> _______________________________________________
> monit-dev mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/monit-dev


_______________________________________________
monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev
Reply | Threaded
Open this post in threaded view
|

Re: [monit-dev] ARM-linux cross compiling error

Rory Toma-3
Here is the patch to disable the checks. Hopefully you have a working
setjmp and a c99 vsnprintf...



On 12/5/11 4:00 PM, Rory Toma wrote:

> I'll have a patch for this soon.
>
> On 11/30/11 8:29 PM, sungkwon.eom wrote:
>> Hello,
>> I'm newbie on monit.
>>
>> I've tried to compile it for ARM-Linux device.
>>
>> This is my configure command.
>>
>> CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib
>> ./configure --prefix=/root/monit --host=arm-linux --target=arm-linux
>> --build=i386-ubuntu-linux --without-ssl
>>
>> But I got a error like below.
>>
>>
>> .....................
>> checking sys/filio.h usability... no
>> checking sys/filio.h presence... no
>> checking for sys/filio.h... no
>> configure: error: in `/root/다운로드/monit-5.3.1/libmonit':
>> configure: error: cannot run test program while cross compiling
>> See `config.log' for more details.
>> configure: error: ./configure failed for libmonit
>> ----------------------------
>> If you give me a hint I'll appreciate.
>>
>> Thk.
>>
>> _______________________________________________
>> monit-dev mailing list
>> [hidden email]
>> https://lists.nongnu.org/mailman/listinfo/monit-dev
>
>
> _______________________________________________
> monit-dev mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/monit-dev

_______________________________________________
monit-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/monit-dev