Re: [Linux-ia64] Errors when compiling kernel (2.4.0test10)

From: David Mosberger <>
Date: 2001-01-17 12:39:39
All the "errors" you're describing are compiler warnings.  While it
would be nicer to have the kernel build without warnings.  The way we
use the toolchain in the kernel, we err on the side of issuing too
many rather than too few warnings.  Indeed, all the warnings you
mention are spurious in that sense and you don't have to worry about

If the kernel doesn't build for you, there must be something else
that's wrong (beyond the warnings you mentioned).


>>>>> On Tue, 16 Jan 2001 18:11:14 -0500, "bertos, deborah" <> said:

  Deborah> Hi!  I'm hoping someone can help me out.  I've just
  Deborah> installed turbolinux's 1123 release for ia64, and I'm
  Deborah> having trouble compiling the kernel.

  Deborah> I run the following commands: make mrproper make menuconfig
  Deborah> make dep make clean make

  Deborah> When I run make, I start receiving numerous errors, and the
  Deborah> command exits before completing.  I receive the following
  Deborah> error multiple times every time I run make:

  Deborah> /usr/src/linux/include/asm/unistd.h: 287: warning: 'dummy2'
  Deborah> might be used uninitialized in this function.  (this error
  Deborah> shows up with either 287, 288, or 289 as the lines where
  Deborah> the error is occurring, and the error is showing either
  Deborah> dummy2, 3, 4, or 5.)

  Deborah> In addition, I'm receiving several errors on several
  Deborah> different files.  The files and the errors themselves seem
  Deborah> to change each time I try to run through the compilation
  Deborah> process, starting from make mrproper.  Some examples of the
  Deborah> errors are:

  Deborah> pm.c: In function 'pm_send': pm.c:132: warning cast from
  Deborah> pointer to integer of different size.

  Deborah> module.c: In function 'sys_init_module': module.c:365:
  Deborah> warning passing arg 1 of 'kdbaddmodsym' discards qualifiers
  Deborah> from pointer target type.

  Deborah> ivt.S:253: warning: Only the first path encountering the
  Deborah> conflict is reported ivt.S:249: warning: This is the
  Deborah> location of the conflicting usage.

  Deborah> Thanks for the help.

  Deborah> EMC˛ Deborah Bertos The Enterprise Storage Company Systems
  Deborah> Engineer HA & Systems Integration

  Deborah> EMC Corporation 228 South Street *Office: (508) 435-1000
  Deborah> ext.  23168 Hopkinton, MA 01748 *E-Mail:

  Deborah> _______________________________________________ Linux-IA64
  Deborah> mailing list
Received on Tue Jan 16 17:42:40 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:01 EST