Hi, On Sun, Oct 16, 2005 at 08:20:09PM +0200, Franz Bakan wrote: > >I removed these typedefs. Please check the latest code in CVS. > > The previous errors are gone now, but compilation still fails when linking: > > ... > mustek_usb2_reflective.c:1316: warning: implicit declaration of function > `pthread_cancel' > In file included from mustek_usb2.c:75: > mustek_usb2_high.c: In function `MustScanner_ReadDataFromScanner': > mustek_usb2_high.c:3068: warning: implicit declaration of function > `pthread_testcancel' > mustek_usb2.o: Undefined symbol _pthread_cancel referenced from text segment > > There is a libpthread on OS/2 but it's probably not complete... > at least it doesn't have pthread_cancel. > > Perhaps Yuri can fix this?
For now I have added a test for pthread_cancel and pthread_testcancel in acinclude.ac. This should disable the mustek_usb2 backend on OS/2. Better ideas are appreciated :-) Bye, Henning