Package: asedriveiiie Version: 2.2-1 Severity: normal Tags: patch When building 'asedriveiiie' on amd64/unstable with gcc-4.0, I get the following error:
gcc -fPIC -D_REENTRANT -Wall -I. `pkg-config --cflags libpcsclite` -I/usr/local/include/PCSC -I/usr/local/include -c -o InitCardParams.o InitCardParams.c InitCardParams.c:24: error: 'ffs' redeclared as different kind of symbol make[1]: *** [InitCardParams.o] Error 1 make[1]: Leaving directory `/asedriveiiie-2.2/ASEDriveIIIeUSB2.2' make: *** [build-stamp] Error 2 With the attached patch 'asedriveiiie' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/asedriveiiie-2.2/ASEDriveIIIeUSB2.2/InitCardParams.c ./ASEDriveIIIeUSB2.2/InitCardParams.c --- ../tmp-orig/asedriveiiie-2.2/ASEDriveIIIeUSB2.2/InitCardParams.c 2005-03-27 14:23:11.000000000 +0200 +++ ./ASEDriveIIIeUSB2.2/InitCardParams.c 2005-04-21 08:21:00.000000000 +0200 @@ -21,8 +21,8 @@ 12, 20, 1, 1, 1, 1, 1, 1 }; static long fs[16] = {4000000, 5000000, 6000000, 8000000, 12000000, 16000000, 20000000, 0, 0, 5000000, 7500000, 10000000, 15000000, 20000000, 0, 0}; -static float ffs[16] = {4.0, 5.0, 6.0, 8.0, 12.0, 16.0, 20.0, 0.0, - 0.0, 5.0, 7.5, 10.0, 15.0, 20.0, 0.0, 0.0}; +//static float ffs[16] = {4.0, 5.0, 6.0, 8.0, 12.0, 16.0, 20.0, 0.0, +// 0.0, 5.0, 7.5, 10.0, 15.0, 20.0, 0.0, 0.0}; /***************************************************************************** -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]