Re: TEA crypto in 2.4: undefined MODULE_ALIAS

From: James Morris
Date: Mon Jul 19 2004 - 18:34:13 EST

On Mon, 19 Jul 2004, Meelis Roos wrote:

> I am trying to compile 2.4.27-BK on PPC and activated TEA crypto option
> as a module. I get this compile error:
> gcc -D__KERNEL__ -I/home/mroos/compile/linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/mroos/compile/linux-2.4/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DMODULE -DMODVERSIONS -include /home/mroos/compile/linux-2.4/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=tea -c -o tea.o tea.c
> tea.c:242: error: parse error before string constant
> tea.c:242: warning: type defaults to `int' in declaration of `MODULE_ALIAS'
> tea.c:242: warning: function declaration isn't a prototype
> tea.c:242: warning: data definition has no type or storage class

Probably remove the line from the 2.4 version.

- James
James Morris

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at