Warnings - L1823

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,638件の閲覧回数
Taig
Contributor I

 hi!

 

 I have some problem.

 

 I use freescale CodeWarrior IDE version 5.9.0

 

This is my problem.

 

 

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

L1823: External object l_keyin in F:\My_Program\Freescale_test\Taillamp\TailLamp05\TailLamp05_Data\Standard\ObjectCode\input.c.o
created by default


L1823: External object l_drvdoor in F:\My_Program\Freescale_test\Taillamp\TailLamp05\TailLamp05_Data\Standard\ObjectCode\input.c.o
created by default


L1823: External object l_tailsw in F:\My_Program\Freescale_test\Taillamp\TailLamp05\TailLamp05_Data\Standard\ObjectCode\input.c.o
created by default


L1823: External object o_taillamp in F:\My_Program\Freescale_test\Taillamp\TailLamp05\TailLamp05_Data\Standard\ObjectCode\main.c.o
created by default


L1823: External object b_autocut in F:\My_Program\Freescale_test\Taillamp\TailLamp05\TailLamp05_Data\Standard\ObjectCode\main.c.o
created by default

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 

I'd appreciate any help

regards Taig

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,452件の閲覧回数
BlackNight
NXP Employee
NXP Employee

it means that you have referenced/used variables, but not defined them.

E.g.  in input.c, you use a variable 'l_keyin' which has no allocated memory.

so you need to add somewhere something like

char l_keyin;

(you might need to use another type instead of char).

 

The linker detects this, and creates a default object for you. But really you should have defined that object in your code.

 

BK

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,453件の閲覧回数
BlackNight
NXP Employee
NXP Employee

it means that you have referenced/used variables, but not defined them.

E.g.  in input.c, you use a variable 'l_keyin' which has no allocated memory.

so you need to add somewhere something like

char l_keyin;

(you might need to use another type instead of char).

 

The linker detects this, and creates a default object for you. But really you should have defined that object in your code.

 

BK

0 件の賞賛
返信
1,451件の閲覧回数
Taig
Contributor I

Hi. BK

 

Thank you for your answer.

 

I solved this problem because of your answer.

 

Thanks.

0 件の賞賛
返信