diff -Naur inetutils-1.5.orig/rshd/rshd.c inetutils-1.5/rshd/rshd.c
--- inetutils-1.5.orig/rshd/rshd.c	2008-07-03 09:59:11.000000000 -0400
+++ inetutils-1.5/rshd/rshd.c	2008-07-03 10:00:34.000000000 -0400
@@ -287,7 +287,9 @@
 void
 doit (int sockfd, struct sockaddr_in *fromp)
 {
+#ifndef __UCLIBC__
   extern char *__rcmd_errstr;	/* syslog hook from libc/net/rcmd.c. */
+#endif
   struct hostent *hp;
   struct passwd *pwd;
   u_short port;
@@ -748,11 +750,13 @@
 	&& (iruserok (fromp->sin_addr.s_addr, pwd->pw_uid == 0,
 		      remuser, locuser)) < 0)
       {
+#ifndef __UCLIBC__
 	if (__rcmd_errstr)
 	  syslog (LOG_INFO|LOG_AUTH,
 		  "%s@%s as %s: permission denied (%s). cmd='%.80s'",
 		  remuser, hostname, locuser, __rcmd_errstr, cmdbuf);
 	else
+#endif
 	  syslog (LOG_INFO|LOG_AUTH,
 		  "%s@%s as %s: permission denied. cmd='%.80s'",
 		  remuser, hostname, locuser, cmdbuf);
