[Gdal-dev] Error compiling gdal 1.2.3 with mingw

Nicol Hermann gdal at geoworld.de
Fri Oct 1 14:18:33 EDT 2004


Hi List,

i'am trying to compile gdal 1.2.3 with mingw 3.3.1 on my Debian box
During the make process i got the following error:

i586-mingw32msvc-gcc -c -I../../../port -Wall -O2 -DZIP_SUPPORT
-DPIXARLOG_SUPPORT -I../../zlib -DJPEG_SUPPORT -I../../jpeg/libjpeg
tif_jpeg.c  -DDLL_EXPORT -DPIC -o ../../o/.libs/tif_jpeg.o
In file included from ../../jpeg/libjpeg/jpeglib.h:24,
                 from tif_jpeg.c:76:
../../jpeg/libjpeg/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from tif_config.h:2,
                 from tiffiop.h:33,
                 from tif_jpeg.c:27:
../../../port/cpl_config.h:66:1: warning: this is the location of the
previous definition
In file included from tif_jpeg.c:76:
../../jpeg/libjpeg/jpeglib.h:94: error: parse error before "boolean"
../../jpeg/libjpeg/jpeglib.h:94: warning: no semicolon at end of struct
or union
../../jpeg/libjpeg/jpeglib.h:95: warning: type defaults to `int' in
declaration of `JQUANT_TBL'
../../jpeg/libjpeg/jpeglib.h:95: warning: data definition has no type or
storage class
../../jpeg/libjpeg/jpeglib.h:110: error: parse error before "boolean"
../../jpeg/libjpeg/jpeglib.h:110: warning: no semicolon at end of struct
or union
../../jpeg/libjpeg/jpeglib.h:111: warning: type defaults to `int' in
declaration of `JHUFF_TBL'
../../jpeg/libjpeg/jpeglib.h:111: warning: data definition has no type
or storage class
../../jpeg/libjpeg/jpeglib.h:160: error: parse error before "boolean"

... more errors ...

Any hints how to fix this are appreciate
Thanks Nicol
-- 
          \\://
          (o -)      Dipl.-Geogr. Nicol Hermann
-------ooO-(_)-Ooo-----------------------------------------------
                     Chattenstraße 67  
  .oooO              55130 Mainz 
  (   )   Oooo.      Tel. 06131/6007550  
---\ (----(   )---------------------------------------------------
    \_)    ) /       http://www.nicol.info
          (_/        E-Mail: nicol at nicol.info


WWW-Tip!
--------
Geographisches Informationssystem
http://www.geoworld.de/




More information about the Gdal-dev mailing list