build/core/main.mk:77: You are attempting to build on a 32-bit system. Only 64-bit build environment
2011-08-29 13:45
786 查看
在使用:
$ repo init -u git://Android.git.kernel.org/platform/manifest.git
$ repo sync
下载完代码后,进行make,
$cd ~/mydroid
$make
却出现了如下错误:
build/core/main.mk:73: You are attempting to build on a 32-bit system.
build/core/main.mk:74: Only 64-bit build environments are supported beyond froyo/2.2.
这是因为froyo/2.2默认只支持64-bit,看到有些网友还要去下载64-比他的操作系统,很是麻烦,于是通过不断搜索资料终于解决,
解决办法:
需要进行如下修改即可,
将
./external/clearsilver/cgi/Android.mk
./external/clearsilver/java-jni/Android.mk
./external/clearsilver/util/Android.mk
./external/clearsilver/cs/Android.mk
四个文件中的
LOCAL_CFLAGS += -m64
LOCAL_LDFLAGS += -m64
注释掉,或者将“64”换成“32”
LOCAL_CFLAGS += -m32
LOCAL_LDFLAGS += -m32
然后,将
./build/core/main.mk 中的
ifneq (64,$(findstring 64,$(build_arch)))
改为:
ifneq (i686,$(findstring i686,$(build_arch)))
OK!问题解决
//转贴牛人的。
$ repo init -u git://Android.git.kernel.org/platform/manifest.git
$ repo sync
下载完代码后,进行make,
$cd ~/mydroid
$make
却出现了如下错误:
build/core/main.mk:73: You are attempting to build on a 32-bit system.
build/core/main.mk:74: Only 64-bit build environments are supported beyond froyo/2.2.
这是因为froyo/2.2默认只支持64-bit,看到有些网友还要去下载64-比他的操作系统,很是麻烦,于是通过不断搜索资料终于解决,
解决办法:
需要进行如下修改即可,
将
./external/clearsilver/cgi/Android.mk
./external/clearsilver/java-jni/Android.mk
./external/clearsilver/util/Android.mk
./external/clearsilver/cs/Android.mk
四个文件中的
LOCAL_CFLAGS += -m64
LOCAL_LDFLAGS += -m64
注释掉,或者将“64”换成“32”
LOCAL_CFLAGS += -m32
LOCAL_LDFLAGS += -m32
然后,将
./build/core/main.mk 中的
ifneq (64,$(findstring 64,$(build_arch)))
改为:
ifneq (i686,$(findstring i686,$(build_arch)))
OK!问题解决
//转贴牛人的。
相关文章推荐
- You are attempting to build on a 32-bit system.Only 64-bit build environments are supported beyond froyo/2.2.
- You are attempting to build on a 32-bit system.Only 64-bit build environments are supported beyond f
- You are attempting to build on a 32-bit system.Only 64-bit build environments are supported beyond froyo/2.2.
- You are attempting to build on a 32-bit system.Only 64-bit build environments are supported beyond froyo/2.2.
- You are attempting to build on a 32-bit system Only 64-bit build environments are supported beyond froyo/2.2
- ORACLE 11G 安装./runInstaller报错"You are attempting to install 64-bit Oracle on a 32-bit operating
- INS-35354] The system on which you are attempting to install Oracle RAC is not part of a valid clust
- 在64位系统下安装32位ODBC驱动问题How to install and configure a 32 bit ODBC driver on a 64 bit Operating System?
- Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use
- Android编译问题:Only 64-bit build environments are supported beyond froyo/2.2
- How to convert a 32-bit database to 64-bit database on Linux
- Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use
- Only 64-bit build environments are supported beyond froyo/2.2
- How to Convert a 32-bit Database to 64-bit Database on Linux (remove olap)
- [摘抄] Configuring IIS to Run 32-bit Applications on 64-bit Windows (IIS 6.0)
- Configuring IIS to Run 32-bit ASP.NET Applications on 64-bit Windows (IIS 6.0)
- How to Convert a 32-bit Database to 64-bit Database on Linux (update olap)
- You are attempting to build with the incorrect version of java.
- You have configured this virtual machine to use a 64-bit guest operating system. However, 64-bit op
- It is not safe to rely on the system's timezone settings. You are *required*