From: Eric Andresen <eandres@el...> - 2003-06-19 18:31:41
I've been trying to compile an OpenAFS kernel module for UML, but I've been
unable to solve a few missing symbols...
The original missing symbols and definitions were resolved with the following
being added to config/afsconfig.h (in the OpenAFS kernel source package)
#define CONFIG_X86_L1_CACHE_SHIFT 4
#define __generic_copy_from_user __copy_from_user
#define __generic_copy_to_user __copy_to_user
I'm not sure if these defines will cause problems or not, but they seemed to
me the most prominent answers by grepping for each in the asm-i386 and asm-um
The problem is, the last two unresolved symbols, I am unable to come up with a
./libafs-2.4.20-6um.o: unresolved symbol boot_cpu_data
./libafs-2.4.20-6um.o: unresolved symbol __verify_write
Doing an 'nm linux' on the UML binary, boot_cpu_data is a valid symbol, so I'm
not sure why that is coming up unresolved.. as for the verify_write, that
does not appear to be present at all in the UML headers.
Any info would be most appreciated!
-- Eric Andresen
Mars Space Flight Facility
Get latest updates about Open Source Projects, Conferences and News.