Jasper compile error

  • Hello,
    I had the following errors while compiling jasper and worked out how to fix it.

    Code
    jpg_dec.c: In function 'jpg_put_pixel_rows':
    jpg_dec.c:312: error: 'JSAMPLE16' undeclared (first use in this function)
    jpg_dec.c:312: error: (Each undeclared identifier is reported only once
    jpg_dec.c:312: error: for each function it appears in.)
    jpg_dec.c:312: error: 'bufptr16' undeclared (first use in this function)
    jpg_dec.c:329: error: 'JSAMPROW16' undeclared (first use in this function)


    I had already done in jpeg-6c:
    sudo make install
    but also had to add
    sudo make install-lib


    I don't know why the first install did not also install the libraries.

  • Hi,
    I have the same problem on Solaris 10 (i386), but the fix proposed does not work.
    It seems that the jpeg install and make worked as there were no error displayed, though 2 errors were listed in the log file and the make test did not work.
    I did
    sudo make install-lib
    and I get
    mksh: Fatal error: Cannot load command `./install-sh': Bad file number
    Any idea?
    Thank you,
    gilles

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!