Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42319 - Can't Compile linux kernel with openmosix when downloaded using emerge openmosix-sources
Summary: Can't Compile linux kernel with openmosix when downloaded using emerge openmo...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-20 18:13 UTC by Andrew Ragusa
Modified: 2004-05-23 07:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ragusa 2004-02-20 18:13:20 UTC
I used openmosix with gentoo previously but recently you changed to the linux-2.4.25-openmosix instead of linux-2.4.22-openmosix-r3, the 2.4.25 kernel doesn't compile, I get a problem with the key map, and can't build the bzImage.  

Reproducible: Always
Steps to Reproduce:
1.emerge openmosix-sources
2.make menuconfig and configure your kernel
3.make dep && make clean bzImage modules modules_install

Actual Results:  
I get an error with keymap before bzImage is complete

Expected Results:  
Should have compiled my kernel
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-02-21 02:40:05 UTC
What exact error are you getting?
Comment 2 Chris Brown 2004-02-21 20:44:48 UTC
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
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2004-03-25 03:15:25 UTC
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.
Comment 4 Konstantin Arkhipov (RETIRED) gentoo-dev 2004-05-23 07:58:19 UTC
There is no such problem in recent tab's patchset.