More problems

Love lha at stacken.kth.se
Tue Jul 25 02:03:06 CEST 2000


maydin at us.ibm.com writes:

> Here is the output when I ran make.  Now, my problem is, when I run
> startarla, I get the following messages:
> [root at s390laba bin]# ./startarla
> /usr/arla/bin/xfs.o: unresolved symbol memmove
> /usr/arla/bin/xfs.o: unresolved symbol kernel_flag
> /usr/arla/bin/xfs.o: unresolved symbol strncpy
> mount: fs type xfs not supported by kernel
> any suggestions on what should be done?  I know that somewhere along the
> line, I should start working on the files that produce xfs.o, but I do not
> understand
> what this message means.  I appreciate your support.

memmove and strncpy is probably inclined by gcc. There is an implemetation
of them in /usr/src/linux/lib/string.c that you can paste into a file (like
xfs_deb.c) to make them work.

Can you list where the kernel_flag is used on smp computers. And I see that
you have defined __SMP__ when building the module. Is your computer a SMP
computer (if not, try adding the flag --disable-smp) to the configure
script). 

You should also find kernel_flag i /proc/ksyms, if not you should add a
line like

#ifdef __SMP__
EXPORT_SYMBOL(kernel_flag);
#endif

in to the S/390 equivalent of /usr/src/linux/arch/i386/kernel/i386_ksyms.c
and rebuild your kernel, don't forget to run ``make dep''.

But first you should start try run ``arlad -tz'' (test-mode) to see if
arlad works first.

The warning message isn't really that much to care about, the lwp warnings
isn't that good, but if you can run the test program (lwp/testlwp) that
should be perfectly ok).

Love






More information about the Arla-drinkers mailing list