I have Visioneer 6100 USB scanner and have been trying to get it working. I know it works because I was able to use Steven Charlie's e3 patch v 0.4 with sane, and it worked fine. Now I wish to get the newer patch to work but am having difficulty compiling the drivers and I am asking for some help. When compiling the drivers these are the errors/warnings I am getting, any help would be greatly appreciated. (Sorry if its a bit long):
(This may be normal but I thought I would paste it anyways.) sanei_save_values.c: In function `sanei_save_values': sanei_save_values.c:99: warning: comparison between signed and unsigned sanei_save_values.c:127: warning: comparison between signed and unsigned (This starts the Viceo part of the compiling.) In file included from sc.cpp:8: viceo/global.h:15: warning: `BACKEND_NAME' redefined *Initialization*:1: warning: this is the location of the previous definition sc.cpp: In function `OSErr ScRelease(int)': sc.cpp:76: warning: unused parameter `Boolean lampOn' sc.cpp: In function `OSErr ScInitDevice(int)': sc.cpp:198: warning: unused variable `OSErr iErr' sc.cpp:197: warning: unused parameter `int theLPT' sc.cpp: In function `OSErr ScSetParameter(CfgRec *)': sc.cpp:422: warning: assignment to `long int' from `double' sc.cpp:443: warning: `int len' might be used uninitialized in this function sc.cpp: In function `OSErr ScGetButtons(int *)': sc.cpp:543: warning: unused variable `int Mask' sc.cpp:543: warning: unused variable `int i' sc.cpp:543: warning: unused variable `int f' In file included from carmove.cpp:6: viceo/global.h:15: warning: `BACKEND_NAME' redefined *Initialization*:1: warning: this is the location of the previous definition carmove.cpp: In function `OSErr scMoveToStartPos_G4_CCD(CfgRec *)': carmove.cpp:153: warning: assignment to `int' from `double' carmove.cpp:168: warning: assignment to `int' from `double' carmove.cpp:124: warning: unused variable `float rate' carmove.cpp: In function `OSErr ScCarriageMoveForward(int, int)': carmove.cpp:444: warning: unused variable `DWORD start' carmove.cpp: In function `OSErr ScCarriageMoveBackward(int, int)': carmove.cpp:461: warning: unused variable `DWORD start' In file included from lut.cpp:13: viceo/global.h:15: warning: `BACKEND_NAME' redefined *Initialization*:1: warning: this is the location of the previous definition lut.cpp: In function `int ScMergeLUT(lut_t *, lut_t *, lut_t *)': lut.cpp:45: warning: unused variable `struct lut_t lut' lut.cpp: In function `void ExtendGamma(lut_t *, lut_t *)': lut.cpp:321: warning: `int slen' might be used uninitialized in this function lut.cpp:321: warning: `int dlen' might be used uninitialized in this function In file included from e3.cpp:14: viceo/global.h:15: warning: `BACKEND_NAME' redefined *Initialization*:1: warning: this is the location of the previous definition e3.cpp: In function `int E3_AnaScanPara_600(int, int, int)': e3.cpp:331: warning: unused parameter `int xDpi' e3.cpp: In function `int E3_AnaScanPara_300(int, int, int)': e3.cpp:606: warning: unused variable `OSErr err' e3.cpp: In function `int E3_CheckFIFOIndicate(ScParamBlkRec *, BYTE *, long int)': e3.cpp:1895: warning: unused parameter `BYTE * data' e3.cpp: In function `int E3_GetImage(ScParamBlkRec *, ScBitMap *)': e3.cpp:1998: warning: unused variable `BYTE * imgbuf1' e3.cpp: In function `int E3_ScGetImage_Super(CfgRec *, BYTE *, long int)': e3.cpp:2107: warning: unused parameter `LONG scanBpr1' e3.cpp: In function `int E3_SetLEDState(long unsigned int)': e3.cpp:2280: warning: `BYTE LED' might be used uninitialized in this function e3.cpp: In function `int E3_SetPixelDarkValue(int, BYTE *, BYTE *, BYTE *)': e3.cpp:2366: warning: unused parameter `int width' e3.cpp:2366: warning: unused parameter `BYTE * r' e3.cpp:2366: warning: unused parameter `BYTE * g' e3.cpp:2366: warning: unused parameter `BYTE * b' e3.cpp: In function `int E3_SetPixelGainValue(int, BYTE *, BYTE *, BYTE *)': e3.cpp:2456: warning: `int targetwhite' might be used uninitialized in this function e3.cpp:2457: warning: `struct FILE * fp' might be used uninitialized in this function e3.cpp: In function `long int E3_GetWarmupTime()': e3.cpp:2704: warning: unused variable `OSErr err' e3.cpp: At top level: e3.cpp:19: warning: `unsigned char bmask[8]' defined but not used viceo/global.h:15: warning: `BACKEND_NAME' redefined *Initialization*:1: warning: this is the location of the previous definition scdrv.cpp:17: warning: converting NULL to non-pointer type scdrv.cpp: In function `OSErr DrvOpen()': scdrv.cpp:59: warning: converting NULL to non-pointer type scdrv.cpp: In function `OSErr DrvClose()': scdrv.cpp:87: warning: converting NULL to non-pointer type scdrv.cpp: In function `OSErr DrvHomeCarriage(int)': scdrv.cpp:199: warning: unused parameter `Boolean lampOn' In file included from calibrat.cpp:9: viceo/global.h:15: warning: `BACKEND_NAME' redefined *Initialization*:1: warning: this is the location of the previous definition calibrat.cpp: In function `OSErr doG4_H_REF()': calibrat.cpp:331: warning: unused variable `long int i' calibrat.cpp: In function `OSErr doG4_V_REF()': calibrat.cpp:445: warning: unused variable `int gPilot_Forward' calibrat.cpp:473: warning: label `FindWBM_Again_G4' defined but not used calibrat.cpp: In function `OSErr doCalibrate_G4_CCD()': calibrat.cpp:575: warning: unused variable `int Cali_Always' calibrat.cpp:574: warning: unused variable `int bak_jerry' calibrat.cpp:569: warning: unused variable `BYTE i' calibrat.cpp:569: warning: unused variable `unsigned char str[14]' calibrat.cpp:570: warning: `int gSilence' might be used uninitialized in this function calibrat.cpp:572: warning: `int gPilot_Forward' might be used uninitialized in this function calibrat.cpp:573: warning: `int gPilot_Scan' might be used uninitialized in this function calibrat.cpp:576: warning: `int ExposureTime_Bak' might be used uninitialized in this function calibrat.cpp: In function `OSErr doDarkOffset(int)': calibrat.cpp:1490: warning: unused variable `double b_dark' calibrat.cpp:1489: warning: unused variable `double g_dark' calibrat.cpp:1488: warning: unused variable `double r_dark' calibrat.cpp:1483: warning: unused parameter `int type' calibrat.cpp: In function `OSErr doPixelDark(...)': calibrat.cpp:1739: warning: unused variable `BYTE * buffer' calibrat.cpp:1738: warning: unused variable `struct ScBitMap bitmap' calibrat.cpp: In function `OSErr DeDustAndSeparateColorChannel(ScBitMap, void *, void *, void *)': calibrat.cpp:1992: warning: int format, double arg (arg 3) calibrat.cpp:1997: warning: int format, double arg (arg 3) calibrat.cpp:1999: warning: value computed is not used calibrat.cpp:2001: warning: value computed is not used calibrat.cpp:2015: warning: int format, double arg (arg 3) calibrat.cpp:2020: warning: int format, double arg (arg 3) calibrat.cpp:2022: warning: value computed is not used calibrat.cpp:2024: warning: value computed is not used calibrat.cpp:2038: warning: int format, double arg (arg 3) calibrat.cpp:2043: warning: int format, double arg (arg 3) calibrat.cpp:2045: warning: value computed is not used calibrat.cpp:2047: warning: value computed is not used calibrat.cpp:2061: warning: int format, double arg (arg 3) calibrat.cpp:2066: warning: int format, double arg (arg 3) calibrat.cpp:2078: warning: int format, double arg (arg 3) calibrat.cpp:2083: warning: int format, double arg (arg 3) calibrat.cpp:2095: warning: int format, double arg (arg 3) calibrat.cpp:2100: warning: int format, double arg (arg 3) calibrat.cpp:1939: warning: `struct FILE * rfp' might be used uninitialized in this function calibrat.cpp:1939: warning: `struct FILE * gfp' might be used uninitialized in this function calibrat.cpp:1939: warning: `struct FILE * bfp' might be used uninitialized in this function calibrat.cpp: In function `double VertAdjAndAvg(double, void *, int, int, double, double, int)': calibrat.cpp:2122: warning: `int upper' might be used uninitialized in this function calibrat.cpp:2122: warning: `int lower' might be used uninitialized in this function In file included from scan.cpp:6: viceo/global.h:15: warning: `BACKEND_NAME' redefined *Initialization*:1: warning: this is the location of the previous definition scan.cpp: In function `OSErr ScStartScan(int, int, int)': scan.cpp:29: warning: unused variable `BYTE Asic' scan.cpp:19: warning: unused parameter `Boolean goAhead' scan.cpp:19: warning: unused parameter `Boolean motorOn' In file included from usbport.cpp:6: viceo/global.h:15: warning: `BACKEND_NAME' redefined *Initialization*:1: warning: this is the location of the previous definition usbport.cpp: In function `int USBPort_OpenPort(int)': usbport.cpp:28: warning: unused parameter `int whichPort' usbport.cpp: In function `int USBPort_ClosePort(int)': usbport.cpp:33: warning: unused parameter `int whichPort' usbport.cpp: In function `int USBPort_DetectDevice(int)': usbport.cpp:48: warning: unused parameter `int theport'
