(toppers-users 749) 割込みハンドラについて
Kimitsugu Nakao
nakao @ kagawa-pc.ac.jp
2003年 2月 6日 (木) 14:00:30 JST
四国職業能力開発大学校の中尾と申します。
TOPPERSで割込みハンドらを利用しているのですがエラーが発生してmakeが
完了しません。使用しているターゲットはAKIH8_3048Fです。環境はCygwin
上でgccでmakeしています。
次ぎの関数はシリアル受信割込みハンドラです。
void rxi1_hdr(void)
{
}
CFGファイルでは次ぎの通り割り込みハンドらを設定しています。
DEF_INH(56, { TA_HLNG, rxi1_hdr} );
エラーは次ぎのとおりです。
kernel_cfg.o(.text+0x2aa):kernel_cfg.c: undefined reference to `rxi1_hdr_disable_int'
kernel_cfg.o(.text+0x2d6):kernel_cfg.c: undefined reference to `rxi1_hdr_enable_int'
kernel_cfg.o(.text+0x30c):kernel_cfg.c: undefined reference to `rxi1_hdr_disable_int'
kernel_cfg.o(.text+0x32c):kernel_cfg.c: undefined reference to `rxi1_hdr_enable_int'
collect2: ld returned 1 exit status
上記エラーで原因をご存知の方がいらっしゃればご教示願えれば幸いです。
-----------------
四国職業能力開発大学校
中尾 亀三継
nakao @ kagawa-pc.ac.jp