On SunOS4 systems, linking the f771 program produces
an error message concerning an undefined symbol named
`_strtoul'.
This is not a g77 bug.
See section Patching GNU Fortran, for information on
a workaround provided by g77.
The proper fix is either to upgrade your system to one that
provides a complete ANSI C environment, or improve gcc so
that it provides one for all the languages and configurations it supports.
Note: In earlier versions of g77, an automated
workaround for this problem was attempted.
It worked for systems without `_strtoul', substituting
the incomplete-yet-sufficient version supplied with g77
for those systems.
However, the automated workaround failed mysteriously for systems
that appeared to have conforming ANSI C environments, and it
was decided that, lacking resources to more fully investigate
the problem, it was better to not punish users of those systems
either by requiring them to work around the problem by hand or
by always substituting an incomplete strtoul() implementation
when their systems had a complete, working one.
Unfortunately, this meant inconveniencing users of systems not
having strtoul(), but they're using obsolete (and generally
unsupported) systems anyway.
Go to the first, previous, next, last section, table of contents.