Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ token

2016-05-06 Thread giorgio foga
e: Wed, 4 May 2016 14:51:56 +0100 > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: > error: expected ‘)’ before ‘->’ token > > On 4 May 2016 at 14:39, giorgio foga wrote: > > >

Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ token

2016-05-04 Thread andy pugh
On 4 May 2016 at 14:39, giorgio foga wrote: > #define MODBUS_RTU_RS485 1" nr.35 row . > but I'm try to connect via TCP ... no-one macro for RS line is used from my > code... The .h file is #included and so the compiler will try to parse the code even if it is

Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ token

2016-05-04 Thread giorgio foga
ery macros used by *ctx . At these point I think is a version / linking library. Regards Giorgio > From: bodge...@gmail.com > Date: Wed, 4 May 2016 12:03:56 +0100 > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: >

Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ token

2016-05-04 Thread giorgio foga
sorry ... fake email > From: giorgiof...@hotmail.it > To: emc-users@lists.sourceforge.net > Date: Wed, 4 May 2016 15:39:33 +0200 > Subject: Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: error: > expected ‘)’ before ‘->’ token > > I try to re-install lib

Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ token

2016-05-04 Thread giorgio foga
-users@lists.sourceforge.net > Subject: Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: > error: expected ‘)’ before ‘->’ token > > On 4 May 2016 at 11:49, giorgio foga wrote: > > /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ >

Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ token

2016-05-04 Thread andy pugh
On 4 May 2016 at 11:49, giorgio foga wrote: > /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ > token What does line 35 of that file look like? I don't see any problem in the libmodbus source. (this is not actually a LinuxCNC file) -- atp "A motorcycle is a bicycle

Re: [Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ token

2016-05-04 Thread Nicklas Karlsson
It might be an unrecognized symbol. A macro may be missing for example if it is not correctly spelled. On Wed, 4 May 2016 12:49:13 +0200 giorgio foga wrote: > At first --compile of my new usercomp for make LCNC server modbus obtain > this error ... I have really not ideas how to find the s

[Emc-users] /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ token

2016-05-04 Thread giorgio foga
At first --compile of my new usercomp for make LCNC server modbus obtain this error ... I have really not ideas how to find the solution. (after 6 hour of work modbus file seems ok ) The file is attach in relate post on lcnc forum ... here ... https://forum.linuxcnc.org/forum/24-