[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.4.23 ben1. compilation error



Hi all,
Last night I rsynced the 2.4 benh tree. And I try to compile...

$ rsync blah
$ make mrproper
$ make-kpkg kernel_image

I had this error :
(I tried deleting defkeymap like benh propose but without different
result)

gcc -D__KERNEL__ -I/usr/src/benh_kernel/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -I$
keyboard.c: In function `do_fn':
keyboard.c:640: warning: comparison is always true due to limited range
of data type
gcc -D__KERNEL__ -I/usr/src/benh_kernel/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -I$
defkeymap.c:1: error: syntax error before "defkeymap"
In file included from /usr/src/benh_kernel/include/linux/types.h:15,
                 from defkeymap.c:6:
/usr/src/benh_kernel/include/linux/posix_types.h:38: warning: type
defaults to `int' in declaration of `__kernel_fd_set'
/usr/src/benh_kernel/include/linux/posix_types.h:38: warning: data
definition has no type or storage class
In file included from
/usr/src/benh_kernel/include/linux/posix_types.h:46,
                 from /usr/src/benh_kernel/include/linux/types.h:15,
                 from defkeymap.c:6:
/usr/src/benh_kernel/include/asm/posix_types.h:58: error: syntax error
before "__kernel_fd_set"
/usr/src/benh_kernel/include/asm/posix_types.h:59: warning: function
declaration isn't a prototype
/usr/src/benh_kernel/include/asm/posix_types.h: In function `__FD_SET':
/usr/src/benh_kernel/include/asm/posix_types.h:60: error: `fd'
undeclared (first use in this function)
/usr/src/benh_kernel/include/asm/posix_types.h:60: error: (Each
undeclared identifier is reported only once
/usr/src/benh_kernel/include/asm/posix_types.h:60: error: for each
function it appears in.)
/usr/src/benh_kernel/include/asm/posix_types.h:62: error: `fdsetp'
undeclared (first use in this function)
/usr/src/benh_kernel/include/asm/posix_types.h: At top level:
/usr/src/benh_kernel/include/asm/posix_types.h:66: error: syntax error
before "__kernel_fd_set"
/usr/src/benh_kernel/include/asm/posix_types.h:67: warning: function
declaration isn't a prototype
/usr/src/benh_kernel/include/asm/posix_types.h: In function `__FD_CLR':
/usr/src/benh_kernel/include/asm/posix_types.h:68: error: `fd'
undeclared (first use in this function)
/usr/src/benh_kernel/include/asm/posix_types.h:70: error: `fdsetp'
undeclared (first use in this function)
/usr/src/benh_kernel/include/asm/posix_types.h: At top level:
/usr/src/benh_kernel/include/asm/posix_types.h:74: error: syntax error
before "__kernel_fd_set"
/usr/src/benh_kernel/include/asm/posix_types.h:75: warning: function
declaration isn't a prototype
/usr/src/benh_kernel/include/asm/posix_types.h: In function
`__FD_ISSET':
/usr/src/benh_kernel/include/asm/posix_types.h:76: error: `fd'
undeclared (first use in this function)
/usr/src/benh_kernel/include/asm/posix_types.h:78: error: `p' undeclared
(first use in this function)
/usr/src/benh_kernel/include/asm/posix_types.h: At top level:
/usr/src/benh_kernel/include/asm/posix_types.h:86: error: syntax error
before '*' token
/usr/src/benh_kernel/include/asm/posix_types.h:87: warning: function
declaration isn't a prototype
/usr/src/benh_kernel/include/asm/posix_types.h: In function `__FD_ZERO':
/usr/src/benh_kernel/include/asm/posix_types.h:88: error: `p' undeclared
(first use in this function)
In file included from defkeymap.c:6:
/usr/src/benh_kernel/include/linux/types.h: At top level:
/usr/src/benh_kernel/include/linux/types.h:20: error: syntax error
before "fd_set"
/usr/src/benh_kernel/include/linux/types.h:20: warning: type defaults to
`int' in declaration of `fd_set'
/usr/src/benh_kernel/include/linux/types.h:20: warning: data definition
has no type or storage class
defkeymap.c:27: warning: excess elements in array initializer
defkeymap.c:27: warning: (near initialization for `plain_map')
defkeymap.c:27: warning: excess elements in array initializer
defkeymap.c:27: warning: (near initialization for `plain_map')
defkeymap.c:27: warning: excess elements in array initializer
defkeymap.c:27: warning: (near initialization for `plain_map')
....
defkeymap.c:476: warning: (near initialization for `ctrl_alt_map')
defkeymap.c:476: warning: excess elements in array initializer
defkeymap.c:476: warning: (near initialization for `ctrl_alt_map')
defkeymap.c:476: warning: excess elements in array initializer
defkeymap.c:476: warning: (near initialization for `ctrl_alt_map')
make[4]: *** [defkeymap.o] Error 1
make[4]: Leaving directory `/usr/src/benh_kernel/drivers/char'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/benh_kernel/drivers/char'
make[2]: *** [_subdir_char] Error 2
make[2]: Leaving directory `/usr/src/benh_kernel/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/benh_kernel'
make: *** [stamp-build] Error 2



-- 
marco
--
Clé PGP publique : http://iftbqp.mine.nu/marco.asc

Attachment: pgpCUX7yqcsMh.pgp
Description: PGP signature


Reply to: