I had the same problem. It has to to with the gcc version your using
and the header refactoring that they did for that version. You can fix
errors like that by simply adding the right includes in the file
complaining.
In 90% I had to add one of these
#include <cstdlib>
#include <cstring>
but there were other cases as well.

After fixing many of these issues I finally could build the installer
image. But when I run it on my very old machine (Geode GX1) only GRUB
is printed and a blinking cursor. What might be here the problem? I
thought besides less important things the eee 701 is just a standard
x86 system, or am I wrong. Is there another product I should build it
for?

Huan Truong wrote:
> I could not compile the cupcake branch as of 1:20PM CST. There seems
> to be some error while compiling fst.o
>
> external/srec/tools/thirdparty/OpenFst/fst/lib/../../fst/lib/vector-
> fst.h:404: error: �memcpy� was not declared in this scope
> external/srec/tools/thirdparty/OpenFst/fst/lib/../../fst/lib/vector-
> fst.h: In member function �W fst::WeightFromString<W>::operator()
> (const std::string&) [with W = fst::LogWeight]�:
> external/srec/tools/thirdparty/OpenFst/fst/lib/../../fst/lib/vector-
> fst.h:412: error: �memcpy� was not declared in this scope
> make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/
> libfst_intermediates/symbol-table.o] Error 1
> make: *** Waiting for unfinished jobs....
> make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/
> libfst_intermediates/fst.o] Error 1
>
>
> Any suggestions?
>
> On Dec 18, 2:23�pm, "Dima Zavin" <[email protected]> wrote:
> > Try this (only tested on EeePC 701):
> >
> > repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake
> > repo sync
> > TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true make -j8
> > installer_img
> > dd if=out/target/product/eee_701/installer.img of=/dev/<usbstick of your
> > choice> ; sync
> >
> > Boot from the usb stick. The installer is a bit crude, and needs polishing
> > and generalizing but it works. Note: It WILL WIPE your EeePC drive. :)
> >
> > --Dima
> >
> > On Thu, Dec 18, 2008 at 12:10 PM, Piethein Strengholt <
> >
> > [email protected]> wrote:
> >
> > > Check this:
> >
> > >http://source.android.com/roadmap/cupcake
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to