Subject: Mol 0.9.60 not compiling under Linux-2.4.10
From: Fernando Rodriguez (fernando@elec.gla.ac.uk)
Date: Thu Sep 27 2001 - 08:12:18 MDT
I am using Linux 2.4.10-ben0, and mol compilation breaks with:
>===============================================================
>
> Compiling for 2.4.10-ben0 '/usr/src/linux'
>
>===============================================================
>
>Entering '/root/mol-0.9.60/buildtools'
>gcc -o depgen obj/depgen.o
>Entering '/root/mol-0.9.60/kernel_module'
>gcc -pipe -Wall -O2 -D__KERNEL__ -DMODULE -msoft-float -fno-builtin -I./
> >-I./include -I/root/mol-0.9.60/sinclude -I- -I/usr/src/linux/include
> >-DKERNEL -Wall -S /root/mol-0.9.60/sinclude/asm_offsets.c In file included
> from /root/mol-0.9.60/sinclude/asm_offsets.c:12:
>include/compat.h:77: redefinition of `_tlbie'
>/usr/src/linux/include/asm/mmu.h:120: `_tlbie' previously defined here
>make[1]: *** [include/asm_offsets.h] Error 1
>make: *** [_subdir_kernel_module] Error 2
I have fixed it with the following kloodge; in file:
./mol-0.9.60/kernel_module/include/compat.h
replaced:
#ifdef LINUX_24
extern inline void _tlbie(unsigned long va)
{
asm volatile ("tlbie %0" : : "r"(va));
}
#endif
with:
#ifndef LINUX_24
extern inline void _tlbie(unsigned long va)
{
asm volatile ("tlbie %0" : : "r"(va));
}
#endif
Apparently this definition has moved downstream...
Anyway hope this helps.
p.s. Excellent work! Thanx a lot!
b.t.w. There was some talk abour titanium powerbooks, benh kernel and mol.
In my case everything works smoothly. Try the new rsync kernels; that
should work fine.
-------------------------------------------------------
Fernando Rodriguez Salazar
Advanced Computer Systems
University of Glasgow,
Scotland.
This archive was generated by hypermail 2a24 : Thu Sep 27 2001 - 07:20:40 MDT