Tiny Core Base > TCB Bugs
TC 6 for x86 linux-kernel-sources-env.sh
zhudock:
After downloading and running linux-kernel-sources-env.sh in TinyCore 6, I'm running into errors when trying to run
--- Code: ---make menuconfig
--- End code ---
It appears the ncurses libraries fail to load. I've confirmed they are installed. Could it be because they're in /usr/local/lib instead of /lib? Is there something else going wrong here?
Rich:
Hi zhudock
It would probably be helpful if you post the exact error message(s) you received.
zhudock:
Here is the text of the errors. It looks like the system things ncurses is not installed. Indeed if I copy the ncurses libraries from /usr/local/lib to /lib a majority of the errors go away, but menuconfig still fails to load. Instead I get the 2nd error message shown below
--- Code: ---tc@box:/usr/src/linux-3.16.6$ make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/mconf.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help':
mconf.c:(.text+0xa0e): undefined reference to `stdscr'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x3d): undefined reference to `wmove'
checklist.c:(.text+0x5a): undefined reference to `acs_map'
checklist.c:(.text+0x66): undefined reference to `waddch'
checklist.c:(.text+0x80): undefined reference to `waddnstr'
checklist.c:(.text+0x94): undefined reference to `wmove'
... break for more of the same ...
menubox.c:(.text+0xc47): undefined reference to `wrefresh'
menubox.c:(.text+0xc8b): undefined reference to `delwin'
menubox.c:(.text+0xc97): undefined reference to `delwin'
menubox.c:(.text+0x11c3): undefined reference to `waddch'
menubox.c:(.text+0x1266): undefined reference to `scrollok'
scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0x1b7): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x381): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0':
menubox.c:(.text+0x4ab): undefined reference to `wrefresh'
collect2: error: ld returned 1 exit status
scripts/Makefile.host:127: recipe for target 'scripts/kconfig/mconf' failed
make[1]: *** [scripts/kconfig/mconf] Error 1
Makefile:545: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
--- End code ---
--- Code: ---tc@box:/usr/src/linux-3.16.6$ make menuconfig
HOSTLD scripts/kconfig/mconf
/usr/local/bin/ld: scripts/kconfig/mconf.o: undefined reference to symbol 'stdscr'
/usr/local/lib/libtinfow.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
scripts/Makefile.host:127: recipe for target 'scripts/kconfig/mconf' failed
make[1]: *** [scripts/kconfig/mconf] Error 1
Makefile:545: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
--- End code ---
Juanito:
If you manually prepare the kernel source, it works fine with the ncurses-dev extension
KingTutt:
@zhudock
I can confirm that problem with tc 6.1. The output is the same and all required packages are present including ncurses-dev
@Juanitocan you give some more hints what you mean with "manually prepare the kernel source"? Juast running make clean, make prepare, make scripts does not solve the problem for me and without kernel source I'm not able to build and activate nouveau graphic driver.
Navigation
[0] Message Index
[#] Next page
Go to full version