[Geotiff] Problem compiling under MinGW/MSYS

Thom DeCarlo t.r.decarlo at larc.nasa.gov
Fri Jan 20 08:32:18 PST 2006


I updated my geotiff source from CVS last night and tried to do a
./configure and make. The make failed, complaining that it could not find
"-lm".

The configure ran successfully with these options:
    ./configure --with-jpeg=/usr/local --with-proj=/usr/local
      --with-libtiff=/usr/local --with-zip=/usr/local
and the config.log says that exp was successfully found in -lm.

The only libm.a that I found in my MinGW/MSYS environment is in /mingw/lib
and is only 485 bytes in size. When I added "-L/mingw/lib" to the Makefile
LIBS variable the make spewed many errors about not finding a variety of
math functions needed by the proj library.

The proj library also needed the math library and compiled successfully. 

Can anyone tell me why libgeotiff fails to link with this library? Is there
something wrong with my MinGW installation?

TIA,
Thom
--
Thom DeCarlo
---------------------------------
  /~\ The ASCII
  \ / Ribbon Campaign
   X  Against HTML
  / \ Email!





More information about the Geotiff mailing list