28-rc4-mmotm1110 build error with CONFIG_KEXEC=y - Kernel

This is a discussion on 28-rc4-mmotm1110 build error with CONFIG_KEXEC=y - Kernel ; Build ka-blam number 1: CC init/initramfs.o In file included from init/initramfs.c:542: include/linux/kexec.h:201: error: braced-group within expression allowed only inside a function include/linux/kexec.h:201: error: braced-group within expression allowed only inside a function include/linux/kexec.h:201: error: braced-group within expression allowed only inside a ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: 28-rc4-mmotm1110 build error with CONFIG_KEXEC=y

  1. 28-rc4-mmotm1110 build error with CONFIG_KEXEC=y

    Build ka-blam number 1:

    CC init/initramfs.o
    In file included from init/initramfs.c:542:
    include/linux/kexec.h:201: error: braced-group within expression allowed only inside a function
    include/linux/kexec.h:201: error: braced-group within expression allowed only inside a function
    include/linux/kexec.h:201: error: braced-group within expression allowed only inside a function
    include/linux/kexec.h:202: warning: type defaults to ‘int’ in declaration of ‘crash_notes’
    include/linux/kexec.h:203: error: braced-group within expression allowed only inside a function
    include/linux/kexec.h:203: error: braced-group within expression allowed only inside a function
    make[1]: *** [init/initramfs.o] Error 1
    make: *** [init] Error 2



    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)
    Comment: Exmh version 2.5 07/13/2001

    iD8DBQFJGPfKcC3lWbTT17ARAi4OAKDvTh5zjkLAesFe0mRgZ2 GTePEkQgCfdPZQ
    ObLQ4pem1W8vizixAiYqa9g=
    =ugDt
    -----END PGP SIGNATURE-----


  2. Re: 28-rc4-mmotm1110 build error with CONFIG_KEXEC=y

    On Mon, 10 Nov 2008 22:11:06 -0500
    Valdis.Kletnieks@vt.edu wrote:

    > Build ka-blam number 1:
    >
    > CC init/initramfs.o
    > In file included from init/initramfs.c:542:
    > include/linux/kexec.h:201: error: braced-group within expression allowed only inside a function
    > include/linux/kexec.h:201: error: braced-group within expression allowed only inside a function
    > include/linux/kexec.h:201: error: braced-group within expression allowed only inside a function
    > include/linux/kexec.h:202: warning: type defaults to ‘int’ in declaration of ‘crash_notes’
    > include/linux/kexec.h:203: error: braced-group within expression allowed only inside a function
    > include/linux/kexec.h:203: error: braced-group within expression allowed only inside a function
    > make[1]: *** [init/initramfs.o] Error 1
    > make: *** [init] Error 2
    >

    this is come from align-avoid-evaluating-its-argument-twice.patch


    Thanks,
    -Kame

    --
    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/

+ Reply to Thread