EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

undefined external references - Codewarrior/9S12E

Started by Tim Perry November 20, 2003
Every thing was going along just fine until ???

Environment:
CodeWarrior CW12_V3.0
Motorola 9S12E128
PE Beans

I am getting the following undefined external references:
_STORE_FAR_16 (ansibi.lib)
_STORE_FAR_32 (ansibi.lib)
_SET_PAGE (Start12.c.o)

The only thing I remember doing of any significance between the time
my program linked successfully and now is that I removed the Bean
for flash support.

Can anyone tell me how to satisfy these external references?

Thanks in advance for your help.




i THINK that flash support is mentioned in those 3 files - it would
make sense since Store Far is a refence to a way of storing memory on
a different page.... i think if you remove the "flash" references in
those files you will be set.. --- In , "Tim Perry" <tcp@d...> wrote:
> Every thing was going along just fine until ???
>
> Environment:
> CodeWarrior CW12_V3.0
> Motorola 9S12E128
> PE Beans
>
> I am getting the following undefined external references:
> _STORE_FAR_16 (ansibi.lib)
> _STORE_FAR_32 (ansibi.lib)
> _SET_PAGE (Start12.c.o)
>
> The only thing I remember doing of any significance between the
time
> my program linked successfully and now is that I removed the Bean
> for flash support.
>
> Can anyone tell me how to satisfy these external references?
>
> Thanks in advance for your help.




Hi Tim,

If you refer to the compiler release notes for CWHC12 V3 you will find that
there is a problem with the ANSI C library that is distributed with the
release (this doc can be found in the Release_Notes\HC12\CW_Tools\HC12
directory). You will need to manually include the DATAPAGE.C file in your
project. This should fix the problem.

Regards,
Gary

-----Original Message-----
From: Tim Perry [mailto:]
Sent: Thursday, November 20, 2003 4:42 AM
To:
Subject: [68HC12] undefined external references - Codewarrior/9S12E Every thing was going along just fine until ???

Environment:
CodeWarrior CW12_V3.0
Motorola 9S12E128
PE Beans

I am getting the following undefined external references:
_STORE_FAR_16 (ansibi.lib)
_STORE_FAR_32 (ansibi.lib)
_SET_PAGE (Start12.c.o)

The only thing I remember doing of any significance between the time
my program linked successfully and now is that I removed the Bean
for flash support.

Can anyone tell me how to satisfy these external references?

Thanks in advance for your help.

<http://rd.yahoo.com/SIGc8n2vbd/M&7637.4116732.5333197.1261774/D=egroup
web/S06554205:HM/EXP69407709/A53618/R=0/*http://www.netflix.com/Def
ault?mqso`178338&partidA16732> click here

<http://us.adserver.yahoo.com/l?M&7637.4116732.5333197.1261774/D=egroupmai
l/S=:HM/A53618/randh2321948>

--------------------
<http://www.motorola.com/mcu ">http://docs.yahoo.com/info/terms/> .




The 2024 Embedded Online Conference