No, I protected the code in the backend with #ifdef, but the status and frames are enums. I'll switch the new ones to #defines, and commit it to cvs.
allan On Wed, Apr 22, 2009 at 2:52 AM, Stefan Below <stefanbelow at gmx.de> wrote: > Hi, > i think i have to change? something in the fujitsu source too. > When i compile the backends, i get this warning: > ?fujitsu.c:6844: Warning: ?read_from_JPEGduplex? defined. but not used > > changelog from the fujitsu backend: > ?? v92 2009-04-12, MAN > ???????? - disable SANE_FRAME_JPEG support (again) > > scanadf and scanimage did not show the new features. > > Thanks for your help, > Stefan > > Yes- the new frame types and new statuses are no longer enabled by > default in sane-backends CVS, because we are preparing for a non-API > changing release. > > You will need to edit include/sane/sane.h, and change the '#if 0' to > '#if 1' around the new status values and around the new frame types, > and add a comma after the value right before the #if. Then rebuild and > reinstall sane-backends. If the compression option shows up in > scanimage --help, then you have succeeded. > > I dont know if you really need to compile sane-frontends, but if you > do, make sure it can find the updated sane.h, wherever it has been > installed. > > allan > > On Tue, Apr 21, 2009 at 3:08 AM, Stefan Below <stefanbelow at gmx.de> wrote: > > > Hello, > > how can i enable jpeg compression for the fujitsu scanner (4120C)? > I used it a lot last year, but after reinstalling my system, the feature is > no longer available. > > So i compiled the lates sane-backends. Bu when i try to compile > sane-frontends, i get the following error-message: > > scanadf.c:995: ERROR: ?SANE_STATUS_WARMING_UP? not declared. > > (there is only one installed instance of sane-backends in /usr/local/.....) > > Hope someone can help me > Stefan > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ?to sane-devel-request at lists.alioth.debian.org > > > > > -- "The truth is an offense, but not a sin"
