goule
1
Hello,
I’d like to make some floating to int conversions.
I have already included “float.h” but it seems like it’s not enough : I got the following compilation error :
error: missing definition for symbol “__divsint”, required by “_output\main.o”
error: missing definition for symbol “__mulint”, required by “_output\main.o”
What do I need ??
Thanx all
I’ve just fixed this problem myself.
Download all the header and include files
http://sdcc.sourceforge.net/snapshots/i586-mingw32msvc/sdcc-snapshot-i586-mingw32msvc-20050922.zip
extract them in a sdcc directory under you map with your files.
include these lines in your main.c file
include “sdcc/lib/src/_divuint.c”
include “sdcc/lib/src/_divsint.c”
include “sdcc/lib/src/_muluint.c”
include “sdcc/lib/src/_mulsint.c”
Should work
Greetings,
Ramonster
goule
3
Thank you, mate! 
I’ll try that this evening when back from work !!
Goule
goule
4
Well I still have an error:
missing definition for symbol “__gptrget1”, required by “_output\main.o”
and never solved it (even trying the same method as above)
any ideas ?
Thanks,
Goule