[Gdal-dev] problem compiling png in daily build

Frank Warmerdam warmerdam at pobox.com
Wed Sep 12 15:54:19 EDT 2007


Sophia Parafina wrote:
> I tried to get around the problem by adding -DPNG_NO_ASSEMBER_CODE to 
> the CPPFLAGS in the png make file, but I get this error:

Sophia,

Perhaps you didn't do a clean build after that change?  That change
seems to work for me.  Based on research by Even I have modified
pngconf.h to disable assembly code on non-i386 systems so hopefully
the next nightly snapshot will not have this issue.

> /home/sparafina/gdal-scripts/unix/build/gdal-svn-trunk-2007.09.12/libgdal.so: 
> undefined reference to `DGN2IEEEDouble(void*)'
> /home/sparafina/gdal-scripts/unix/build/gdal-svn-trunk-2007.09.12/libgdal.so: 
> undefined reference to `AVCBinReadClose'
> /home/sparafina/gdal-scripts/unix/build/gdal-svn-trunk-2007.09.12/libgdal.so: 
> undefined reference to `AVCBinReadOpen'
> /home/sparafina/gdal-scripts/unix/build/gdal-svn-trunk-2007.09.12/libgdal.so: 
> undefined reference to `AVCBinReadNextTableRec'
> /home/sparafina/gdal-scripts/unix/build/gdal-svn-trunk-2007.09.12/libgdal.so: 

The above are related to --without-ogr I believe.  This configuration
option seems to be broken just now, but there is a ticket filed on the issue.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list