[Bug 146] OpenSSH 3.1p1 will not build on BSD/OS 4.2/4.1/4.01

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Mar 15 05:19:37 EST 2002


------- Additional Comments From mdev at idg.nl  2002-03-15 05:19 -------
On a 4.1 system I had the same errors and an additional one.

The fake-queue, was fixable by:

The additional error is in sftp-int.c.
The build fails on:
gcc -o sftp sftp.o sftp-client.o sftp-common.o sftp-int.o sftp-glob.o -L.
-Lopenbsd-compat/ -L/weblib/local/lib -L/usr/lib -Lyes  -lssh -l
openbsd-compat -lutil -lz  -lcrypto
/usr/lib/libc.a(prandom.o)(.data+0x0): multiple definition of `cmds'
sftp-int.o(.rodata+0x48): first defined here
ld: Warning: size of symbol `cmds' changed from 256 to 40 in prandom.o
make: *** [sftp] Error 1

I renamed cmds to sftp_cmds and all is well. See uploaded patch.

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

More information about the openssh-unix-dev mailing list