Hello all,
I am trying to build froyo for nexus one, after a long time doing repo
sync till complete, initial all necessary commands, extract files from
the device and make -j4.
I got an error say
error: gnu/stubs-64.h: No such file or directory
I am running this in ubuntu 10.04 32 bits with VMWare player on
Windows XP.
I have even created the new virtual machine, install new ubuntu and
start the whole steps again, but the error still the same. Can any
one help me on this error?
Thanks in advance.
This is my steps.
#Create new virtual machine
#Install ubuntu 10.04 desktop 32 bits
#Download and install android sdk
sudo add-apt-repository "deb
http://archive.canonical.com/ lucid
partner"
sudo apt-get update
sudo apt-get install git-core gnupg sun-java6-jdk flex bison gperf
libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl
libncurses5-dev zlib1g-dev
sudo apt-get install valgrind
mkdir ~/bin
curl
http://android.git.kernel.org/repo >~/bin/repo
chmod a+x ~/bin/repo
#logout and re-login
mkdir ~/mydroid
cd ~/mydroid
repo init -u git://
android.git.kernel.org/platform/manifest.git
repo sync
...
repo sync
# till complete
gpg --import
....
^D
#cd to android sdk/tools to make sure adb daemon start as root
sudo ./adb kill-server
sudo ./adb start-server
cd ~/mydroid/device/htc/passion
# connect nexus one via usb
./extract-files.sh
cd ~/mydroid
. ./build/envsetup.sh
lunch full_passion-userdebug
make -j4
...
...
the make process stop with error
host C: libneo_util <= external/clearsilver/util/neo_misc.c
In file included from /usr/include/features.h:378,
from /usr/include/time.h:28,
from external/clearsilver/util/neo_misc.c:14:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or
directory
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/
libneo_util_intermediates/neo_err.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/
libneo_util_intermediates/neo_files.o] Error 1
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/
libneo_util_intermediates/neo_misc.o] Error 1