TEA crypto in 2.4: undefined MODULE_ALIAS

From: Meelis Roos
Date: Mon Jul 19 2004 - 04:59:40 EST


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

It seems that MODULE_ALIAS is undefined in 2.4. Shoulw we remove this
line from tea.c or add MODULE_ALIAS definition to 2.4?

--
Meelis Roos (mroos@xxxxxxxx)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/