TEA crypto in 2.4: undefined MODULE_ALIAS

From: Meelis Roos (mroos_at_linux.ee)
Date: 07/19/04

  • Next message: Markus Schaber: "Re: CCISS Maintainers Contact?"
    Date:	Mon, 19 Jul 2004 12:58:17 +0300 (EEST)
    To: Linux Kernel list <linux-kernel@vger.kernel.org>
    
    

    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@linux.ee)
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Markus Schaber: "Re: CCISS Maintainers Contact?"

    Relevant Pages

    • Re: i387 floating-point test program/benchmark
      ... i387_bench.c:27: parse error before `cpuset' ... i387_bench.c:27: warning: data definition has no type or storage class ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • 2.6.2-rc3 with isdn patch + devfs doesnt compile
      ... include/linux/isdn.h:637: warning: no semicolon at end of struct or union ... include/linux/isdn.h:638: warning: data definition has no type or storage class ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] fix 2.4.22-rc2 x86-64 compile failure
      ... This causes a CONFIG_MODULES=y build to fail with: ... setup.c:62: warning: data definition has no type or storage class ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [BK PATCHES] 2.6.x experimental net driver updates
      ... I got the following compile error when trying to compile e100 statically ... drivers/net/e100.c:170: warning: type defaults to `int' in declaration ... drivers/net/e100.c:170: warning: function declaration isn't a prototype ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [patch] 2.6.9-rc1-mm2: char/pcxx.c doesnt compile
      ... The following compile error might not be specific to -mm: ... drivers/char/pcxx.c:230: warning: parameter names in function declaration ... static inline struct channel *chan ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)