On 23 Jan 2009, at 12:08, Axel Reinhold wrote:

While 1.5.52 did well with Linux 2.4 - since the last four versions 1.5.53 and 1.5.56 was no more compiling.
But 1.5.57 compiles successfully and does not load:

/opt/afs/lib/openafs/libafs-2.4.x-ARX.o: unresolved symbol maybe_lock_kernel /opt/afs/lib/openafs/libafs-2.4.x-ARX.o: unresolved symbol maybe_unlock_kernel

These are new symbols that landed as part of the cache bypass work - their definition is restricted to 2.6 kernels, but they're used in builds for 2.4 kernels.

/opt/afs/lib/openafs/libafs-2.4.x-ARX.o: unresolved symbol vprintf

That's mine. As part of the kernel prototyping work, we switched to using varargs for debug messages. However, it would appear that the 2.4 kernel doesn't have vprintf support.

The attached patch should, hopefully solve these problems - I don't have a machine with a 2.4 kernel on it to test with, though, so if you could give it a go and report back, that would be great!

Thanks,

Simon.

Attachment: linux24-fixes
Description: Binary data

Reply via email to