EmbeddedRelated.com
Forums

Issues Migrating from Dynamic C 9.25 to 9.62

Started by "sta...@yahoo.com [rabbit-semi]" January 23, 2016
Hi.

I am just getting to where we are migrating from Dyn C 9.25 to 9.62. I installed the updates to 9.62. I can see that in 9.62, there are two extra lib sysconfig and sysiodefs in BIOLIB that was inside rabbitbios.c in 9.25. I basically used all the same basic files I had in 9.25, with some user modified in rabbitbios.C I mod them in the new BIOSLIB sysconfig and sysiodefs.

I get the following errors:

line 1 : ERROR RabbitBios.c : Must define at least one #xcodorg origin directive.
line 1 : ERROR RabbitBios.c : Must define at least one #rvarorg origin directive.
line 47 : ERROR RabbitBios.c : 'STDBIOS.C' cannot be found.
line 55 : ERROR RabbitBios.c : _USER is out of scope/ not declared.
line 59 : WARNING RabbitBios.c : __xexit__ is not defined; C statement debugging may not work correctly

line 59 : ERROR RabbitBios.c : Must define at least one #rcodorg origin directive.

This is just it going through the rabbitbios.c

Anyone can give me some direction as to what is different or what I need to do to get my old program compiling? I just am not sure what changes occurred in the upgrade.

Thanks,

Stan the man
My guess is that you made some sort of an error in your modifications to the libraries.

First try compiling your program (to a binary file -- no need to run it on your target) without making the changes. Once you confirm that's working, go into those BIOS libraries and make whatever changes are necessary for your hardware to work correctly. If you limit yourself to just a few changes and attempt to compile again, you'll know which small set of changes broke the compilation.

Maybe you define a macro that conflicts with another macro or variable name later in the program.

Maybe you've added preprocessor directives or unbalanced code blocks.

Maybe you're missing a semicolon at the end of a BeginHeader/EndHeader block in a library.

It's likely a change you made before line 47 of RabbitBios.c, or to one of the libraries referenced via "#use" shortly before that line.

In general, you should try to limit the changes you make to the libraries and see if you can accomplish your goals with defining project macros or keeping code in your own libraries.

-Tom
On Jan 22, 2016, at 6:24 PM, s...@yahoo.com [rabbit-semi] wrote:

> Hi.
>
> I am just getting to where we are migrating from Dyn C 9.25 to 9.62. I installed the updates to 9.62. I can see that in 9.62, there are two extra lib sysconfig and sysiodefs in BIOLIB that was inside rabbitbios.c in 9.25. I basically used all the same basic files I had in 9.25, with some user modified in rabbitbios.C I mod them in the new BIOSLIB sysconfig and sysiodefs.
>
> I get the following errors:
>
> line 1 : ERROR RabbitBios.c : Must define at least one #xcodorg origin directive.
>
> line 1 : ERROR RabbitBios.c : Must define at least one #rvarorg origin directive.
>
> line 47 : ERROR RabbitBios.c : 'STDBIOS.C' cannot be found.
>
> line 55 : ERROR RabbitBios.c : _USER is out of scope/ not declared.
>
> line 59 : WARNING RabbitBios.c : __xexit__ is not defined; C statement debugging may not work correctly
> line 59 : ERROR RabbitBios.c : Must define at least one #rcodorg origin directive.
> This is just it going through the rabbitbios.c
>
> Anyone can give me some direction as to what is different or what I need to do to get my old program compiling? I just am not sure what changes occurred in the upgrade.
>
> Thanks,
>
> Stan the man