| Summary: | SunOS 4.1.2 libs do not contain strtoul, used in moduli.c | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Ned Forrester <nforrester> | ||||
| Component: | Build system | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | Howard.J.Bampton | ||||
| Priority: | P2 | Keywords: | patch | ||||
| Version: | 3.7p1 | ||||||
| Hardware: | SPARC | ||||||
| OS: | SunOS | ||||||
| Attachments: |
|
||||||
|
Description
Ned Forrester
2003-09-18 07:34:04 AEST
Oops forgot to say that I configured with the following command: ./configure --prefix=/usr/local --sysconfdir=/etc/ssh --with-tcp-wrappers --without-shadow --with-prngd-socket=/var/run/egd-pool then: make I don't think strtol is an acceptable substitute. It should be relatively easy to use OpenBSD's strtoul in openbsd-compat: http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/strtoul.c Created attachment 420 [details] Add strtoul in openbsd-compat/ Please try the attached patch. Note that you will need to run "autoconf" to rebuild configure. If you don't have autoconf, you can use this file: http://www.zip.com.au/~dtucker/openssh/configure-strtoul.gz , just replace the configure from 3.7.1p1 with it. The patch seems to fix the problem nicely. Thanks. As I do not have autoconf on that machine, I did use your alternate configure. patch <patchfile configure-strtoul [options] make make install all worked fine, and ssh and sshd seem to run fine. Thanks again. Anyone object to patch id 420 going into -current? ok by me Applied to -current, thanks. *** Bug 735 has been marked as a duplicate of this bug. *** Mass change of RESOLVED bugs to CLOSED |