Aloha,
So, making this post as it did cost me more than couple of hours to figure-out what the hell is happening.
I was building some (secrete) driver for android yesterday and I needed to install cross-compile tool-chain for same, but while installing tool-chain on Ubuntu some of the packages already installed got removed by package installer.
Next, I set up the environment for building driver and kicked the build. Suddenly I started getting following error from compiler:
I did not noticed that some package has been forcefully removed while installing tool-chain. After some Googl'ing I found the package that needs to be installed.
Just install following package and issue will disappear :)
cheers!!
So, making this post as it did cost me more than couple of hours to figure-out what the hell is happening.
I was building some (secrete) driver for android yesterday and I needed to install cross-compile tool-chain for same, but while installing tool-chain on Ubuntu some of the packages already installed got removed by package installer.
Next, I set up the environment for building driver and kicked the build. Suddenly I started getting following error from compiler:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOST_CC tools/intern/asm/sometab.c | |
In file included from /usr/include/bits/errno.h:24:0, | |
from /usr/include/errno.h:35, | |
from ddk/pc_android_release/host/intermediates/someasmlexer/someasm.l.c:43: | |
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory | |
#include <asm/errno.h> | |
^ | |
compilation terminated. |
I did not noticed that some package has been forcefully removed while installing tool-chain. After some Googl'ing I found the package that needs to be installed.
Just install following package and issue will disappear :)
$sudo apt-get install linux-libc-dev:i386
cheers!!
What's up everyone, it's my first visit at this website,
ReplyDeleteand piece of writing is in fact fruitful in support of me, keep up posting these articles.