Dynamic C 10.72E could not compile ECHOCHAR.C

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.

1 Like

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).

Thank you so much!