public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-2.4.5[-ac8] warnings while compiling
@ 2001-06-05 12:47 Leonid Mamtchenkov
  2001-06-05 13:43 ` Leonid Mamtchenkov
  0 siblings, 1 reply; 2+ messages in thread
From: Leonid Mamtchenkov @ 2001-06-05 12:47 UTC (permalink / raw)
  To: linux-kernel

Hello All,

While compile kernel 2.4.5 or 2.4.5-ac8 I get lots of warning, which look like
this:
---- kernel.stderr start ----
In file included from /usr/src/linux-2.4.5-ac8/include/linux/raid/md.h:51,
                 from init/main.c:25:
/usr/src/linux-2.4.5-ac8/include/linux/raid/md_k.h: In function `pers_to_level':
/usr/src/linux-2.4.5-ac8/include/linux/raid/md_k.h:41: warning: control reaches end of non-void function
In file included from /usr/src/linux-2.4.5-ac8/include/linux/modversions.h:194,
                 from /usr/src/linux-2.4.5-ac8/include/linux/module.h:21,
                 from fork.c:19:
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:1:33: warning: "__ver_proc_sys_root" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:1:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:3:33: warning: "__ver_proc_symlink" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:3:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:5:33: warning: "__ver_proc_mknod" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:5:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:7:33: warning: "__ver_proc_mkdir" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:7:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:9:33: warning: "__ver_create_proc_entry" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:9:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:11:33: warning: "__ver_remove_proc_entry" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:11:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:13:25: warning: "__ver_proc_root" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:13:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:15:33: warning: "__ver_proc_root_fs" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:15:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:17:25: warning: "__ver_proc_net" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:17:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:19:25: warning: "__ver_proc_bus" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:19:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:21:33: warning: "__ver_proc_root_driver" redefined
/usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:21:1: warning: this is the location of the previous definition
----- kernel.stderr end -----

Is there a patch available to fix this problem?

-- 
 Best regards,
 Leonid Mamtchenkov
 System Administrator


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-2.4.5[-ac8] warnings while compiling
  2001-06-05 12:47 linux-2.4.5[-ac8] warnings while compiling Leonid Mamtchenkov
@ 2001-06-05 13:43 ` Leonid Mamtchenkov
  0 siblings, 0 replies; 2+ messages in thread
From: Leonid Mamtchenkov @ 2001-06-05 13:43 UTC (permalink / raw)
  To: linux-kernel

Hello Leonid Mamtchenkov,

Once you wrote about "linux-2.4.5[-ac8] warnings while compiling":
LM> While compile kernel 2.4.5 or 2.4.5-ac8 I get lots of warning, which look like
LM> this:
LM> ---- kernel.stderr start ----
LM> In file included from /usr/src/linux-2.4.5-ac8/include/linux/raid/md.h:51,
LM>                  from init/main.c:25:

<skip>
LM> /usr/src/linux-2.4.5-ac8/include/linux/modules/root.ver:21:33: warning: "__ver_proc_root_driver" redefined
LM> /usr/src/linux-2.4.5-ac8/include/linux/modules/procfs_syms.ver:21:1: warning: this is the location of the previous definition
LM> ----- kernel.stderr end -----

Sorry for replying to myself, but the problem can be solved by doing
"make mrproper" (thanks to Bill Pringlemeir).

Now I am left only with following warnings, in case someone is interested.
---- start kernel.stderr.1 ----
In file included from /usr/src/linux-2.4.5-ac8/include/linux/raid/md.h:51,
                 from init/main.c:25:
/usr/src/linux-2.4.5-ac8/include/linux/raid/md_k.h: In function `pers_to_level':
/usr/src/linux-2.4.5-ac8/include/linux/raid/md_k.h:41: warning: control reaches end of non-void function
In file included from /usr/src/linux-2.4.5-ac8/include/linux/raid/md.h:51,
                 from ll_rw_blk.c:31:
/usr/src/linux-2.4.5-ac8/include/linux/raid/md_k.h: In function `pers_to_level':
/usr/src/linux-2.4.5-ac8/include/linux/raid/md_k.h:41: warning: control reaches end of non-void function
{standard input}: Assembler messages:
{standard input}:64: Warning: indirect lcall without `*'
{standard input}:134: Warning: indirect lcall without `*'
{standard input}:186: Warning: indirect lcall without `*'
In file included from /usr/src/linux-2.4.5-ac8/include/linux/raid/md.h:51,
                 from check.c:22:
/usr/src/linux-2.4.5-ac8/include/linux/raid/md_k.h: In function `pers_to_level':
/usr/src/linux-2.4.5-ac8/include/linux/raid/md_k.h:41: warning: control reaches end of non-void function
dmi_scan.c:161: warning: `disable_ide_dma' defined but not used
pci-pc.c:952: warning: `pci_fixup_via691' defined but not used
pci-pc.c:965: warning: `pci_fixup_via691_2' defined but not used
{standard input}: Assembler messages:
{standard input}:784: Warning: indirect lcall without `*'
{standard input}:869: Warning: indirect lcall without `*'
{standard input}:955: Warning: indirect lcall without `*'
{standard input}:993: Warning: indirect lcall without `*'
{standard input}:1025: Warning: indirect lcall without `*'
{standard input}:1057: Warning: indirect lcall without `*'
{standard input}:1088: Warning: indirect lcall without `*'
{standard input}:1117: Warning: indirect lcall without `*'
{standard input}:1146: Warning: indirect lcall without `*'
{standard input}:1433: Warning: indirect lcall without `*'
{standard input}:1529: Warning: indirect lcall without `*'
fault.c:123: warning: `print_pagetable_entries' defined but not used
bbootsect.s: Assembler messages:
bbootsect.s:257: Warning: indirect lcall without `*'
bsetup.s: Assembler messages:
bsetup.s:1374: Warning: indirect lcall without `*'
Root device is (3, 2)
Boot sector 512 bytes.
Setup is 4532 bytes.
System is 669 kB
----- end kernel.stderr.1 -----

-- 
 Best regards,
 Leonid Mamtchenkov
 System Administrator


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-05 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-05 12:47 linux-2.4.5[-ac8] warnings while compiling Leonid Mamtchenkov
2001-06-05 13:43 ` Leonid Mamtchenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox