Skip to contentSkip to conversation

Errors when compiling kernel

Linux-ia64 bertos, deborah 2 participants 3 messages Jan 16, 2001 – Jan 17, 2001

lore
Share & tools
lore
#0 lore raw

Hi!

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

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

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

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

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

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

module.c: Infunction

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

EMC Corporation
228 South Street *Office: (508) 435-1000 ext.
23168
Hopkinton, MA 01748 *E-Mail: [email protected]

#1 lore raw

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

Hi!

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

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

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

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

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

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

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

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

Thanks for the help.

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

EMC Corporation
228 South Street *Office: (508) 435-1000 ext.
23168
Hopkinton, MA 01748 *E-Mail: [email protected]

#2 lore raw

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

In reply to bertos, deborah

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 them.

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

	--david
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · deborah

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> [email protected]

Deborah> _______________________________________________ Linux-IA64 Deborah> mailing list [email protected]
Deborah> http://lists.linuxia64.org/lists/listinfo/linux-ia64