oh, that darn libc again. i made the mistake too but mine took a week to solve. i however do not believe the cdecl to be necessary - i have yet to find a lib that needs it