Re: 2.5.13: link failure

Trond Myklebust (trond.myklebust@fys.uio.no)
03 May 2002 12:42:43 +0200


>>>>> " " == 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/