Re: [Sdcc-user] Problem with compiling and linking

2007-02-01 Thread daniel ranc
Hi all, The issue with printf on PIC14 is an old one... You may consider the proposal found in http://simplepic.atspace.com/printf/index.html and possibly modify/enhance the code to fit your needs (sprintf) Daniel Raphael Neider wrote: >Hi George, > > >>I get the following error in all th

Re: [Sdcc-user] Problem with compiling and linking

2007-02-01 Thread Raphael Neider
Hi George, > I get the following error in all the above case. > > message: using default linker script > "/usr/share/gputils/lkr/16f877.lkr" > error: missing definition for symbol "_strlen", required by > "modiadc2lcd.o" > error: missing definition for symbol "_sprintf", required by > "modiadc2lc

Re: [Sdcc-user] Problem with compiling and linking

2007-02-01 Thread Maarten Brock
Quadruple posting only annoys people and does not make them willing to help. (Not that I could) > #include > #include > #define __16f877A > #include"pic/pic16f877a.h" ... > } > return; > } > > When i compiled the above program using sdcc > sdcc --debug -mpic14 -p16f877 progname.c > or > sdc

[Sdcc-user] Problem with compiling and linking

2007-02-01 Thread george john
#include #include #define __16f877A #include"pic/pic16f877a.h" //---Varables// //char x; int dat; int val; int value; int value1; float value2; int i; char str[20]; //---Functions---// //---Delay-

[Sdcc-user] Problem with compiling and linking

2007-01-31 Thread george john
#include #include #define __16f877A #include"pic/pic16f877a.h" //---Varables// //char x; int dat; int val; int value; int value1; float value2; int i; char str[20]; //---Functions---// //---Delay-

[Sdcc-user] Problem with compiling and linking

2007-01-31 Thread george john
#include #include #define __16f877A #include"pic/pic16f877a.h" //---Varables// //char x; int dat; int val; int value; int value1; float value2; int i; char str[20]; //---Functions---// //---Delay-

[Sdcc-user] Problem with compiling and linking

2007-01-31 Thread george john
#include #include #define __16f877A #include"pic/pic16f877a.h" //---Varables// //char x; int dat; int val; int value; int value1; float value2; int i; char str[20]; //---Functions---// //---Delay-