Monday, 19 March 2012

build/tools/soslim/soslim.c(123): gelf_getshdr(): invalid operand

Hi Folks,

Today am going to share with you a what I experienced when I was working wih Android NDK. I usually hibernate my work because in every project definitely there will be many files on which we would be working continuously. Hence I again hibernated but suddenly after I logged in I found this problem

build/tools/soslim/soslim.c(123): gelf_getshdr(): invalid operand

I approached my seniors for this error but they were unable to respond back with a solution or reproduce it. So in anger I just closed every terminal and just started the terminal new and built the Android NDK. It just became fine without any error.

So I would like to say that if in the future you experience this problem just close everything and restart it. :)

Thursday, 16 February 2012

How to Log into root account in Ubuntu

I faced the same problem of not able to log into the ubuntu's root account. Ubuntu is more secure and it makes the user to make use of the resources safely, hence instead of providing the su command, it has provided sudo command. Using sudo you could log into the root account as follows:

bash#sudo bash

u get the root access to your new bash shell, now you give


bash#sudo passwd
Enter New Unix Password:
Confirm Password:

And BINGOOOO.... you now made a password for the root account :D enjoy by logging off the current user account and log into the root account with your currently set password :D