[Bug 670] SunOS 4.1.2 libs do not contain strtoul, used in moduli.c

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Sep 18 07:34:07 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=670

           Summary: SunOS 4.1.2 libs do not contain strtoul, used in
                    moduli.c
           Product: Portable OpenSSH
           Version: 3.7p1
          Platform: Sparc
        OS/Version: SunOS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build system
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: nforrester at whoi.edu


Make fails on SunOS 4.1.2 system when linking ssh-keygen for lack of "strtoul"
in library.  Using gcc with Sun provided libraries (libc?) rather than gnu
libraries.  strtoul is used in moduli.c, which is a new file in openssh 3.7p1
vs. 3.5p1, which previously compiled fine.

I am unsure whether the right approach is a change in the configure process to
detect this and provide an alternate strtoul, or whether the use of strtoul
could be avoided through use of strtol in this case.  

Of course the other solution is to declare a lack of support for old OSs, but
those legacy applications just live on...

I have not the knowledge required to propose a fix, but I am willing to test.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list