From: Enigma <en...@cu...> - 2001-07-07 17:47:53
|
There are a couple of things that need changing to port this to linux, they are all 1 line changes and are listed below, the start of each line is what to change it to, then my comment so i know what i changed, then what it used to be protocol.c:459: return 0; //Enigma hack NULL; protocol.c:683: return 0; //Enigma hack NULL; protocol.c:704: return 0; //Enigma hack NULL; protocol.c:710: return 0; //Enigma hack NULL; protocol.c:713: return 0; //Enigma hack NULL; protocol.c:830: return 0; //Enigma hack NULL; protocol.c:920: return 0; //Enigma hack NULL; usb_byteorder.c:3:#include <endian.h> //Enigma hack #include <machine/endian.h> this is because linux sees NULL as a pointer, and complains when returning a point from a function that is prototyped to return an int :) the bottom line is just a different path to the file, after this it all compliles fine, the only problem is the bulk timeouts now, i will have a look at this thanks again to seagull cheers ________________________________________________________ PGP key is here -> http://www.computerbooth.com/pgp.html * If debugging is the process of removing bugs, then programming must be the process of putting them in. |