Summary: | Can't Compile linux kernel with openmosix when downloaded using emerge openmosix-sources | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Ragusa <aragusa> |
Component: | New packages | Assignee: | Michael Imhof (RETIRED) <tantive> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | hp-cluster, x86-kernel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrew Ragusa
2004-02-20 18:13:20 UTC
What exact error are you getting? This is the error i beleive make[3]: Entering directory `/usr/src/linux-2.4.25-openmosix/drivers/char' gcc -D__KERNEL__ -I/usr/src/linux-2.4.25-openmosix/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=defkeymap -c -o defkeymap.o defkeymap.c defkeymap.c:1: error: syntax error before "defkeymap" In file included from /usr/src/linux-2.4.25-openmosix/include/linux/types.h:15, from defkeymap.c:6: /usr/src/linux-2.4.25-openmosix/include/linux/posix_types.h:38: warning: type defaults to `int' in declaration of `__kernel_fd_set' /usr/src/linux-2.4.25-openmosix/include/linux/posix_types.h:38: warning: data definition has no type or storage class In file included from defkeymap.c:6: /usr/src/linux-2.4.25-openmosix/include/linux/types.h:20: error: syntax error before "fd_set" /usr/src/linux-2.4.25-openmosix/include/linux/types.h:20: warning: type defaults to `int' in declaration of `fd_set' /usr/src/linux-2.4.25-openmosix/include/linux/types.h:20: warning: data definition has no type or storage class defkeymap.c:10: error: `nr_keys' undeclared here (not in a function) defkeymap.c:10: error: conflicting types for `plain_map' /usr/src/linux-2.4.25-openmosix/include/linux/keyboard.h:28: error: previous declaration of `plain_map' defkeymap.c:11: warning: excess elements in scalar initializer defkeymap.c:11: warning: (near initialization for `plain_map') defkeymap.c:11: warning: excess elements in scalar initializer defkeymap.c:11: warning: (near initialization for `plain_map') ..... ..... ..... defkeymap.c:482: error: initializer element is not constant defkeymap.c:482: error: (near initialization for `key_maps[8]') defkeymap.c:483: error: initializer element is not constant defkeymap.c:483: error: (near initialization for `key_maps[12]') defkeymap.c:10: error: storage size of `plain_map' isn't known defkeymap.c:77: error: storage size of `shift_map' isn't known defkeymap.c:144: error: storage size of `altgr_map' isn't known defkeymap.c:211: error: storage size of `ctrl_map' isn't known defkeymap.c:278: error: storage size of `shift_ctrl_map' isn't known defkeymap.c:345: error: storage size of `alt_map' isn't known defkeymap.c:412: error: storage size of `ctrl_alt_map' isn't known make[3]: *** [defkeymap.o] Error 1 make[2]: *** [first_rule] Error 2 make[1]: *** [_subdir_char] Error 2 make: *** [_dir_drivers] Error 2 openmosix-sources-2.4.25 have KEYWORDS="-*" so yes, they are in the tree, but they are considered testing by tab (the creator of the patchsets) Official om-kernels are marked as usual. So you should be aware what you do when you merge .25 I'll look in the errors you get later, but it seems that i can't reproduce them over here (means worksforme). Maybe you want to look in the ChangeLog on tab's site. There is no such problem in recent tab's patchset. |