Messages in this thread |  | | From | "Nicholas J. Leon" <> | Subject | [Q] Why is this? | Date | Thu, 20 Jun 1996 11:59:48 -0400 (EDT) |
| |
In trying to compile an IDEA encryption routine for the kernel, I'm getting the following error:
ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o init/main.o init/version.o \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \ fs/filesystems.a \ drivers/block/block.a drivers/char/char.a drivers/net/net.a drivers/pci/pci.a \ /usr/homes/nicholas/Computer/source/kernel/linux.idea/arch/i386/lib/lib.a /usr/homes/nicholas/Computer/source/kernel/linux.idea/lib/lib.a /usr/homes/nicholas/Computer/source/kernel/linux.idea/arch/i386/lib/lib.a -o vmlinux drivers/block/block.a(idea.o): In function `idea_encrypt_block': idea.o(.text+0x466): undefined reference to `memcpy' idea.o(.text+0x4a8): undefined reference to `memcpy' make: *** [vmlinux] Error 1 elasped 0:45.57 87.3%
But many other files in drivers/block use memcpy. In fact, loop.c does itself. So why can't it find it for my file?
loop.c: memcpy(loop_buf, raw_buf, size); loop.c: memcpy(raw_buf, loop_buf, size);
N! ------------------------------------------------------------------------------ Nicholas J. Leon nicholas@binary9.net "Elegance through Simplicity" http://www.binary9.net/nicholas
|  |