From: Maarten B. <sou...@ds...> - 2006-02-06 21:29:06
|
Unfortunately I mostly develop for the 8051 part of SDCC and know really nothing about PIC. I just remembered this came up before and that it's in the manual. But the mismatch also has come up before so please do a search on the mailing lists and the forum and you'll probably find some answers. Hope this helps > Hello Maarten, very kind of you answering my inquiry.. > > Thank you very much, indeed the pragma stack line was > the miss.... > > Where can i get example code so i can have everything > on count... I read the pragma stack documentation, but > even so i did not realize that it could be the > problem.. :( > > What about the processor mismatch warning? what does > it mean...? > > Thanks again. > > Julian Andres Guarin. > > --- Maarten Brock <sou...@ds...> > escribi=F3: > > > Look in the manual under the PIC16 port, pragma > > stack. > > > > > Why am i getting an error message? > > > > > > hello: this is the code > > > > > > #define _18F258 > > > #include "pic18f258.h" > > > > > > int a; > > > > > > int main(){ > > > > > > > > > > > > a =3D 8; > > > > > > a+=3D13-9; > > > > > > return a; > > > > > > } > > > > > > [julian@fc4_server sdcctest]$ sdcc test1.c > > -p18f258 > > > -mpic16 > > > Processor: 18f258 > > > warning: processor mismatch in > > > "/usr/local/bin/../share/sdcc/lib/pic16/crt0i.o" > > > message: using default linker script > > > "/usr/local/share/gputils/lkr/18f258.lkr" > > > error: missing definition for symbol "_stack_end", > > > required by > > > "/usr/local/bin/../share/sdcc/lib/pic16/crt0i.o" > > > > > > why there is a _stack_end symbol not recognized, > > and > > > what can i do about it? > > > > > > regards > > > "julian"<jgu...@ya...> > > > > > > > > > > > > > > > ______________________________________________ > > > LLama Gratis a cualquier PC del Mundo. > > > Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por > > minuto. > > > http://es.voice.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do > > you grep through log files > > > for problems? Stop! Download the new AJAX search > > engine that makes > > > searching your log files as easy as surfing the > > web. DOWNLOAD SPLUNK! > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D= 121642 > > > _______________________________________________ > > > Sdcc-user mailing list > > > Sdc...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/sdcc-user > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do > > you grep through log files > > for problems? Stop! Download the new AJAX search > > engine that makes > > searching your log files as easy as surfing the > > web. DOWNLOAD SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid 3432&bid#0486&dat 1642 > > _______________________________________________ > > Sdcc-user mailing list > > Sdc...@li... > > > https://lists.sourceforge.net/lists/listinfo/sdcc-user > > > > > > > ______________________________________________ > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto. > http://es.voice.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log f= iles > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D= 121642 > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |