Pradeep,<br><br>These kind of errors resolve themselves if you run it after a &quot;make clean&quot; or on a new copy of the source.<br><br><div class="gmail_quote">On Tue, Mar 29, 2011 at 11:40 PM, PradeepKumar Penchala <span dir="ltr">&lt;<a href="mailto:pradeepkumar.penchala@iiitb.net">pradeepkumar.penchala@iiitb.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<div><br></div><div>When I am running make command, I am getting some errors at the end of its execution:</div>
<div><br></div><div><div>make[1]: Entering directory `/home/gise/Desktop/Pradeep/gdal-1.8.0/apps&#39;</div>
<div>/bin/sh /home/gise/Desktop/Pradeep/gdal-1.8.0/libtool --mode=link<span style="white-space: pre-wrap;">        </span>g++  gdalinfo.lo  /home/gise/Desktop/Pradeep/gdal-1.8.0/<a href="http://libgdal.la" target="_blank">libgdal.la</a> -o gdalinfo</div>

<div>libtool: link: g++ .libs/gdalinfo.o -o .libs/gdalinfo  /home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so  -Wl,-rpath -Wl,/external/gdal/lib</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_read_info@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_get_tRNS@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_set_PLTE@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_get_text@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_set_packing@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_write_rows@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_set_error_fn@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_get_image_width@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_get_interlace_type@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_read_rows@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_set_IHDR@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_set_write_fn@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_write_end@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_get_bit_depth@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_create_read_struct@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_read_image@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_get_channels@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_create_write_struct@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_get_color_type@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_write_info@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_get_PLTE@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_destroy_write_struct@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_get_image_height@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_set_compression_level@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_destroy_read_struct@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_error@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `inflateCopy@ZLIB_1.2.0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_set_read_fn@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_set_tRNS@PNG12_0&#39;</div>

<div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_create_info_struct@PNG12_0&#39;</div><div>/home/gise/Desktop/Pradeep/gdal-1.8.0/.libs/libgdal.so: undefined reference to `png_sig_cmp@PNG12_0&#39;</div>

<div>collect2: ld returned 1 exit status</div><div>make[1]: *** [gdalinfo] Error 1</div><div>make[1]: Leaving directory `/home/gise/Desktop/Pradeep/gdal-1.8.0/apps&#39;</div><div>make: *** [apps-target] Error 2</div><div>

<br></div><div>Can you please help me out in resolving this issue. </div><br>-- <br><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><div>Thanks and Regards,<br>Pradeep <br></div><div>
GISE Lab,</div>
<div>IIT Bombay</div><div>9769598197</div></span><br>
</div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>