SDTS file conversion

Markus Neteler neteler at
Fri Apr 21 05:36:25 EDT 2000

On Thu, Apr 20, 2000 at 09:29:48AM -0700, Skip wrote:
> I'd really like to be able to convert the files within linux. I had hoped 
> to get the DEM data conversion working properly but I can't get the sdts 
> utils to compile. I read the document discussing how to import USGS 7.5min 
> DEM data into GRASS. I downloaded the proper files and followed the procedures 
> for compiling the files. The fips library files compile without a problem; 
> however, when I try to compilie the sdts utilities I get the following 
> error message:
> gcc -o demoutdemout.c -Wl,/usr/local/lib/libfips123.a
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> make: *** [demout] Error 1   
> Is there a trick to getting these utilities to compile? What other options are available in linux  to convert sdts files into a format GRASS can use?

Hi Skip,

GRASS 5 beta 7 is published now. There is a fixed SDTS version
included. So you can either get the new source code or precompiled
Linux binaries (other bins as well).

Please try the new GRASS version. In case of problems, please
contact us again.

Markus Neteler

More information about the grass-user mailing list