Issue:/usr/bin/ld: cannot find -lncurses

Condition: Linux tvm 4.10.0-27-generic #30~16.04.2-Ubuntu SMP Thu Jun 29 16:07:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Issue: /usr/bin/ld: cannot find -lncurses Solution: x86_32 sudo apt-get install libncurses5-dev x86_64 sudo apt-get install lib32ncurses5-dev

Issue in kernel-2.6.32 under Ubuntu 16.04.2 x64

Condition: Linux version: Linux tvm 4.10.0-27-generic #30~16.04.2-Ubuntu SMP Thu Jun 29 16:07:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Issue: TIMEC kernel/timeconst.h /home/test/Documents/xxx/kernel/kernel-2.6.32-xxx/kernel/Makefile:129: recipe for target ‘kernel/timeconst.h’ failed /home/test/Documents/xxx/kernel/kernel-2.6.32-xxx/Makefile:878: recipe for target ‘kernel’ failed Makefile:120: recipe for target ‘sub-make’ failed make[1]: Leaving directory ‘/home/test/Documents/xxx/kernel/kernel-2.6.32-xxx’ /home/test/Documents/xxx/public/makefiles/kernel.mk:172: recipe for target ‘kernel’ failed Solution: Remove …

add or delete an user under ubuntu

adduser newuser deluser newuser sudo adduser newuser sudo deluser newuser deluser –remove-home newuser sudo deluser –remove-home newuser or sudo useradd -D –base-dir /home/new_user after that don’t forget to edit /etc/passwd file. add user to sudo group: sudo visudo: newuser ALL=(ALL) ALL