warnings on aix325
Francesco Munaretto
francesco.munaretto at altavista.net
Thu Feb 1 22:50:57 EST 2001
Hi,
I'm trying to compile openssh2.3.0p1 on aix3.2.5.
Can I ignore this list of warning messages?
bsd-bindresvport.c: In function `bindresvport_af':
bsd-bindresvport.c:94: warning: implicit declaration of function `bind'
bsd-rresvport.c: In function `rresvport_af':
bsd-rresvport.c:64: warning: implicit declaration of function `bzero'
bsd-rresvport.c:82: warning: implicit declaration of function `socket'
bsd-rresvport.c:88: warning: implicit declaration of function `bind'
bsd-setenv.c: In function `setenv':
bsd-setenv.c:125: warning: implicit declaration of function `bcopy'
bsd-setproctitle.c:62: warning: `__progname' defined but not used
authfd.c: In function `ssh_get_authentication_socket':
authfd.c:84: warning: implicit declaration of function `socket'
authfd.c:93: warning: implicit declaration of function `connect'
authfile.c: In function `load_private_key':
authfile.c:494: warning: unsigned int format, long unsigned int arg (arg 2)
canohost.c: In function `get_remote_hostname':
canohost.c:39: warning: implicit declaration of function `getpeername'
canohost.c:150: warning: implicit declaration of function `getsockopt'
canohost.c: In function `get_sock_port':
canohost.c:247: warning: implicit declaration of function `getsockname'
channels.c: In function `channel_free':
channels.c:318: warning: implicit declaration of function `shutdown'
channels.c: In function `channel_post_x11_listener':
channels.c:543: warning: implicit declaration of function `accept'
channels.c: In function `channel_request_local_forwarding':
channels.c:1484: warning: implicit declaration of function `socket'
channels.c:1494: warning: implicit declaration of function `setsockopt'
channels.c:1501: warning: implicit declaration of function `bind'
channels.c:1512: warning: implicit declaration of function `listen'
channels.c: In function `channel_connect_to':
channels.c:1642: warning: implicit declaration of function `connect'
channels.c: In function `x11_create_display_inet':
channels.c:1819: warning: implicit declaration of function `gethostname'
cipher.c: In function `cipher_by_name':
cipher.c:450: warning: implicit declaration of function `strcasecmp'
log.c: In function `log_facility_number':
log.c:224: warning: implicit declaration of function `strcasecmp'
nchan.c: In function `chan_shutdown_write':
nchan.c:464: warning: implicit declaration of function `shutdown'
packet.c: In function `packet_connection_is_on_socket':
packet.c:196: warning: implicit declaration of function `getpeername'
packet.c: In function `packet_connection_is_ipv4':
packet.c:218: warning: implicit declaration of function `getsockname'
packet.c: In function `packet_close':
packet.c:265: warning: implicit declaration of function `shutdown'
packet.c: In function `packet_read':
packet.c:691: warning: implicit declaration of function `bzero'
packet.c: In function `packet_set_interactive':
packet.c:1240: warning: implicit declaration of function `setsockopt'
entropy.c: In function `stir_gettimeofday':
entropy.c:302: warning: implicit declaration of function `gettimeofday'
entropy.c: In function `stir_rusage':
entropy.c:331: warning: implicit declaration of function `getrusage'
entropy.c: In function `hash_output_from_command':
entropy.c:426: warning: implicit declaration of function `bzero'
entropy.c: In function `prng_check_seedfile':
entropy.c:532: warning: int format, long int arg (arg 3)
entropy.c: In function `prng_write_seedfile':
entropy.c:557: warning: int format, long int arg (arg 2)
entropy.c: In function `prng_read_seedfile':
entropy.c:596: warning: int format, long int arg (arg 2)
uidswap.c: In function `temporarily_use_uid':
uidswap.c:54: warning: implicit declaration of function `seteuid'
ssh.c: In function `main':
ssh.c:252: warning: implicit declaration of function `setrlimit'
ssh.c: In function `ssh_session':
ssh.c:802: warning: implicit declaration of function `ioctl'
sshconnect.c: In function `ssh_create_socket':
sshconnect.c:169: warning: implicit declaration of function `socket'
sshconnect.c: In function `ssh_connect':
sshconnect.c:265: warning: implicit declaration of function `connect'
sshconnect.c:279: warning: implicit declaration of function `shutdown'
sshconnect.c:305: warning: implicit declaration of function `setsockopt'
sshconnect.c: In function `ssh_login':
sshconnect.c:683: warning: unsigned int format, uid_t arg (arg 2)
readconf.c: In function `parse_token':
readconf.c:220: warning: implicit declaration of function `strcasecmp'
clientloop.c: In function `get_current_time':
clientloop.c:232: warning: implicit declaration of function `gettimeofday'
clientloop.c: In function `client_check_window_change':
clientloop.c:337: warning: implicit declaration of function `ioctl'
clientloop.c: In function `client_wait_until_can_do_something':
clientloop.c:368: warning: implicit declaration of function `bzero'
sshd.c: In function `main':
sshd.c:702: warning: implicit declaration of function `ioctl'
sshd.c:758: warning: implicit declaration of function `socket'
sshd.c:775: warning: implicit declaration of function `setsockopt'
sshd.c:785: warning: implicit declaration of function `bind'
sshd.c:797: warning: implicit declaration of function `listen'
sshd.c:897: warning: implicit declaration of function `accept'
auth-rhosts.c: In function `check_rhosts_file':
auth-rhosts.c:110: warning: implicit declaration of function `innetgr'
auth-rhosts.c:113: warning: implicit declaration of function `strcasecmp'
pty.c: In function `pty_make_controlling_tty':
pty.c:222: warning: implicit declaration of function `ioctl'
pty.c: In function `pty_setowner':
pty.c:312: warning: int format, long int arg (arg 3)
pty.c:312: warning: int format, long int arg (arg 4)
pty.c:315: warning: unsigned int format, mode_t arg (arg 3)
log-server.c: In function `do_log':
log-server.c:174: warning: implicit declaration of function `openlog'
log-server.c:175: warning: implicit declaration of function `syslog'
log-server.c:176: warning: implicit declaration of function `closelog'
loginrec.c: In function `login_set_current_time':
loginrec.c:376: warning: implicit declaration of function `gettimeofday'
loginrec.c:721: warning: implicit declaration of function `setutent'
loginrec.c:722: warning: implicit declaration of function `pututline'
servconf.c: In function `parse_token':
servconf.c:272: warning: implicit declaration of function `strcasecmp'
serverloop.c: In function `wait_until_can_do_something':
serverloop.c:197: warning: implicit declaration of function `bzero'
serverloop.c: In function `process_output':
serverloop.c:350: warning: implicit declaration of function `shutdown'
In file included from session.c:60:
/usr/include/usersec.h:88: warning: `struct userpw' declared inside parameter list
/usr/include/usersec.h:88: warning: its scope is only this definition or declaration,
/usr/include/usersec.h:88: warning: which is probably not what you want.
session.c: In function `do_exec_no_pty':
session.c:474: warning: implicit declaration of function `socketpair'
session.c:493: warning: passing arg 1 of `log_init' discards `const' from pointer target type
session.c: In function `do_exec_pty':
session.c:606: warning: passing arg 1 of `log_init' discards `const' from pointer target type
session.c: In function `do_login':
session.c:707: warning: implicit declaration of function `getpeername'
session.c: In function `set_limit':
session.c:925: warning: implicit declaration of function `getrlimit'
session.c:967: warning: implicit declaration of function `setrlimit'
session.c: In function `do_child':
session.c:1084: warning: implicit declaration of function `initgroups'
session.c:1277: warning: implicit declaration of function `endpwent'
ssh-keygen.c: In function `main':
ssh-keygen.c:616: warning: implicit declaration of function `gethostname'
ssh-agent.c: In function `process_message':
ssh-agent.c:464: warning: implicit declaration of function `shutdown'
ssh-agent.c: In function `after_select':
ssh-agent.c:585: warning: implicit declaration of function `accept'
ssh-agent.c: In function `main':
ssh-agent.c:753: warning: implicit declaration of function `socket'
ssh-agent.c:761: warning: implicit declaration of function `bind'
ssh-agent.c:765: warning: implicit declaration of function `listen'
ssh-agent.c:822: warning: implicit declaration of function `bzero'
scp.c: In function `sink':
scp.c:808: warning: implicit declaration of function `utimes'
scp.c: In function `alarmtimer':
scp.c:1103: warning: implicit declaration of function `setitimer'
scp.c: In function `foregroundproc':
scp.c:1132: warning: implicit declaration of function `ioctl'
scp.c: In function `progressmeter':
scp.c:1150: warning: implicit declaration of function `gettimeofday'
sftp-server.c: In function `process_setstat':
sftp-server.c:706: warning: implicit declaration of function `utimes'
sftp-server.c: In function `main':
sftp-server.c:1033: warning: implicit declaration of function `bzero'
Thanks for any help.
francesco
More information about the openssh-unix-dev
mailing list