Bug 406 - Build openssh-3.4p1 fails, Mac OS X v1.2
Summary: Build openssh-3.4p1 fails, Mac OS X v1.2
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: PPC Mac OS X
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-02 11:24 AEST by Sally Shears
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
s/msg_send/ssh_msg_send/ (3.52 KB, patch)
2002-10-03 12:49 AEST, Damien Miller
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sally Shears 2002-10-02 11:24:59 AEST
Attempt to build openssh-3.4p1 on Mac OS X Server v1.2 (that's right, v1.2 circa 2000, also known as Rhapsody).

make fails with this error:

cc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o
readconf.o clientloop.o -L.
-Lopenbsd-compat/ -L/usr/local/ssl/lib  -lssh -lopenbsd-compat -lz
-lcrypto
/usr/bin/ld: multiple definitions of symbol _msg_send
./libssh.a(msg.o) definition of _msg_send in section (__TEXT,__text)
/System/Library/Frameworks/System.framework/System(msg.o) definition of
_msg_send
make: *** [ssh] Error 1

3.3p1 fails in the same manner.

  -- Sally
Comment 1 Ben Lindstrom 2002-10-02 13:14:38 AEST
We are in release mode.  Please check out a snapshot at: 
http://www.openssh.com/portable.html
Comment 2 Markus Friedl 2002-10-02 23:19:09 AEST
i think we need to
	s/msg_send/ssh_msg_send/g
	s/msg_recv/ssh_msg_recv/g

(i forgot about this..)
Comment 3 Damien Miller 2002-10-03 12:49:51 AEST
Created attachment 153 [details]
s/msg_send/ssh_msg_send/
Comment 4 Damien Miller 2002-10-03 12:54:11 AEST
Attached patch does what Markus suggests.
Comment 5 Sally Shears 2002-10-05 03:47:28 AEST
FWIW, after

  s/msg_send/ssh_msg_send/g

openssh-3.4p1 builds just fine in Rhapsody. Thanks again to all for openssh!
Comment 6 Darren Tucker 2002-11-10 09:49:47 AEDT
20021003
[snip]
 - (djm) Bug #406: s/msg_send/ssh_msg_send/ for Mac OS X 1.2
Comment 7 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED