Seems like you pass an int* where an unsigned int* is needed, and char*
where unsigned char*...
well, giving us the error messages would help, but asking in a newsgroup
where this library is on-topic would be even better. Try a unix programming
newsgroup.