modbus team mailing list archive
-
modbus team
-
Mailing list archive
-
Message #00020
Re: libmodbus on ARM
Oh yes, configure.ac contains a path file to search the define, I don't know
how to adjust it to be more generic and find the constant on your platform.
Le 19 juil. 2011 12:13, "Alex Stapleton" <alexs@xxxxxxxxxxxxx> a écrit :
> On 19/07/2011 10:52, Stéphane Raimbault wrote:
>> 2011/7/19 Justin Findlay<jfindlay@xxxxxxxxx>:
>>>
>>> I just downloaded 3.0.0 and applied the above diff by hand to
>>> src/modbus-rtu.c and it compiled without error on this linux 2.4
>>> debian etch arm (old abi) system.
>>>
>>>
>>> Justin
>>
>> The easiest way to fetch the code is to use:
>>
>> git clone git://github.com/stephane/libmodbus.git
>>
>> but if you've been able to acheive good results that's the essentiel.
>> Thank you for your feedback.
>>
>
> It also succeeds for me but this seems to be because ./configure now
> detects this
>
> checking whether TIOCSRS485 is declared... no
>
> which is incorrect on my system.
>
> /usr/arm-linux-gnueabi/include/asm-generic/ioctls.h:#define TIOCSRS485
> 0x542F
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~modbus
> Post to : modbus@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~modbus
> More help : https://help.launchpad.net/ListHelp
References