[Sdcc-user] 12f1822 fail to compile

2014-10-15 Thread Electropepper PIC
I cannot compile a simple led on : rm -rf main.o main.asm main.map main.lst main.cod sdcc  -mpic14 -p12f1822 --use-non-free -L /usr/local/share/sdcc/lib/src/pic14 -L /usr/share/gputils/lkr main.c main.asm:9:Error [132] Unknown processor. /usr/share/gputils/header/p12f1822.inc:33:Message [301] Pro

Re: [Sdcc-user] 12f1822 fail to compile

2014-10-15 Thread Electropepper PIC
12:19 PM, Molnár Károly wrote: On Wed, 15 Oct 2014 11:38:32 + (UTC) Electropepper PIC wrote: >  I cannot compile a simple led on : > rm -rf main.o main.asm main.map main.lst main.cod > sdcc  -mpic14 -p12f1822 --use-non-free -L /usr/local/share/sdcc/lib/src/pic14 > -

Re: [Sdcc-user] 12f1822 fail to compile

2014-10-15 Thread Electropepper PIC
, October 15, 2014 12:54 PM, Molnár Károly wrote: On Wed, 15 Oct 2014 12:25:19 + (UTC) Electropepper PIC wrote: > ricardo@builder:~/projects/rf_tag_warning$ sdcc -v >   > SDCC : > mcs51/z80/z

Re: [Sdcc-user] 12f1822 fail to compile

2014-10-15 Thread Electropepper PIC
Problem solved, the problem was indeed very old version of gputils.Thank you all. On Wednesday, October 15, 2014 1:18 PM, Raphael Neider wrote: Hi,On Oct 15, 2014 3:07 PM, "Electropepper PIC" wrote: > > Im trying to make gputils 1.4.0, im always getting. &

[Sdcc-user] Missing definition for symbol

2014-10-15 Thread Electropepper PIC
I am trying to compile this header file http://burningsmell.org/pic16f628/src/tsmdelay.h , whit code : #define KHZ 1000L #include #include "tsmdelay.h" #include "tsmtypes.h" /* Setup chip configuration */ __code int __at(_CONFIG1) __CONFIG = _FOSC_INTOSC & _WDTE_OFF & _PWRTE_OFF & _MCLRE_ON &

Re: [Sdcc-user] Missing definition for symbol

2014-10-16 Thread Electropepper PIC
014 23:32:42 +0000 (UTC) Electropepper PIC wrote: > I am trying to compile this header file > http://burningsmell.org/pic16f628/src/tsmdelay.h , > whit code : > #define KHZ 1000L > > #include > #include "tsmdelay.h" > #include "tsmtypes.h" > > /* Setup

Re: [Sdcc-user] Missing definition for symbol

2014-10-16 Thread Electropepper PIC
7; ; column 9       make: *** [main] Error 1 line 59:banksel _loop_x On Thursday, October 16, 2014 7:21 AM, Philipp Klaus Krause wrote: On 16.10.2014 09:15, Electropepper PIC wrote: > I got the missing code, now i got the following error: > > sdcc  -mpic14 -p16f628a --use-no

Re: [Sdcc-user] Missing definition for symbol

2014-10-18 Thread Electropepper PIC
Problem solved guys and i do read the manual, the problem was another.Thank you all. On Thursday, October 16, 2014 8:24 PM, Raphael Neider wrote: I have tested this self-contained .c file successfully with the latest SDCC (compiled from svn): $ /media/data/local/sdcc-20141016/bin/