Loading ...
Sorry, an error occurred while loading the content.

errors compiling

Expand Messages
  • xandreax@libero.it
    Insp 8100 Linux Mandrake 8.1 when compiling modules i get: make -C kernel CFLAGS= -D__KERNEL__ -I/usr/src/linux-2.4.8/include - Wall -Wstrict-prototypes
    Message 1 of 3 , Oct 1, 2001
    • 0 Attachment
      Insp 8100
      Linux Mandrake 8.1

      when compiling modules i get:
      make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.8/include -
      Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-
      common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -
      march=i686 -fno-merge-constants -DMODULE -DMODVERSIONS -
      include /usr/src/linux-2.4.8/include/linux/modversions.h"
      MAKING_MODULES=1 modules
      make[1]: Entering directory `/usr/src/linux-2.4.8/kernel'
      make[1]: Nothing to be done for `modules'.
      make[1]: Leaving directory `/usr/src/linux-2.4.8/kernel'
      make -C drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-
      2.4.8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-
      strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-
      stack-boundary=2 -march=i686 -fno-merge-constants -DMODULE -
      DMODVERSIONS -include /usr/src/linux-
      2.4.8/include/linux/modversions.h" MAKING_MODULES=1 modules
      make[1]: Entering directory `/usr/src/linux-2.4.8/drivers'
      make -C block modules
      make[2]: Entering directory `/usr/src/linux-2.4.8/drivers/block'
      gcc -D__KERNEL__ -I/usr/src/linux-2.4.8/include -Wall -Wstrict-
      prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-
      frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-
      merge-constants -DMODULE -DMODVERSIONS -include /usr/src/linux-
      2.4.8/include/linux/modversions.h -DEXPORT_SYMTAB -c loop.c
      In file included from /usr/src/linux-
      2.4.8/include/linux/prefetch.h:13,
      from /usr/src/linux-2.4.8/include/linux/list.h:6,
      from /usr/src/linux-2.4.8/include/linux/module.h:12,
      from loop.c:55:
      /usr/src/linux-2.4.8/include/asm/processor.h:51: warning: parameter
      names (without types) in function declaration
      /usr/src/linux-2.4.8/include/asm/processor.h:51: field
      `loops_per_jiffy_R_ver_str' declared as a function
      /usr/src/linux-2.4.8/include/asm/processor.h:72: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/asm/processor.h:72: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/asm/processor.h:72: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/asm/processor.h:72: parse error before
      `65dda927'
      /usr/src/linux-2.4.8/include/asm/processor.h:72: warning: function
      declaration isn't a prototype
      /usr/src/linux-2.4.8/include/asm/processor.h:252: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/asm/processor.h:252: parse error before
      `7413793a'
      /usr/src/linux-2.4.8/include/asm/processor.h:252: warning: function
      declaration isn't a prototype
      /usr/src/linux-2.4.8/include/asm/processor.h:256: warning: parameter
      names (without types) in function declaration
      /usr/src/linux-2.4.8/include/asm/processor.h:435: missing white space
      after number `7e9'
      /usr/src/linux-2.4.8/include/asm/processor.h:435: parse error before
      `7e9'
      /usr/src/linux-2.4.8/include/asm/processor.h:435:
      `kernel_thread_R_ver_str' declared as function returning a function
      /usr/src/linux-2.4.8/include/asm/processor.h:435: warning: function
      declaration isn't a prototype
      In file included from loop.c:55:
      /usr/src/linux-2.4.8/include/linux/module.h:173: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/linux/module.h:173: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/linux/module.h:173: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/linux/module.h:173: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/linux/module.h:173: parse error before
      `62dada05'
      /usr/src/linux-2.4.8/include/linux/module.h:173:
      `inter_module_register_R_ver_str' declared as function returning a
      function
      /usr/src/linux-2.4.8/include/linux/module.h:173: warning: function
      declaration isn't a prototype
      /usr/src/linux-2.4.8/include/linux/module.h:174: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/linux/module.h:174: missing white space
      after number `7a9e845'
      /usr/src/linux-2.4.8/include/linux/module.h:174: parse error before
      `7a9e845'
      /usr/src/linux-2.4.8/include/linux/module.h:174:
      `inter_module_unregister_R_ver_str' declared as function returning a
      function
      /usr/src/linux-2.4.8/include/linux/module.h:174: warning: function
      declaration isn't a prototype
      /usr/src/linux-2.4.8/include/linux/module.h:175:
      `inter_module_get_R_ver_str' declared as function returning a function
      /usr/src/linux-2.4.8/include/linux/module.h:175: warning: parameter
      names (without types) in function declaration
      /usr/src/linux-2.4.8/include/linux/module.h:176:
      `inter_module_get_request_R_ver_str' declared as function returning a
      function
      /usr/src/linux-2.4.8/include/linux/module.h:176: warning: parameter
      names (without types) in function declaration
      /usr/src/linux-2.4.8/include/linux/module.h:177: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/linux/module.h:177: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/linux/module.h:177: nondigits in number
      and not hexadecimal
      /usr/src/linux-2.4.8/include/linux/module.h:177: parse error before
      `6b99f7d8'
      /usr/src/linux-2.4.8/include/linux/module.h:177:
      `inter_module_put_R_ver_str' declared as function returning a function
      /usr/src/linux-2.4.8/include/linux/module.h:177: warning: function
      declaration isn't a prototype
      /usr/src/linux-2.4.8/include/linux/module.h:186:
      `try_inc_mod_count_R_ver_str' declared as function returning a
      function
      /usr/src/linux-2.4.8/include/linux/module.h:186: warning: parameter
      names (without types) in function declaration
      In file included from /usr/src/linux-2.4.8/include/linux/highmem.h:5,
      from /usr/src/linux-2.4.8/include/linux/pagemap.h:16,
      from /usr/src/linux-2.4.8/include/linux/locks.h:8,
      from /usr/src/linux-
      2.4.8/include/linux/devfs_fs_kernel.h:6,
      from /usr/src/linux-2.4.8/include/linux/genhd.h:48,
      from /usr/src/linux-2.4.8/include/linux/blkdev.h:6,
      from /usr/src/linux-2.4.8/include/linux/blk.h:4,
      from loop.c:64:
      /usr/src/linux-2.4.8/include/asm/pgalloc.h: In function
      `get_pgd_fast':
      /usr/src/linux-2.4.8/include/asm/pgalloc.h:74:
      `boot_cpu_data_R65dda927' undeclared (first use in this function)
      /usr/src/linux-2.4.8/include/asm/pgalloc.h:74: (Each undeclared
      identifier is reported only once
      /usr/src/linux-2.4.8/include/asm/pgalloc.h:74: for each function it
      appears in.)
      /usr/src/linux-2.4.8/include/asm/pgalloc.h: In function
      `free_pgd_fast':
      /usr/src/linux-2.4.8/include/asm/pgalloc.h:85:
      `boot_cpu_data_R65dda927' undeclared (first use in this function)
      /usr/src/linux-2.4.8/include/asm/pgalloc.h: In function
      `pte_alloc_one_fast':
      /usr/src/linux-2.4.8/include/asm/pgalloc.h:122:
      `boot_cpu_data_R65dda927' undeclared (first use in this function)
      /usr/src/linux-2.4.8/include/asm/pgalloc.h: In function
      `pte_free_fast':
      /usr/src/linux-2.4.8/include/asm/pgalloc.h:132:
      `boot_cpu_data_R65dda927' undeclared (first use in this function)
      loop.c: In function `loop_set_fd':
      loop.c:665: warning: implicit declaration of function
      `kernel_thread_R7e9ebb05'
      make[2]: *** [loop.o] Error 1
      make[2]: Leaving directory `/usr/src/linux-2.4.8/drivers/block'
      make[1]: *** [_modsubdir_block] Error 2
      make[1]: Leaving directory `/usr/src/linux-2.4.8/drivers'
      make: *** [_mod_drivers] Error 2
      scripts/split-include include/linux/autoconf.h include/config
      make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.8/include -
      Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-
      common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -
      march=i686 -fno-merge-constants -DMODULE -DMODVERSIONS -
      include /usr/src/linux-2.4.8/include/linux/modversions.h"
      MAKING_MODULES=1 modules
      make[1]: Entering directory `/usr/src/linux-2.4.8/kernel'
      make[1]: Nothing to be done for `modules'.
      make[1]: Leaving directory `/usr/src/linux-2.4.8/kernel'
      make -C drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-
      2.4.8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-
      strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-
      stack-boundary=2 -march=i686 -fno-merge-constants -DMODULE -
      DMODVERSIONS -include /usr/src/linux-
      2.4.8/include/linux/modversions.h" MAKING_MODULES=1 modules
      make[1]: Entering directory `/usr/src/linux-2.4.8/drivers'
      make -C block modules
      make[2]: Entering directory `/usr/src/linux-2.4.8/drivers/block'
      make[2]: *** [/usr/src/linux-2.4.8/include/linux/ufs_fs_sb.h]
      Interrupt
      make[1]: *** [_modsubdir_block] Interrupt
      make: *** [_mod_drivers] Interrupt

      help needed
      thanks
      Potaman
    • Sunny Dubey
      ... does the same thing happen if you use a different source tree?? Sunny Dubey
      Message 2 of 3 , Oct 1, 2001
      • 0 Attachment
        On Monday 01 October 2001 01:08 pm, you wrote:
        > Insp 8100
        > Linux Mandrake 8.1
        >

        <snip snip cut snip snip>

        does the same thing happen if you use a different source tree??

        Sunny Dubey
      • dhyams@ebicom.net
        Copy your .config file (in /usr/src/linux) to myconfig, do a make mrproper , copy myconfig back to .config, do a make oldconfig , and then the normal make
        Message 3 of 3 , Oct 9, 2001
        • 0 Attachment
          Copy your .config file (in /usr/src/linux) to myconfig,
          do a "make mrproper", copy myconfig back to .config, do a
          "make oldconfig", and then the normal "make dep;make bzImage;make
          modules" sequence.




          --- In linux-dell-laptops@y..., xandreax@l... wrote:
          > Insp 8100
          > Linux Mandrake 8.1
          >
          > when compiling modules i get:
          > make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.8/include
          -
          > Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
          -fno-
          > common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -
          > march=i686 -fno-merge-constants -DMODULE -DMODVERSIONS -
          > include /usr/src/linux-2.4.8/include/linux/modversions.h"
          > MAKING_MODULES=1 modules
          > make[1]: Entering directory `/usr/src/linux-2.4.8/kernel'
          > make[1]: Nothing to be done for `modules'.
          > make[1]: Leaving directory `/usr/src/linux-2.4.8/kernel'
          > make -C drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-
          > 2.4.8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-
          > strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-
          > stack-boundary=2 -march=i686 -fno-merge-constants -DMODULE -
          > DMODVERSIONS -include /usr/src/linux-
          > 2.4.8/include/linux/modversions.h" MAKING_MODULES=1 modules
          > make[1]: Entering directory `/usr/src/linux-2.4.8/drivers'
          > make -C block modules
          > make[2]: Entering directory `/usr/src/linux-2.4.8/drivers/block'
          > gcc -D__KERNEL__ -I/usr/src/linux-2.4.8/include -Wall -Wstrict-
          > prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
          -fomit-
          > frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-
          > merge-constants -DMODULE -DMODVERSIONS -include /usr/src/linux-
          > 2.4.8/include/linux/modversions.h -DEXPORT_SYMTAB -c loop.c
          > In file included from /usr/src/linux-
          > 2.4.8/include/linux/prefetch.h:13,
          > from /usr/src/linux-2.4.8/include/linux/list.h:6,
          > from
          /usr/src/linux-2.4.8/include/linux/module.h:12,
          > from loop.c:55:
          > /usr/src/linux-2.4.8/include/asm/processor.h:51: warning: parameter
          > names (without types) in function declaration
          > /usr/src/linux-2.4.8/include/asm/processor.h:51: field
          > `loops_per_jiffy_R_ver_str' declared as a function
          > /usr/src/linux-2.4.8/include/asm/processor.h:72: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/asm/processor.h:72: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/asm/processor.h:72: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/asm/processor.h:72: parse error before
          > `65dda927'
          > /usr/src/linux-2.4.8/include/asm/processor.h:72: warning: function
          > declaration isn't a prototype
          > /usr/src/linux-2.4.8/include/asm/processor.h:252: nondigits in
          number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/asm/processor.h:252: parse error before
          > `7413793a'
          > /usr/src/linux-2.4.8/include/asm/processor.h:252: warning: function
          > declaration isn't a prototype
          > /usr/src/linux-2.4.8/include/asm/processor.h:256: warning: parameter
          > names (without types) in function declaration
          > /usr/src/linux-2.4.8/include/asm/processor.h:435: missing white
          space
          > after number `7e9'
          > /usr/src/linux-2.4.8/include/asm/processor.h:435: parse error before
          > `7e9'
          > /usr/src/linux-2.4.8/include/asm/processor.h:435:
          > `kernel_thread_R_ver_str' declared as function returning a function
          > /usr/src/linux-2.4.8/include/asm/processor.h:435: warning: function
          > declaration isn't a prototype
          > In file included from loop.c:55:
          > /usr/src/linux-2.4.8/include/linux/module.h:173: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/linux/module.h:173: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/linux/module.h:173: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/linux/module.h:173: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/linux/module.h:173: parse error before
          > `62dada05'
          > /usr/src/linux-2.4.8/include/linux/module.h:173:
          > `inter_module_register_R_ver_str' declared as function returning a
          > function
          > /usr/src/linux-2.4.8/include/linux/module.h:173: warning: function
          > declaration isn't a prototype
          > /usr/src/linux-2.4.8/include/linux/module.h:174: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/linux/module.h:174: missing white space
          > after number `7a9e845'
          > /usr/src/linux-2.4.8/include/linux/module.h:174: parse error before
          > `7a9e845'
          > /usr/src/linux-2.4.8/include/linux/module.h:174:
          > `inter_module_unregister_R_ver_str' declared as function returning a
          > function
          > /usr/src/linux-2.4.8/include/linux/module.h:174: warning: function
          > declaration isn't a prototype
          > /usr/src/linux-2.4.8/include/linux/module.h:175:
          > `inter_module_get_R_ver_str' declared as function returning a
          function
          > /usr/src/linux-2.4.8/include/linux/module.h:175: warning: parameter
          > names (without types) in function declaration
          > /usr/src/linux-2.4.8/include/linux/module.h:176:
          > `inter_module_get_request_R_ver_str' declared as function returning
          a
          > function
          > /usr/src/linux-2.4.8/include/linux/module.h:176: warning: parameter
          > names (without types) in function declaration
          > /usr/src/linux-2.4.8/include/linux/module.h:177: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/linux/module.h:177: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/linux/module.h:177: nondigits in number
          > and not hexadecimal
          > /usr/src/linux-2.4.8/include/linux/module.h:177: parse error before
          > `6b99f7d8'
          > /usr/src/linux-2.4.8/include/linux/module.h:177:
          > `inter_module_put_R_ver_str' declared as function returning a
          function
          > /usr/src/linux-2.4.8/include/linux/module.h:177: warning: function
          > declaration isn't a prototype
          > /usr/src/linux-2.4.8/include/linux/module.h:186:
          > `try_inc_mod_count_R_ver_str' declared as function returning a
          > function
          > /usr/src/linux-2.4.8/include/linux/module.h:186: warning: parameter
          > names (without types) in function declaration
          > In file included from
          /usr/src/linux-2.4.8/include/linux/highmem.h:5,
          > from
          /usr/src/linux-2.4.8/include/linux/pagemap.h:16,
          > from /usr/src/linux-2.4.8/include/linux/locks.h:8,
          > from /usr/src/linux-
          > 2.4.8/include/linux/devfs_fs_kernel.h:6,
          > from /usr/src/linux-2.4.8/include/linux/genhd.h:48,
          > from /usr/src/linux-2.4.8/include/linux/blkdev.h:6,
          > from /usr/src/linux-2.4.8/include/linux/blk.h:4,
          > from loop.c:64:
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h: In function
          > `get_pgd_fast':
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h:74:
          > `boot_cpu_data_R65dda927' undeclared (first use in this function)
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h:74: (Each undeclared
          > identifier is reported only once
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h:74: for each function it
          > appears in.)
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h: In function
          > `free_pgd_fast':
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h:85:
          > `boot_cpu_data_R65dda927' undeclared (first use in this function)
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h: In function
          > `pte_alloc_one_fast':
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h:122:
          > `boot_cpu_data_R65dda927' undeclared (first use in this function)
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h: In function
          > `pte_free_fast':
          > /usr/src/linux-2.4.8/include/asm/pgalloc.h:132:
          > `boot_cpu_data_R65dda927' undeclared (first use in this function)
          > loop.c: In function `loop_set_fd':
          > loop.c:665: warning: implicit declaration of function
          > `kernel_thread_R7e9ebb05'
          > make[2]: *** [loop.o] Error 1
          > make[2]: Leaving directory `/usr/src/linux-2.4.8/drivers/block'
          > make[1]: *** [_modsubdir_block] Error 2
          > make[1]: Leaving directory `/usr/src/linux-2.4.8/drivers'
          > make: *** [_mod_drivers] Error 2
          > scripts/split-include include/linux/autoconf.h include/config
          > make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.8/include
          -
          > Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
          -fno-
          > common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -
          > march=i686 -fno-merge-constants -DMODULE -DMODVERSIONS -
          > include /usr/src/linux-2.4.8/include/linux/modversions.h"
          > MAKING_MODULES=1 modules
          > make[1]: Entering directory `/usr/src/linux-2.4.8/kernel'
          > make[1]: Nothing to be done for `modules'.
          > make[1]: Leaving directory `/usr/src/linux-2.4.8/kernel'
          > make -C drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-
          > 2.4.8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-
          > strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-
          > stack-boundary=2 -march=i686 -fno-merge-constants -DMODULE -
          > DMODVERSIONS -include /usr/src/linux-
          > 2.4.8/include/linux/modversions.h" MAKING_MODULES=1 modules
          > make[1]: Entering directory `/usr/src/linux-2.4.8/drivers'
          > make -C block modules
          > make[2]: Entering directory `/usr/src/linux-2.4.8/drivers/block'
          > make[2]: *** [/usr/src/linux-2.4.8/include/linux/ufs_fs_sb.h]
          > Interrupt
          > make[1]: *** [_modsubdir_block] Interrupt
          > make: *** [_mod_drivers] Interrupt
          >
          > help needed
          > thanks
          > Potaman
        Your message has been successfully submitted and would be delivered to recipients shortly.