Talk:Android Getting Started

From OMAPpedia

Jump to: navigation, search

[edit] cmd_voltage.c compilation error for u-boot

1st March 2010

Regarding:

Note: If you get "cmd_voltage.c:27: error: inline function 'voltage_info' cannot be declared weak" try an older GCC (CSL 2008q3-72 seems ok)

I have found that when using the code sourcery X-compiler that making the function in question non-inline is an adequate fix (and easier):

//void inline voltage_info (void) __attribute__((weak, alias("__voltage_info")));
//XXX TL - doesn't need to be inline?
void voltage_info (void) __attribute__((weak, alias("__voltage_info")));

Compiler version: arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1

Tested by using 'voltage info' on the uboot command line with Zoom II 3430

- TonyL

[edit] Using Fedora as the Host

The Host can boot any distribution in fact. The instructions provided should apply following the installing methods for each one.

In the case of Fedora 10,11,12 it works fine by installing the following packages and their dependencies. There's a problem on Fedora 13 with the native ld and GLIB_2.0. So don't upgrade to it.

$ su -
# yum install git-all
# yum groupinstall "Development Libraries"
# yum groupinstall "Development Tools"
# yum install libX11-devel gperf corkscrew

As a user you would need to download the desired jdk. jdk1.5.0_21 works fine.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox