I have written one module for vfs and
compiled agenist kernel 2.2.12. compilation and linking the object files are done fine. I am getting some errors while insert the module via insmod command. I am mentioning the error messages below.
unresolved symbol lock_super
unresolved symbol unlock_super
unresolved symbol bcopy
I don't know which library is using and which version.
Could please help out to thing do proprely ..and how to find out the library version?
Note : jlevie was asked about the compiler and linker options , I am listing below.
MODCFLAGS := -DMODULE -D__KERNEL__ -I XXX/include
$(CC) $(MODCFLAGS) -c xxx1.c
$(CC) $(MODCFLAGS) -c xxx2.c
...... ...... .....
$(CC) $(MODCFLAGS) -c xxxn.c
ld -m elf_i386 -r -Map xxx.map -o XXX xxx1.o xxx2.o ... xxxn.o