Home/Support/Support Forum/Errors Compiling Rabbitnet Relay Samples
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Errors Compiling Rabbitnet Relay Samples

0 votes
I just received my BL4S200 SBC and RN1400 Relay Board and am trying to test everything out with the provided sample programs. None of the samples for the RN1400 will compile. Other samples (TCPIP, etc) compile and run fine. I am using Dynamic C 10.72.

line 105 : ERROR RELAY_SEQUENCE.C : Missing character ';'.
line 105 : ERROR RELAY_SEQUENCE.C : newdev is out of scope/ not declared.
line 106 : ERROR RELAY_SEQUENCE.C : Not a pointer, cannot dereference.
line 106 : ERROR RELAY_SEQUENCE.C : Cannot subscript object 'unknown' of type 'unsigned int'; an array or pointer is required.
line 106 : ERROR RELAY_SEQUENCE.C : s is out of scope/ not declared.
line 106 : ERROR RELAY_SEQUENCE.C : Missing character ';'.
line 106 : ERROR RELAY_SEQUENCE.C : char is out of scope/ not declared.
line 106 : ERROR RELAY_SEQUENCE.C : Missing character ';'.
line 106 : ERROR RELAY_SEQUENCE.C : auto is out of scope/ not declared.
line 107 : ERROR RELAY_SEQUENCE.C : option is out of scope/ not declared.
line 128 : WARNING RELAY_SEQUENCE.C : Reference to 'brdInit' has no corresponding prototype.
line 129 : WARNING RELAY_SEQUENCE.C : Reference to 'rn_init' has no corresponding prototype.
line 134 : WARNING RELAY_SEQUENCE.C : Reference to 'rn_find' has no corresponding prototype.
line 150 : WARNING RELAY_SEQUENCE.C : Wrong type for parameter 1.
line 151 : WARNING RELAY_SEQUENCE.C : Wrong type for parameter 1.
line 158 : WARNING RELAY_SEQUENCE.C : Wrong type for parameter 1.
line 159 : WARNING RELAY_SEQUENCE.C : Wrong type for parameter 3.
line 167 : WARNING RELAY_SEQUENCE.C : Wrong type for parameter 2.
line 167 : WARNING RELAY_SEQUENCE.C : Wrong type for parameter 3.
line 180 : WARNING RELAY_SEQUENCE.C : Reference to 'rn_Relay' has no corresponding prototype.
10 errors and 10 warnings reached; further messages suppressed.
asked Sep 19, 2013 in Rabbit by nullgel New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
 
Best answer
Found the answer buried in a readme file.

Needed to add:

#use BLxS2xx.lib

to my sample programs.
answered Sep 19, 2013 by nullgel New to the Community (2 points)
selected Sep 20, 2013 by nullgel
...