undefined reference to `in_ntoa'

J.A. Magallon (jamagallon@able.es)
Sat, 4 May 2002 03:56:55 +0200


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