# Re: sane compilation error

Hugo.van.der.Kooij@caiw.nl
Tue, 5 Oct 1999 00:36:01 +0200 (CEST)

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Greg Lehey: "Re: Acer Scanners?"
- Previous message: Andreas Kraska: "sane compilation error"

On Mon, 4 Oct 1999, Andreas Kraska wrote:

> I tried to compile sane 1.00 and 1.01, but got an error:
>
> djpeg.c:178: warning: parameter names (without types) in function declaration
> djpeg.c:178: conflicting types for `jpeg_calc_output_dimensions'
> /usr/include/jpeglib.h:855: previous declaration of `jpeg_calc_output_dimensions'
> djpeg.c:178: warning: data definition has no type or storage class
> djpeg.c:181: parse error before `->'
> make[1]: *** [djpeg.lo] Error 1
> make[1]: Leaving directory `/usr/src/redhat/SOURCES/sane-1.00/backend'
> make: *** [all-recursive] Error 1
>
> I have (Suse Linux 5.3) libc5 system with kernel 2.0.35.
> I don't know where the jpeglib.h is from.
> What's happen ?

My guess would be that your version of jpeglib.h is too old. Or something
from libjpeg is missing.

Hugo.

    --
    Hugo van der Kooij; Oranje Nassaustraat 16; 3155 VJ  Maasland
    hvdkooij@caiw.nl	http://home.kabelfoon.nl/~hvdkooij/
    --------------------------------------------------------------
    Use of any of my email addresses for unsollicited (commercial)
        email is a clear intrusion of my privacy and illegal!

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

     Next message: Greg Lehey: "Re: Acer Scanners?"
     Previous message: Andreas Kraska: "sane compilation error"