[OpenAFS-devel] Symbol memcpy not found?

Derek Atkins warlord@MIT.EDU
14 Dec 2000 00:41:07 -0500

The linux code should provide memcpy().  At least under Linux/x86 it
is provided from <asm/string.h>.  I don't know where it would be on
the 390, but I would check out the Linux include files to see where
you might be able to find it.  It's going to be there, somewhere.


Adam Thornton <adam@fsf.net> writes:

> When I try to load the libafs module under Linux/390 2.2.16-MP (compiled
> from Neale Ferguson's patches), I get:
> lgate-is:/usr/local/src/openafs-1.0.1/src # insmod -v /usr/vice/etc/modload/libafs-2.2.16.mp.o 
> Using /usr/vice/etc/modload/libafs-2.2.16.mp.o
> Symbol version prefix 'smp_'
> /usr/vice/etc/modload/libafs-2.2.16.mp.o: unresolved symbol memcpy
> memcpy is part of libc, isn't it?
> However, I don't necessarily want to be linking libc in a kernel module,
> do I?  So should the kernel be exporting memcpy and isn't?  Or what?
> Where should I be picking up my memcpy implementation from?  Or am I
> *really* looking for smp_memcpy?  I'm baffled.
> Adam
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available