Re: 2.5.13: link failure

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Fri May 03 2002 - 05:42:43 EST


>>>>> " " == Russell King <rmk@arm.linux.org.uk> writes:

> 2.5.13 with root nfs enabled doesn't link:
> fs/fs.o: In function `root_nfs_getport':
> fs/fs.o(.text.init+0x187c): undefined reference to `in_ntoa'

> I haven't looked into this one yet.

Nothing serious. Whoever it was that did that global replace missed a
spot is all...

Cheers,
  Trond

--- linux-2.5.13/fs/nfs/nfsroot.c.orig Fri May 3 02:22:55 2002
+++ linux-2.5.13/fs/nfs/nfsroot.c Fri May 3 12:39:18 2002
@@ -374,8 +374,8 @@
 {
         struct sockaddr_in sin;
 
- printk(KERN_NOTICE "Looking up port of RPC %d/%d on %s\n",
- program, version, in_ntoa(servaddr));
+ printk(KERN_NOTICE "Looking up port of RPC %d/%d on %u.%u.%u.%u\n",
+ program, version, NIPQUAD(servaddr));
         set_sockaddr(&sin, servaddr, 0);
         return rpc_getport_external(&sin, program, version, proto);
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:19 EST