* Re: [PATCH] 2.4.19-pre8 fs/nfs/nfsroot.c - in_ntoa
2002-05-30 12:04 [PATCH] 2.4.19-pre8 fs/nfs/nfsroot.c - in_ntoa Peter Wächtler
@ 2002-05-30 11:52 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2002-05-30 11:52 UTC (permalink / raw)
To: pwaechtler; +Cc: linux-kernel
From: Peter Wächtler <pwaechtler@loewe-komp.de>
Date: Thu, 30 May 2002 14:04:18 +0200
Somehow a call to in_ntoa went into the kernel.
With that you can't linke the kernel, when CONFIG_ROOT_NFS=y
is on.
fs/fs.o: In function `root_nfs_getport':
fs/fs.o(.text.init+0x10e1): undefined reference to `in_ntoa'
make: *** [vmlinux] Fehler 1
No, in fact in_ntoa always had existed, except that I finally
killed it. You're supposed to replace it with NIPQUAD not
the endian-unfriendly %x.
I've sent Marcelo fixes for this if someone else hasn't beaten
me to it already.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] 2.4.19-pre8 fs/nfs/nfsroot.c - in_ntoa
@ 2002-05-30 12:04 Peter Wächtler
2002-05-30 11:52 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Peter Wächtler @ 2002-05-30 12:04 UTC (permalink / raw)
To: linux-kernel
Somehow a call to in_ntoa went into the kernel.
With that you can't linke the kernel, when CONFIG_ROOT_NFS=y
is on.
fs/fs.o: In function `root_nfs_getport':
fs/fs.o(.text.init+0x10e1): undefined reference to `in_ntoa'
make: *** [vmlinux] Fehler 1
--- fs/nfs/nfsroot.c.orig Thu May 30 13:58:30 2002
+++ fs/nfs/nfsroot.c Thu May 30 13:59:01 2002
@@ -343,8 +343,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 0x%X\n",
+ program, version, servaddr);
set_sockaddr(&sin, servaddr, 0);
return rpc_getport_external(&sin, program, version, proto);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-30 12:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-30 12:04 [PATCH] 2.4.19-pre8 fs/nfs/nfsroot.c - in_ntoa Peter Wächtler
2002-05-30 11:52 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox