i compiled the sdcc-src-2.6.0 tarball, so I guess I have that version
the error I get is the following one:
error: missing definition for symbol "_sinf", required by "main.o"

I just added the 31 december snapshot (removes my ability to program to PIC18F4431, which I added myself) and it still gives me the same error;

now trying to compile and build the latest source (sdcc-src-20061231-4543.tar.bz2)

If anyone knows a way to fix this problem, please post... If not, I'll try to get it working with this latest source, and post my findings here.

--
Luit van Drongelen

2007/2/6, Luit van Drongelen <me@luitvd.nl>:
i compiled the sdcc-src-2.6.0 tarball, so I guess I have that version
the error I get is the following one:
error: missing definition for symbol "_sinf", required by "main.o"

I just added the 31 december snapshot (removes my ability to program to PIC18F4431, which I added myself) and it still gives me the same error;

now trying to compile and build the latest source (sdcc-src-20061231-4543.tar.bz2)

If anyone knows a way to fix this problem, please post... If not, I'll try to get it working with this latest source, and post my findings here.

--
Luit van Drongelen


2007/2/6, Ernst Bachmann <e.bachmann@xebec.de >:
On Dienstag, 6. Februar 2007, Luit van Drongelen wrote:
> Hello,
>
> I just started using SDCC, and got nearly everything to work, eventually.
> But one thing still won't do what I want. I can't get the default libraries
> (like libc and math and libio) to work properly. I think I forgot to
> include something in the code initialisation. Current stuff in code:
>
> #pragma library math
> #include "math.h "
>
> Is there anything I should include with it?
>
You don't need to add that #pragma line yourself, its already included in the
math.h header of the pic16 port.

my sdcc version (snapshot Dec. 2 2006) links with the math lib correctly when
I include "math.h", what version are you using?


/Ernst

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user