status of openssh for solaris?
Willard Dawson
willard.dawson at sbs.siemens.com
Tue Nov 23 04:34:30 EST 1999
Thanks Niels. From hereon, I'll just send my comments to the mailing
list.
On Mon, Nov 22, 1999 at 11:35:40AM -0500, Niels Provos wrote:
> In message <19991122112513.A24003 at wdawson-sun.sbs.siemens.com>, Willard Dawson
> writes:
> >Should I forward this to you, or go the mailing list?
> For compiling problems, the mailing list is probably the best place.
> I cc'ed it again ;)
>
> Niels.
>
> >I proceeded further, after modifying _PATH_DEVNULL with the actual
> >path string for "/dev/null", to find similar errors due to _PATH_UTMP
> >and _PATH_WTMP in bsd-login.c. So, after using "/var/adm/utmp" and
> >"/var/adm/wtmp", respectively, I did proceed further.
It seems that some real effort to make a Solaris-clean version minus any
remnant of paths.h is still needed.
> >I see some additional potential problems:
... which I'm willing to ignore for a moment...
> >gcc -o ssh -lpam -ldl -lsocket -lnsl -lz -lcrypto -L/usr/local/ssl/lib -lss
> >l -lcrypto
> >Undefined first referenced
> > symbol in file
> >main /usr/local/lib/gcc-lib/sparc-sun-solaris2.
> >7/2.95/crt1.o
> >ld: fatal: Symbol referencing errors. No output written to ssh
> >collect2: ld returned 1 exit status
> >*** Error code 1
> >make: Fatal error: Command failed for target `ssh'
Ok, so it's been a while since I did real work. Trying gmake, instead,
gets me further along:
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DASKPASS_PROGRAM=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c ssh-add.c -o ssh-add.o
ssh-add.c: In function `main':
ssh-add.c:187: conflicting types for `__progname'
ssh-add.c:32: previous declaration of `__progname'
gmake: *** [ssh-add.o] Error 1
That one's easy enough to work around by simply copying the same ifdef's
into the next declaration. Similar problem in ssh-keygen.c.
After all that, I finally got it to compile. *whew*
Now, to see if it runs...
--
Willard Francis Otto Dawson +1 770 814 5099 / +1 770 814 5202 FAX
Siemens Business Services, ENS mailto:willard.dawson at sbs.siemens.com
4570 River Green Pkwy, Ste 140 http://www.sbs.siemens.com/
Duluth, GA 30096-2564 Standard disclaimer applies.
More information about the openssh-unix-dev
mailing list