AnsweredAssumed Answered

Error during compiling

Question asked by penchala prasad reddy on Jan 24, 2018
Latest reply on Jan 25, 2018 by penchala prasad reddy

I am getting an error while compiling the file.Can any one please help me out.

 

 

sdcc -lstm8 -mstm8 --out-fmt-ihx delay.c

?ASlink-Warning-Undefined Global '_GPIO_Init' referenced by module 'delay'

?ASlink-Warning-Undefined Global '_GPIO_WriteLow' referenced by module 'delay'

?ASlink-Warning-Undefined Global '_GPIO_DeInit' referenced by module 'delay'

?ASlink-Warning-Undefined Global '_GPIO_WriteHigh' referenced by module 'delay'
Makefile:16: recipe for target 'delay.ihx' failed
make: *** [delay.ihx] Error 1

 

Thanks & Regards,

Prasad.

Outcomes