goule Posted September 21, 2005 Report Posted September 21, 2005 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 Quote
ramonster Posted September 22, 2005 Report Posted September 22, 2005 I've just fixed this problem myself.Download all the header and include fileshttp://sdcc.sourceforge.net/snapshots/i586-mingw32msvc/sdcc-snapshot-i586-mingw32msvc-20050922.zipextract 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 workGreetings,Ramonster Quote
goule Posted September 22, 2005 Author Report Posted September 22, 2005 Thank you, mate! :DI'll try that this evening when back from work !! 8)Goule Quote
goule Posted September 22, 2005 Author Report Posted September 22, 2005 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.