bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure: WARNING: jasper/jasper.h: present but cannot be compiled


From: Bodo Thiesen
Subject: configure: WARNING: jasper/jasper.h: present but cannot be compiled
Date: Fri, 22 Aug 2003 04:41:29 +0200

Hello.

[ImageMagick-5.5.7]
checking jasper/jasper.h usability... no
checking jasper/jasper.h presence... yes
configure: WARNING: jasper/jasper.h: present but cannot be compiled
configure: WARNING: jasper/jasper.h: check for missing prerequisite headers?
configure: WARNING: jasper/jasper.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for jasper/jasper.h... yes
checking for jas_stream_fopen in -ljasper... yes

Adding this before #include <jasper/jasper.h> solves the problem:

typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef long long longlong;
typedef unsigned long long ulonglong;

Some version information:

$ grep "[^ (]JAS_VERSION\>\|\"Copyright\|\"  B" 
/usr/local/include/jasper/jas_version.h
#define JAS_VERSION             "1.500.0"
        "Copyright (c) 1999-2000 Image Power, Inc. and the University of\n" \
        "  British Columbia.\n" \
        "Copyright (c) 2001 Michael David Adams.\n" \
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Configured with: ../gcc-3.2.1/configure 
--enable-shared=libgcc,libstdc++,libffi,zlib,boehm-gc,libjava --with-gnu-as 
--with-gnu-ld --enable-threads --enable-languages=ada,c++,f77,java,objc,pascal
Thread model: posix
gcc version 3.2.1

If you need further informations, feel free to mail me.

Regards, Bodo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]