lkml.org 
[lkml]   [1996]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[Q] Why is this?
Date
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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.032 / U:11.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site