Warnings - L1823

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Warnings - L1823

Jump to solution
2,740 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,554 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
1,555 Views
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 Kudos
Reply
1,553 Views
Taig
Contributor I

Hi. BK

 

Thank you for your answer.

 

I solved this problem because of your answer.

 

Thanks.

0 Kudos
Reply