Migrating RCM3000 code to RCM6700 issues

Hi, I’m trying to upgrade to the RCM6700, but I’m running into issues with libraries having changed and such.
For not my problem is in my serial task, first of all I got an error that CDRIVE_TXD wasn’t defined, I have no idea where this is defined, so I just added it to my main code. now I get a few more errors about undefined labels.
line 147 : ERROR SERIAL.LIB : Undefined (but used) global label clongstop
line 151 : ERROR SERIAL.LIB : Undefined (but used) global label crtscts
line 154 : ERROR SERIAL.LIB : Undefined (but used) global label spc_checkcts
line 160 : ERROR SERIAL.LIB : Undefined (but used) global label spc_txload
line 200 : ERROR SERIAL.LIB : Undefined (but used) global label csevenbit
line 209 : ERROR SERIAL.LIB : Undefined (but used) global label spc_icbuf
line 239 : ERROR SERIAL.LIB : Undefined (but used) global label coverrun
line 242 : ERROR SERIAL.LIB : Undefined (but used) global label cparity
line 251 : ERROR SERIAL.LIB : Undefined (but used) global label cparitytype
line 263 : ERROR SERIAL.LIB : Undefined (but used) global label cparityerror

Where are these defined?
This code compiles just fine for the RCM3000 so there must be a header of defines somewhere, but I have no clue. A search of my HD came up empty.

Any help?

Ron H

What version of DC are you using for the RCM6700? in DC10.66 CDRIVE_TXD is defined in rs232.lib (also in DC 9.62).

The cparity etc vars are also defined in rs232.lib but only in DC 9.62.

Where is the serial.lib file located?

Regards,
Peter

I’m using 10.70 for the 6700, up from 9.25 on the 3000.

Interesting, I see it in that lib and it is included, yet I get an error.
The serial.lib is located in a defined library folder.

Have the parity vars been redefined with new names?

Ron

The DC10.70 RS232.LIB has an array of structures defined with the serial channel config rather than a collection of port specific variables.

If SERIAL.LIB is one of your own libs which is intimately tied to the internal make up of RS232.LIB it will need to be modified.

Regards,
Peter