bugzilla-daemon at mindrot.org
2003-Oct-08 14:34 UTC
[Bug 735] ssh-keygen, SunOS 4.1.4, Undefined symbol _strtoul
http://bugzilla.mindrot.org/show_bug.cgi?id=735
Summary: ssh-keygen, SunOS 4.1.4, Undefined symbol _strtoul
Product: Portable OpenSSH
Version: -current
Platform: Sparc
OS/Version: SunOS
Status: NEW
Severity: major
Priority: P2
Component: ssh-keygen
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: Howard.J.Bampton at Motorola.com
gcc -o ssh-keygen ssh-keygen.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -L/us
r/lib -lssh -lopenbsd-compat -lz -lcrypto
collect2: ld returned 2 exit status
ld: Undefined symbol
_strtoul
*** Error code 1
make: Fatal error: Command failed for target `ssh-keygen'
strtoul is in libc on Solaris, but not SunOS 4.
Workaround:
Put strtoul.c (from OpenBSD or some other source) the openssh compile
directory, and then:
gcc -o ssh-keygen ssh-keygen.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -L/us
r/lib -lssh -lopenbsd-compat -lz -lcrypto strtoul.o
[Resume normal make/make install sequence here.]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Oct-08 14:41 UTC
[Bug 735] ssh-keygen, SunOS 4.1.4, Undefined symbol _strtoul
http://bugzilla.mindrot.org/show_bug.cgi?id=735 ------- Additional Comments From Howard.J.Bampton at Motorola.com 2003-10-09 00:41 ------- ssh configuration : ./configure --with-mantype=man --with-ssl-dir=/usr/local/ssl --w ith-zlib=/usr/ lib --with-privsep-user=sshd --with-default-path=/usr/local/bin:/usr/bin:/site/ scripts --with-superuser-path=/usr/local/bin:/usr/bin:/usr/sbin:/usr/local/sbin ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Oct-08 15:02 UTC
[Bug 735] ssh-keygen, SunOS 4.1.4, Undefined symbol _strtoul
http://bugzilla.mindrot.org/show_bug.cgi?id=735
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From dtucker at zip.com.au 2003-10-09 01:01 -------
This has already been fixed. You could have also used the patch in bug #670 or
a recent snapshot.
*** This bug has been marked as a duplicate of 670 ***
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Seemingly Similar Threads
- [Bug 670] SunOS 4.1.2 libs do not contain strtoul, used in moduli.c
- [Bug 187] New: ssh-keygen not converting from and to SECSH standard correctly
- OpenSSH portability & buildsystem fixes
- Using -lssh as shared library
- [Bug 198] New: Error getting file with sftp on old F-Secure servers