From: Leigh L. K. Jr. <kl...@gr...> - 2004-06-25 19:15:25
|
Sometimes I get errors, sometimes I get no output for the string array data for -pic16 for the P18F252. Version info is at the bottom. Here is a simple test case that gets errors. data.c: #include <pic18fregs.h> code char *DATATEST[]={ "A", "B", "C" }; -------------------------------- $ sdcc -c -mpic16 -p18f252 data.c data.asm:153:Error [113] Symbol not previously defined (__str_0). data.asm:153:Error [113] Symbol not previously defined (__str_0). data.asm:153:Error [113] Symbol not previously defined (__str_0). data.asm:154:Error [113] Symbol not previously defined (__str_1). data.asm:154:Error [113] Symbol not previously defined (__str_1). data.asm:154:Error [113] Symbol not previously defined (__str_1). data.asm:155:Error [113] Symbol not previously defined (__str_2). data.asm:155:Error [113] Symbol not previously defined (__str_2). data.asm:155:Error [113] Symbol not previously defined (__str_2). Processor: 18f252 $ sdcc -v SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.4.2 (Jun 15 2004) (MINGW32) |