How to Fix : sudo: unable to resolve host my_user: No such file or directory

If you have changed the hostname of your Linux PC, by using command from https://www.lynxbee.com/changing-hostname-in-ubuntu/ there are chances you may get an warnings like below everytime you type some commands with sudo permission in terminal and taking considerable time to return the command output, $ time sudo cat /proc/version sudo: unable to resolve host laptop: … Read more

How to resolve error in moodle : Invalid get_string() identifier: ‘searchboxpaddingtop’ or component ‘theme_adaptable’. Perhaps you are missing $string[‘searchboxpaddingtop’] = ”; in

Sometime if you login to moodle as administrator, and tries to browse the admin pages, you might see error like below in admin dashboard, Invalid get_string() identifier: ‘searchboxpaddingtop’ or component ‘theme_adaptable’. Perhaps you are missing $string[‘searchboxpaddingtop’] = ”; in /home/myhosting/public_html/mydomain.com/theme/adaptable/lang/en/theme_adaptable.php? line 349 of /lib/classes/string_manager_standard.php: call to debugging() line 7081 of /lib/moodlelib.php: call to core_string_manager_standard->get_string() line … Read more

How to fix : ERROR: do_package_qa: QA Issue: No GNU_HASH in the elf binary

If you get the error as below, at the end of the compilation, check the solution to fix this, ERROR: helloworld-0.1-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: ‘/home/myuser/poky/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/helloworld/0.1-r0/packages-split/helloworld/usr/bin/helloworld’ [ldflags] ERROR: helloworld-0.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. ERROR: helloworld-0.1-r0 do_package_qa: Function failed: do_package_qa ERROR: Logfile of failure stored … Read more

How to resolve : fatal error: curses.h: No such file or directory

Whenever you are trying to do kernel menuconfig very first time after installation of ubuntu, its chances that you will see the error as below, $ make ARCH=arm CROSS_COMPILE=arm-bcm2708-linux-gnueabi- menuconfig HOSTCC scripts/kconfig/mconf.o In file included from scripts/kconfig/mconf.c:23:0: scripts/kconfig/lxdialog/dialog.h:38:20: fatal error: curses.h: No such file or directory compilation terminated. scripts/Makefile.host:124: recipe for target ‘scripts/kconfig/mconf.o’ failed make[1]: … Read more

How to resolve error : dtc: command not found

When trying to compile uboot on ubuntu, we seen the following error, OBJCOPY u-boot.srec OBJCOPY u-boot-nodtb.bin ./scripts/dtc-version.sh: line 17: dtc: command not found ./scripts/dtc-version.sh: line 18: dtc: command not found *** Your dtc is too old, please upgrade to dtc 1.4 or newer Makefile:1450: recipe for target ‘checkdtc’ failed make: *** [checkdtc] Error 1 From … Read more

How to resolve : Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49152 bytes) in filename.php on line

If you are trying to develop some website on shared hosting using wordpress, there are high chances you will encounter following error sometime, Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49152 bytes) in “/path/filename.php” on line “linenumber” This error is mainly due to PHP memory limitations, we get by default … Read more

How to resolve “cc1: all warnings being treated as errors” ?

If you are compiling some C program or open source package using Makefile which is written by someone else, there are chances you may encounter error as “cc1: all warnings being treated as errors” and you will not be able to compile the program or package. So this error, tells us that there are some … Read more