Skip to contentSkip to conversation

Warning of redefined NR_OPEN

DISCUSSION Marcel Holtmann 2 participants 2 messages Feb 23, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

when compiling the latest 2.6 tree from the Bitkeeper repository, I get a lot of these:

CC init/main.o
In file included from include/linux/fs.h:202,

                 from include/linux/proc_fs.h:6,
                 from init/main.c:17:
include/linux/limits.h:4:1: warning: "NR_OPEN" redefined
In file included from include/linux/proc_fs.h:6,
                 from init/main.c:17:

include/linux/fs.h:24:1: warning: this is the location of the previous definition

Maybe the re-order of <linux/fs.h> to make userland happy was not a good idea.

Regards

Marcel

#1 lore raw
Quoted 8 lines · * Marcel Holtmann ([email protected]) wrote:

when compiling the latest 2.6 tree from the Bitkeeper repository, I get a lot of these:

CC init/main.o
In file included from include/linux/fs.h:202,

                 from include/linux/proc_fs.h:6,
                 from init/main.c:17:

include/linux/limits.h:4:1: warning: "NR_OPEN" redefined

Yup, although it's been fixed in bk.

thanks,
-chris

Signature · 1 line
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net