Home/Support/Support Forum/Dynamic C 10.72E could not compile ECHOCHAR.C
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Dynamic C 10.72E could not compile ECHOCHAR.C

+1 vote
line 92 : ERROR ECHOCHAR.C : Missing character ';'.
line 92 : ERROR ECHOCHAR.C : Not a pointer, cannot dereference.
line 92 : ERROR ECHOCHAR.C : devaddr is out of scope/ not declared.
line 94 : WARNING ECHOCHAR.C : Reference to 'brdInit' has no corresponding prototype.
line 95 : ERROR ECHOCHAR.C : RN_PORTS is out of scope/ not declared.
line 95 : WARNING ECHOCHAR.C : Reference to 'rn_init' has no corresponding prototype.
line 99 : ERROR ECHOCHAR.C : Invalid struct reference.
line 99 : ERROR ECHOCHAR.C : devaddr is out of scope/ not declared.
line 99 : ERROR ECHOCHAR.C : Invalid struct reference.
line 99 : ERROR ECHOCHAR.C : devaddr is out of scope/ not declared.
line 99 : ERROR ECHOCHAR.C : Invalid struct reference.
line 99 : ERROR ECHOCHAR.C : devaddr is out of scope/ not declared.
line 101 : WARNING ECHOCHAR.C : Reference to 'rn_device' has no corresponding prototype.
line 128 : WARNING ECHOCHAR.C : Reference to 'rn_echo' has no corresponding prototype.
10 errors reached; further errors suppressed.
asked Aug 23 in Rabbit Software by alancchi New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
 
Best answer
Take a look at Samples/BLxS2xx/RabbitNet/ECHOCHAR.C. That compiles correctly for the BL4S200 when I tested it.

The generic Samples/Rabbitnet/ECHOCHAR.C program expects you to add a '#use "libname.LIB"' that defines brdInit() and brings in RIO_SBC.lib and a RabbitNet configuration library (rn_cfg_bls2xx.lib in the case of the BL4S200).
answered Aug 30 by TomCollins Veteran of the Digi Community (2,222 points)
selected Sep 3 by TomCollins
Thank you so much!
...