Compilation error: 2.4.27

From: Bart Verwilst (bart_at_verwilst.be)
Date: 09/30/04

  • Next message: Eric Anholt: "Re: New DRM driver model - gets rid of DRM() macros!"
    Date:	Thu, 30 Sep 2004 01:57:59 +0200
    To: linux-kernel@vger.kernel.org
    
    

    Hi!

    Could anybody help me out with this problem: I'm having a compilation
    error.. Any ideas somebody?

    Installed linux # make bzImage
    gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall
    -Wstrict-prototypes -Wno-
    trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
    -pipe -mpref
    erred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -o
    init/main.o in
    it/main.c
    In file included from /usr/src/linux-2.4.27/include/linux/config.h:4,
                     from init/main.c:14:
    /usr/src/linux-2.4.27/include/linux/autoconf.h:687: parse error before
    ')' token
    In file included from /usr/src/linux-2.4.27/include/linux/proc_fs.h:5,
                     from init/main.c:15:
    /usr/src/linux-2.4.27/include/linux/slab.h:52: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:52: warning: type defaults to
    `int' in declaration of `kmem_find_general_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:52: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:53: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:54: parse error before
    "kmem_cache_t"
    /usr/src/linux-2.4.27/include/linux/slab.h:54: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.27/include/linux/slab.h:55: parse error before
    "kmem_cache_t"
    /usr/src/linux-2.4.27/include/linux/slab.h:55: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.27/include/linux/slab.h:55: warning: type defaults to
    `int' in declaration of `kmem_cache_create'
    /usr/src/linux-2.4.27/include/linux/slab.h:55: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:56: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:56: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.27/include/linux/slab.h:57: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:57: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.27/include/linux/slab.h:58: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:58: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.27/include/linux/slab.h:59: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:59: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.27/include/linux/slab.h:60: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:60: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.27/include/linux/slab.h:68: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:68: warning: type defaults to
    `int' in declaration of `vm_area_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:68: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:69: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:69: warning: type defaults to
    `int' in declaration of `mm_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:69: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:70: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:70: warning: type defaults to
    `int' in declaration of `names_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:70: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:71: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:71: warning: type defaults to
    `int' in declaration of `files_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:71: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:72: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:72: warning: type defaults to
    `int' in declaration of `filp_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:72: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:73: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:73: warning: type defaults to
    `int' in declaration of `dquot_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:73: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:74: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:74: warning: type defaults to
    `int' in declaration of `bh_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:74: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:75: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:75: warning: type defaults to
    `int' in declaration of `fs_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:75: warning: data definition
    has no type or storage class
    /usr/src/linux-2.4.27/include/linux/slab.h:76: parse error before '*' token
    /usr/src/linux-2.4.27/include/linux/slab.h:76: warning: type defaults to
    `int' in declaration of `sigact_cachep'
    /usr/src/linux-2.4.27/include/linux/slab.h:76: warning: data definition
    has no type or storage class
    make: *** [init/main.o] Error 1

    Thanks a lot in advance!

    Kind regards,

    Bart Verwilst
    -
    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: Eric Anholt: "Re: New DRM driver model - gets rid of DRM() macros!"

    Relevant Pages