Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile Linux-CK
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Sol33t303
n00b
n00b


Joined: 23 Mar 2018
Posts: 48

PostPosted: Wed Jul 25, 2018 9:26 am    Post subject: Can't compile Linux-CK Reply with quote

I am using Gentoo and I'm currently trying to switch the current vannilla Linux kernel I have with Linux-CK. However I'm having issues compilling the kernel. I have tried to compile it with both genkernel and manually. Here is the output of when I'm doing it manually (Genkernel seems to have the same issue, but greps some of the output).

Code:
drivers/tty/vt/keyboard.o: In function `do_compute_shiftstate':
keyboard.c:(.text+0x4ba): undefined reference to `key_maps'
drivers/tty/vt/keyboard.o: In function `k_fn.part.15':
keyboard.c:(.text+0x998): undefined reference to `func_table'
drivers/tty/vt/keyboard.o: In function `handle_diacr':
keyboard.c:(.text+0xecf): undefined reference to `accent_table_size'
keyboard.c:(.text+0xed6): undefined reference to `accent_table'
drivers/tty/vt/keyboard.o: In function `k_slock':
keyboard.c:(.text+0x1574): undefined reference to `key_maps'
drivers/tty/vt/keyboard.o: In function `kbd_event':
keyboard.c:(.text+0x1b12): undefined reference to `key_maps'
keyboard.c:(.text+0x1b79): undefined reference to `key_maps'
drivers/tty/vt/keyboard.o: In function `vt_do_diacrit':
keyboard.c:(.text+0x2506): undefined reference to `accent_table'
keyboard.c:(.text+0x251f): undefined reference to `accent_table_size'
keyboard.c:(.text+0x2569): undefined reference to `accent_table_size'
keyboard.c:(.text+0x2573): undefined reference to `accent_table'
keyboard.c:(.text+0x260c): undefined reference to `accent_table_size'
keyboard.c:(.text+0x2621): undefined reference to `accent_table'
keyboard.c:(.text+0x2630): undefined reference to `accent_table'
keyboard.c:(.text+0x2718): undefined reference to `accent_table'
keyboard.c:(.text+0x272b): undefined reference to `accent_table_size'
keyboard.c:(.text+0x2737): undefined reference to `accent_table'
keyboard.c:(.text+0x27ac): undefined reference to `accent_table_size'
drivers/tty/vt/keyboard.o: In function `vt_do_kdsk_ioctl':
keyboard.c:(.text+0x2bcf): undefined reference to `key_maps'
keyboard.c:(.text+0x2c66): undefined reference to `key_maps'
keyboard.c:(.text+0x2cfc): undefined reference to `key_maps'
keyboard.c:(.text+0x2d0d): undefined reference to `key_maps'
keyboard.c:(.text+0x2d5e): undefined reference to `keymap_count'
keyboard.c:(.text+0x2d6e): undefined reference to `key_maps'
keyboard.c:(.text+0x2d9f): undefined reference to `keymap_count'
keyboard.c:(.text+0x2dc2): undefined reference to `keymap_count'
keyboard.c:(.text+0x2de2): undefined reference to `keymap_count'
drivers/tty/vt/keyboard.o: In function `vt_do_kdgkb_ioctl':
keyboard.c:(.text+0x2ef1): undefined reference to `funcbufleft'
keyboard.c:(.text+0x2ef7): undefined reference to `funcbufsize'
keyboard.c:(.text+0x2f0b): undefined reference to `func_table'
keyboard.c:(.text+0x2f18): undefined reference to `funcbufptr'
keyboard.c:(.text+0x2f46): undefined reference to `func_table'
keyboard.c:(.text+0x2fae): undefined reference to `func_table'
keyboard.c:(.text+0x2fb8): undefined reference to `funcbufleft'
keyboard.c:(.text+0x2fe5): undefined reference to `func_table'
keyboard.c:(.text+0x3098): undefined reference to `funcbufptr'
keyboard.c:(.text+0x30a8): undefined reference to `func_table'
keyboard.c:(.text+0x30e0): undefined reference to `func_buf'
keyboard.c:(.text+0x3102): undefined reference to `funcbufleft'
keyboard.c:(.text+0x3109): undefined reference to `funcbufptr'
keyboard.c:(.text+0x3115): undefined reference to `funcbufsize'
keyboard.c:(.text+0x311c): undefined reference to `funcbufsize'
keyboard.c:(.text+0x3122): undefined reference to `funcbufleft'
keyboard.c:(.text+0x312f): undefined reference to `func_table'
keyboard.c:(.text+0x31b5): undefined reference to `func_table'
keyboard.c:(.text+0x31dc): undefined reference to `funcbufleft'
keyboard.c:(.text+0x31e9): undefined reference to `func_table'
keyboard.c:(.text+0x3248): undefined reference to `func_table'
keyboard.c:(.text+0x32a2): undefined reference to `func_table'
drivers/tty/vt/consolemap.o: In function `con_set_default_unimap':
consolemap.c:(.text+0xe03): undefined reference to `dfont_unitable'
consolemap.c:(.text+0xe10): undefined reference to `dfont_unicount'
make: *** [Makefile:1048: vmlinux] Error 1


After trying to google the issue I can't seem to find anything. I'm not really sure what the output is trying to tell me other than it has something to do with a keyboard driver so i'm not really sure what to do.
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Wed Jul 25, 2018 9:37 am    Post subject: Reply with quote

Which version of vanilla kernel with CK?
Back to top
View user's profile Send private message
Sol33t303
n00b
n00b


Joined: 23 Mar 2018
Posts: 48

PostPosted: Wed Jul 25, 2018 9:58 am    Post subject: Reply with quote

Keruskerfuerst wrote:
Which version of vanilla kernel with CK?

The version is 4.17.6
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Thu Jul 26, 2018 6:50 am    Post subject: Reply with quote

Can you upgrade to vanilla kernel 4.17.10 ?
Back to top
View user's profile Send private message
Sol33t303
n00b
n00b


Joined: 23 Mar 2018
Posts: 48

PostPosted: Fri Jul 27, 2018 8:01 am    Post subject: Reply with quote

4.17.10 does seem to compile, however when genkernel tries to create an initramfs this is the error it gets
Code:
/usr/share/genkernel/gen_initramfs.sh: line 668: /usr/bin/dropbearkey: No such file
or directory
/usr/share/genkernel/gen_initramfs.sh: line 674: /usr/bin/dropbearkey: No such file
or directory
cp: cannot stat '/etc/dropbear/dropbear_rsa_host_key': No such file or directory
cp: cannot stat '/etc/dropbear/dropbear_dss_host_key': No such file or directory
cp: cannot stat '/etc/dropbear/authorized_keys': No such file or directory
* ERROR: Binary /usr/sbin/dropbear could not be found

I also tried running make defconfig before compilling Linux-ck so it dosn't look like a configuration issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum