Linker Error: _store_far_8 undefined

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Linker Error: _store_far_8 undefined

ソリューションへジャンプ
1,454件の閲覧回数
Donal
Contributor II
Hello all,

I'm having a problem with defining a parameter of the following function as __far. I want to be able to pass a far pointer for a memory location in paged ROM to this function for erasing flash.

extern void flash_start_erase(unsigned char * __far start_address, ...)
{
...
}

When I compile this, I get an linker error: error _store_far_8 undefined.

Does anyone know what I am doing wrong?

Codewarrior 3.1, dg128.

Cheers,
Donal
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
963件の閲覧回数
Donal
Contributor II
0 件の賞賛
返信
1 返信
964件の閲覧回数
Donal
Contributor II
Ahhh, found the solution here: http://forums.freescale.com/freescale/board/message?board.id=CWCOMM&message.id=1863&query.id=12301#M...

Needed to add the datapage.c file to my project.

Donal
0 件の賞賛
返信