[gdal-dev] Makefile bug
Frank Warmerdam
warmerdam at p...
Thu Jan 31 12:09:32 EST 2002
ldjohn at u... wrote:
> Hello Frank,
>
> One of our team members had a problem with a fresh build of GDAL. Here is
> the error:
>
> ld32: WARNING 84 : ../ogrsf_frmts.a is not used for resolving any symbol.
> ld32: FATAL 9 : I/O error (../../ogr.a): No such file or directory
> make[3]: *** [gmlview] Error 2
> make[3]: Leaving directory
> `/sg1/csb/tbeckman/las/newio/gdal/ogr/ogrsf_frmts/gml'
> make[2]: *** [default] Error 2
> make[2]: Leaving directory
> `/sg1/csb/tbeckman/las/newio/gdal/ogr/ogrsf_frmts'
> make[1]: *** [sublibs] Error 2
> make[1]: Leaving directory `/sg1/csb/tbeckman/las/newio/gdal/ogr'
> make: *** [ogr-target] Error 2
>
> Looking at the gdal/ogr/GNUmakefile, it appears that the ogrsf_frmts
> directory is built before ogr.a, but stuff in the newly-added gml
> directory wants to link with ../../ogr.a.
>
> So here is the proposed patch:
>
> gdal/ogr/GNUmakefile
> 66c66
> < $(FRMTS_LIB):
> ---
>
>>$(FRMTS_LIB): $(OGR_LIB)
>>
>
> It seems to work for us.
Lowell,
Instead I have removed the "gmlview" executable from the default targets
in the gml directory.
> By the way, my work on the GDAL interface is coming to a close, so that
> work will be passed to a teammate from whom you will probably be hearing
> in the near future.
Sounds good!
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at p...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list