mol doesn't compile with 2.6.6 kernel :(

eric.bachard@b.org mol-general@lists.maconlinux.org
Wed, 12 May 2004 23:16:06 +0200


Hi,

Thank you very much ! It work's for the 0-9.71 (bk-devel) too.

I just add $(CPPFLAGS) two times, like said in the patch, in the

$MOL_BK_DEVEL_SRC_DIR/src/kmod/Linux/Makefile.26

at lines 11 and 38 (like above) :


> -MOL_ASMFLAGS	= $(ASMFLAGS) $(INCLUDES) -D__ASSEMBLY__
> +MOL_ASMFLAGS	= $(CPPFLAGS) $(ASMFLAGS) $(INCLUDES) -D__ASSEMBLY__


> -	@$(CC) $(CFLAGS) -I$(src) -Wall -S $(src)/tmp-offsets.c
> +	@$(CC) $(CPPFLAGS) $(CFLAGS) -I$(src) -Wall -S $(src)/tmp-offsets.c


Was it just due to the recent changes in the kernel, for external 
modules compilation ?



Regards

-- 
eric bachard