Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C programs in Arc/Info route system STEVE

Status
Not open for further replies.

MajorGeek

Technical User
Nov 19, 2001
2
US

I downloaded STEVE, the route editing aml system from the USFS Region 6 written primarily by David Hatfield, because I was
interested in the part of the system that built linear events along streams from event end points by finding the path between the end
points. The Arc/Info system has amls that call some C programs that ran on IBM UNIX hosts for the Forest Service. The
executables wouldn't run on our Solaris host. Twelve of the thirteen C programs ran after I compiled them with gcc on our host. But
one called routent.c fails. One of the error messages indicated that a variable DBL_MAX was undeclared. I put in a big number for
DBL_MAX and eliminated that error message but I still
get a message that indicated that something is wrong or incompatible with our standard library:

gcc -lm -o routent routent.c dfindvl.c readval.c writval.c readbtb.c writbtb.c readbtv.c writbtv.c
In file included from routent.c:11:
/usr/include/stdlib.h:154: parse error before `int'

But I get the same error when trying to compile on other Solaris 2.7 installations of gcc. I thought about making a bootstrap install of
gcc here, but it looks like I'm not smart enough to do that either. Lots of errors complaining about ISA. I don't even know any C experts to call on. Am I "so ready for
IBM"?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top