* Re: undefined reference to `in_ntoa'
2002-05-04 1:56 undefined reference to `in_ntoa' J.A. Magallon
@ 2002-05-04 1:48 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2002-05-04 1:48 UTC (permalink / raw)
To: jamagallon; +Cc: linux-kernel, trond.myklebust
From: "J.A. Magallon" <jamagallon@able.es>
Date: Sat, 4 May 2002 03:56:55 +0200
It is only used in fs/nfs/nfsroot.c, and never defined (grep -r just shows that).
I've sent Marcelo the following fix for this already.
Sorry about that.
--- fs/nfs/nfsroot.c.~2~ Fri May 3 13:56:10 2002
+++ fs/nfs/nfsroot.c Fri May 3 13:56:30 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 %u.%u.%u.%u\n",
+ program, version, NIPQUAD(servaddr));
set_sockaddr(&sin, servaddr, 0);
return rpc_getport_external(&sin, program, version, proto);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* undefined reference to `in_ntoa'
@ 2002-05-04 1:56 J.A. Magallon
2002-05-04 1:48 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: J.A. Magallon @ 2002-05-04 1:56 UTC (permalink / raw)
To: Lista Linux-Kernel; +Cc: trond.myklebust
Hi.
Building 2.4.19-pre8:
ld -m elf_i386 -T /usr/src/linux-2.4.19-pre8-jam1/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/sensors/sensor.o \
net/network.o \
/usr/src/linux-2.4.19-pre8-jam1/arch/i386/lib/lib.a /usr/src/linux-2.4.19-pre8-jam1/lib/lib.a /usr/src/linux-2.4.19-pre8-jam1/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
fs/fs.o: In function `root_nfs_getport':
fs/fs.o(.text.init+0x156c): undefined reference to `in_ntoa'
make: *** [vmlinux] Error 1
It is only used in fs/nfs/nfsroot.c, and never defined (grep -r just shows that).
TIA.
--
J.A. Magallon # Let the source be with you...
mailto:jamagallon@able.es
Mandrake Linux release 8.3 (Cooker) for i586
Linux werewolf 2.4.19-pre7-jam9 #2 SMP mié may 1 12:09:38 CEST 2002 i686
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-04 2:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-04 1:56 undefined reference to `in_ntoa' J.A. Magallon
2002-05-04 1:48 ` 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