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 <giorgiof...@hotmail.it> 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 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-hal-components/30913-modbus-server-comp-modbus-rtu-h-35-error-expecte
> 
> 
> halcompile --compile --userspace  k1MbServer.comp
> gcc -Os -g -I. -I/usr/realtime-2.6.32-122-rtai/include -I. 
> -I/usr/realtime-2.6.32-122-rtai/include -D_FORTIFY_SOURCE=0 -mhard-float 
> -DRTAI=3 -fno-fast-math -mieee-fp -fno-unsafe-math-optimizations -DRTAPI 
> -D_GNU_SOURCE -Drealtime -D__MODULE__ -I/usr/include/linuxcnc 
> -Wframe-larger-than=2560 -URTAPI -U__MODULE__ -DULAPI -Os  -o k1MbServer 
> /tmp/tmp_VFDTq/k1MbServer.c -Wl,-rpath,/lib -L/lib -llinuxcnchal 
> In file included from /usr/local/include/modbus/modbus.h:283,
>                  from k1MbServer.comp:125:
> /usr/local/include/modbus/modbus-rtu.h:35: error: expected ‘)’ before ‘->’ 
> token
> k1MbServer.comp: In function ‘user_mainloop’:
> k1MbServer.comp:264: warning: ‘return’ with a value, in function returning 
> void
> make: *** [k1MbServer] Error 1
> 
> Regards
> Giorgio
>                                         
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to