status of openssh for solaris?

Niels Provos provos at citi.umich.edu
Tue Nov 23 03:35:40 EST 1999


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.
>
>I see some additional potential problems:
>
>gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PR
>OGRAM=\"/usr/local/bin/ssh\" -DASKPASS_PROGRAM=\"/usr/local/libexec/ssh/ssh-as
>kpass\" -DHAVE_CONFIG_H  -c  canohost.c
>canohost.c: In function `get_remote_hostname':
>canohost.c:60: warning: subscript has type `char'
>
>gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PR
>OGRAM=\"/usr/local/bin/ssh\" -DASKPASS_PROGRAM=\"/usr/local/libexec/ssh/ssh-as
>kpass\" -DHAVE_CONFIG_H  -c  channels.c
>channels.c: In function `x11_create_display_inet':
>channels.c:1087: warning: `sock' might be used uninitialized in this function
>
>gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PR
>OGRAM=\"/usr/local/bin/ssh\" -DASKPASS_PROGRAM=\"/usr/local/libexec/ssh/ssh-as
>kpass\" -DHAVE_CONFIG_H  -c  hostfile.c
>hostfile.c: In function `match_hostname':
>hostfile.c:136: warning: subscript has type `char'
>
>gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PR
>OGRAM=\"/usr/local/bin/ssh\" -DASKPASS_PROGRAM=\"/usr/local/libexec/ssh/ssh-as
>kpass\" -DHAVE_CONFIG_H  -c  login.c
>login.c: In function `record_login':
>login.c:92: warning: implicit declaration of function `login'
>
>gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PR
>OGRAM=\"/usr/local/bin/ssh\" -DASKPASS_PROGRAM=\"/usr/local/libexec/ssh/ssh-as
>kpass\" -DHAVE_CONFIG_H  -c  sshconnect.c
>sshconnect.c: In function `ssh_login':
>sshconnect.c:1047: warning: subscript has type `char'
>
>gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PR
>OGRAM=\"/usr/local/bin/ssh\" -DASKPASS_PROGRAM=\"/usr/local/libexec/ssh/ssh-as
>kpass\" -DHAVE_CONFIG_H  -c  bsd-mktemp.c
>bsd-mktemp.c: In function `_gettemp':
>bsd-mktemp.c:173: warning: subscript has type `char'
>
>gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PR
>OGRAM=\"/usr/local/bin/ssh\" -DASKPASS_PROGRAM=\"/usr/local/libexec/ssh/ssh-as
>kpass\" -DHAVE_CONFIG_H  -c  bsd-login.c
>bsd-login.c: In function `login':
>bsd-login.c:55: warning: unused variable `old_ut'
>
>
>Finally, at the very end, it does not compile:
>
>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'





More information about the openssh-unix-dev mailing list