#59 Compilation error with kernel 2.6.6 and patch 0.60.2.6.6

open
nobody
None
5
2004-06-03
2004-06-03
No

With a vanillia kernel.
$ make linux ARCH=um

...
CPP arch/um/kernel/vmlinux.lds.s
CC arch/um/drivers/ssl.o
CC arch/um/drivers/net_kern.o
gcc -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -U__i386__ -Ui386
-D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE
-Iarch/um/include
-I/home/alex/uml/linux-2.6.6/arch/um/kernel/skas/include
-D_GNU_SOURCE -O2 -fomit-frame-pointer -c -o
arch/um/drivers/net_user.o arch/um/drivers/net_user.c
CC arch/um/drivers/ubd_kern.o
gcc -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -U__i386__ -Ui386
-D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE
-Iarch/um/include
-I/home/alex/uml/linux-2.6.6/arch/um/kernel/skas/include
-D_GNU_SOURCE -O2 -fomit-frame-pointer -c -o
arch/um/drivers/ubd_user.o arch/um/drivers/ubd_user.c
LD arch/um/drivers/net.o
CC arch/um/drivers/mmapper_kern.o
In file included from arch/um/drivers/mmapper_kern.c:11:
include/linux/kdev_t.h:21: error: parse error before "dev"
include/linux/kdev_t.h:22: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `old_valid_dev':
include/linux/kdev_t.h:23: error: `dev' undeclared
(first use in this function)
include/linux/kdev_t.h:23: error: (Each undeclared
identifier is reported only once
include/linux/kdev_t.h:23: error: for each function it
appears in.)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:26: error: parse error before
"old_encode_dev"
include/linux/kdev_t.h:26: error: parse error before "dev"
include/linux/kdev_t.h:27: warning: return type
defaults to `int'
include/linux/kdev_t.h:27: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `old_encode_dev':
include/linux/kdev_t.h:28: error: `dev' undeclared
(first use in this function)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:31: error: parse error before
"old_decode_dev"
include/linux/kdev_t.h:31: error: parse error before "val"
include/linux/kdev_t.h:32: warning: return type
defaults to `int'
include/linux/kdev_t.h:32: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `old_decode_dev':
include/linux/kdev_t.h:33: error: `val' undeclared
(first use in this function)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:36: error: parse error before "dev"
include/linux/kdev_t.h:37: warning: function
declaration isn't a prototype
include/linux/kdev_t.h:41: error: parse error before
"new_encode_dev"
include/linux/kdev_t.h:41: error: parse error before "dev"
include/linux/kdev_t.h:42: warning: return type
defaults to `int'
include/linux/kdev_t.h:42: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `new_encode_dev':
include/linux/kdev_t.h:43: error: `dev' undeclared
(first use in this function)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:48: error: parse error before
"new_decode_dev"
include/linux/kdev_t.h:48: error: parse error before "dev"
include/linux/kdev_t.h:49: warning: return type
defaults to `int'
include/linux/kdev_t.h:49: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `new_decode_dev':
include/linux/kdev_t.h:50: error: `dev' undeclared
(first use in this function)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:55: error: parse error before "dev"
include/linux/kdev_t.h:56: warning: function
declaration isn't a prototype
include/linux/kdev_t.h:60: error: parse error before
"huge_encode_dev"
include/linux/kdev_t.h:60: error: parse error before "dev"
include/linux/kdev_t.h:61: warning: return type
defaults to `int'
include/linux/kdev_t.h:61: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `huge_encode_dev':
include/linux/kdev_t.h:62: error: `dev' undeclared
(first use in this function)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:65: error: parse error before
"huge_decode_dev"
include/linux/kdev_t.h:65: error: parse error before "dev"
include/linux/kdev_t.h:66: warning: return type
defaults to `int'
include/linux/kdev_t.h:66: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `huge_decode_dev':
include/linux/kdev_t.h:67: error: `dev' undeclared
(first use in this function)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:70: error: parse error before "dev"
include/linux/kdev_t.h:71: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `sysv_valid_dev':
include/linux/kdev_t.h:72: error: `dev' undeclared
(first use in this function)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:75: error: parse error before
"sysv_encode_dev"
include/linux/kdev_t.h:75: error: parse error before "dev"
include/linux/kdev_t.h:76: warning: return type
defaults to `int'
include/linux/kdev_t.h:76: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `sysv_encode_dev':
include/linux/kdev_t.h:77: error: `dev' undeclared
(first use in this function)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:80: error: parse error before "dev"
include/linux/kdev_t.h:81: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `sysv_major':
include/linux/kdev_t.h:82: error: `dev' undeclared
(first use in this function)
include/linux/kdev_t.h: At top level:
include/linux/kdev_t.h:85: error: parse error before "dev"
include/linux/kdev_t.h:86: warning: function
declaration isn't a prototype
include/linux/kdev_t.h: In function `sysv_minor':
include/linux/kdev_t.h:87: error: `dev' undeclared
(first use in this function)
arch/um/include/um_uaccess.h: At top level:
arch/um/drivers/mmapper_kern.c:108: warning:
`mmapper_fops' defined but not used
make[1]: *** [arch/um/drivers/mmapper_kern.o] Erreur 1
make: *** [arch/um/drivers] Erreur 2

Discussion

  • Kernel configuration

     
    Attachments