[GRASSLIST:1808] Re: grass build error: compilation error in r.in.gdal
Kirk R. Wythers
kwythers at umn.edu
Tue Nov 18 19:45:58 EST 2003
On Nov 18, 2003, at 4:30 PM, Glynn Clements wrote:
>
> Kirk R. Wythers wrote:
>
>> here is the whole section concerning gdal:
>>
>> #################################################################
>> /Users/kirkw/tmp/grass-5.0.3/src/raster/r.in.dted/r.in.dted
>> make -f OBJ.powerpc-apple-darwin7.0.0/make.rules
>>
>> make[1]: Nothing to be done for `all'.
>>
>> GISGEN: src/raster/r.in.gdal - Tue Nov 18 13:28:49 CST 2003
>>
>> #################################################################
>> /Users/kirkw/tmp/grass-5.0.3/src/raster/r.in.gdal
>> make -f OBJ.powerpc-apple-darwin7.0.0/make.rules
>>
>> gcc
>> -L/Users/kirkw/tmp/grass-5.0.3/src/libes/LIB.powerpc-apple-darwin7.0.0
>> -L/sw/lib -o
>> /Users/kirkw/tmp/grass-5.0.3/dist.powerpc-apple-darwin7.0.0/etc/bin/
>> cmd/r.in.gdal OBJ.powerpc-apple-darwin7.0.0/main.o
>> OBJ.powerpc-apple-darwin7.0.0/gbgetsymbol.o
>> OBJ.powerpc-apple-darwin7.0.0/gdalbridge.o
>> OBJ.powerpc-apple-darwin7.0.0/make_loc.o
>> /usr/local/lib/gdal.a /usr/local/lib/ogr.a
>> /usr/local/lib/gdal.a /usr/local/lib/cpl.a -lm -ldl -lm -lproj -lgis
>> -lintl -lI -lz
>> ld: table of contents for archive: /usr/local/lib/gdal.a is out of
>> date; rerun ranlib(1) (can't load from it)
>> ld: table of contents for archive: /usr/local/lib/ogr.a is out of
>> date;
>> rerun ranlib(1) (can't load from it)
>> ld: table of contents for archive: /usr/local/lib/gdal.a is out of
>> date; rerun ranlib(1) (can't load from it)
>> ld: table of contents for archive: /usr/local/lib/cpl.a is out of
>> date;
>> rerun ranlib(1) (can't load from it)
>
> This suggests a problem with building the GDAL libraries
This is the output from each ranlib:
>
> Try:
> ranlib /usr/local/lib/gdal.a
barbaloot:~/tmp/grass-5.0.3 kirkw$ sudo ranlib /usr/local/lib/gdal.a
Password:
ranlib: file: /usr/local/lib/gdal.a(pnggccrd.o) has no symbols
ranlib: file: /usr/local/lib/gdal.a(pngvcrd.o) has no symbols
ranlib: file: /usr/local/lib/gdal.a(tif_pixarlog.o) has no symbols
ranlib: file: /usr/local/lib/gdal.a(cpl_vsil_unix_stdio_64.o) has no
symbols
> ranlib /usr/local/lib/ogr.a
barbaloot:~/tmp/grass-5.0.3 kirkw$ sudo ranlib /usr/local/lib/ogr.a
ranlib: file: /usr/local/lib/ogr.a(ogrsurface.o) has no symbols
> ranlib /usr/local/lib/cpl.a
barbaloot:~/tmp/grass-5.0.3 kirkw$ sudo ranlib /usr/local/lib/cpl.a
ranlib: file: /usr/local/lib/cpl.a(cpl_vsil_unix_stdio_64.o) has no
symbols
Same outcome in that gdal did not compile with grass. But, new errors
in the make process:
GISGEN: src/raster/r.in.gdal - Tue Nov 18 18:35:14 CST 2003
#################################################################
/Users/kirkw/tmp/grass-5.0.3/src/raster/r.in.gdal
make -f OBJ.powerpc-apple-darwin7.0.0/make.rules
gcc
-L/Users/kirkw/tmp/grass-5.0.3/src/libes/LIB.powerpc-apple-darwin7.0.0
-L/s\
w/lib -o
/Users/kirkw/tmp/grass-5.0.3/dist.powerpc-apple-darwin7.0.0/etc/bin/cm\
d/r.in.gdal OBJ.powerpc-apple-darwin7.0.0/main.o
OBJ.powerpc-apple-darwin7.0.0/\
gbgetsymbol.o OBJ.powerpc-apple-darwin7.0.0/gdalbridge.o
OBJ.powerpc-apple-darw\
in7.0.0/make_loc.o \
/usr/local/lib/gdal.a /usr/local/lib/ogr.a
/usr/local/lib/gdal.a /usr/l\
ocal/lib/cpl.a -lm -ldl -lm -lproj -lgis -lintl -lI -lz
ld: Undefined symbols:
___gxx_personality_v0
operator delete(void*)
operator new(unsigned long)
vtable for __cxxabiv1::__class_type_info
vtable for __cxxabiv1::__si_class_type_info
___cxa_pure_virtual
operator delete[](void*)
operator new[](unsigned long)
GISGEN failure at STEP: src/raster/r.in.gdal
>
> --
> Glynn Clements <glynn.clements at virgin.net>
>
------------------------------------------------------------------------
Kirk R. Wythers tel: 612.625.2261
Dept. of Forest Resources fax: 612.625.5212
University of Minnesota email: kwythers at umn.edu
------------------------------------------------------------------------
More information about the grass-user
mailing list