I was hoping you could help me out with compiling pmwho (downloaded source
from ftp.abc.se:/pub/pmwho/)...
I get:
# gcc -DSOLARIS pmwho-1.6.c -o pmwho
pmwho-1.6.c: In function `main':
pmwho-1.6.c:273: warning: return type of `main' is not `int'
Version of gcc:
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95/specs
gcc version 2.95 19990728 (release)
it still compiles (since I only get a warning message), but I can't connect
to my chassis. I've modified:
#define PMWHO_DEFAULT "yorkr1"
#define PASSWORD "(mypassword)" - the password contains a "." and a
"&", would this matter?
#if defined(SUNOS4) || defined(SOLARIS)
#define TELNET_EXEC "/usr/bin/telnet"
#define TELNET_CLOSE "Connection closed"
#define TELNET_PORT "2011" <- I'm running my TELNET port on this
nonstandard one? does this matter?
#define TELNET_PROMPT "telnet> "
when I run pmwho I get:
# ./pmwho
pmwho: timeout on connection to host 'yorkr1'
from the command line I can type: /usr/bin/telnet yorkr1 2011 and get
connected without a problem...
any ideas?
P.S. I'm running USR HiPER ARC and Netserv chassis's
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.