Dang! I did... thanks... Must still have crud in my eyes... now i have a myriad of errors and warnings to deal with... I wonder if that has anything to do with the version of my GCC
final snippet of the errors " external/genext2fs/genext2fs.c:2708: warning: incompatible implicit declaration of built-in function ‘strchr’ external/genext2fs/genext2fs.c:2710: warning: incompatible implicit declaration of built-in function ‘snprintf’ external/genext2fs/genext2fs.c:2712: warning: incompatible implicit declaration of built-in function ‘fprintf’ external/genext2fs/genext2fs.c:2713: error: too many arguments to function ‘flist_blocks’ external/genext2fs/genext2fs.c:2719: error: too many arguments to function ‘dump_fs’ external/genext2fs/genext2fs.c:2723: error: ‘stdout’ undeclared (first use in this function) external/genext2fs/genext2fs.c:2723: error: too many arguments to function ‘dump_fs’ external/genext2fs/genext2fs.c:2542: warning: unused variable ‘longopts’ make: *** [out/host/linux-x86/obj/EXECUTABLES/genext2fs_intermediates/ genext2fs.o] Error 1 " I wonder if there's any compat-gcc for ubuntu, because my current GCC seems not to have the proper headers. (GCC installed is gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3) ) Thanks... if anyone can steer me in the proper direction I would appreciate it, right now I'll try downgrading my GCC and see if that improves anything. On Jan 6, 9:50 am, "Chen Yang" <[email protected]> wrote: > you have one typo in your command, missed the last 'g': > it should be > "TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true > CC=gcc-4.2 CXX=g++-4.2 make -j2 installer_img" > > On Tue, Jan 6, 2009 at 9:24 AM, drew <[email protected]> wrote: > > > Hi, I'm running Ubuntu 8.04 with java-6-sun and tried to compile the > > android cupcake branch but ended up with this message > > > " > > make: *** No rule to make target `installer_im'. Stop. > > " > > that error occurred right after I made this command > > " > > TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true > > CC=gcc-4.2 CXX=g++-4.2 make -j2 installer_im > > " > > my gcc version is > > > Using built-in specs. > > Target: i486-linux-gnu > > Configured with: ../src/configure -v --enable-languages=c,c+ > > +,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with- > > system-zlib --libexecdir=/usr/lib --without-included-gettext --enable- > > threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 > > --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug -- > > enable-objc-gc --enable-mpfr --enable-targets=all --enable- > > checking=release --build=i486-linux-gnu --host=i486-linux-gnu -- > > target=i486-linux-gnu > > Thread model: posix > > gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3) > > > I can't figure out why the makefile is incomplete, can anyone help? > > > On Jan 6, 5:52 am, mowgli <[email protected]> wrote: > > > The cupcake branch(checked out today) builds right out of the box on > > > 8.04. I had no issues building and running it (x86 version). There are > > > a few 64 bit dependencies for ubuntu which needs to be installed prior > > > to building the tree, most of which is listed in source.android.com > > > You may have to install additional missing packages based on your > > > ubuntu configuration. We had already done that for the open source 1.0 > > > version released in end of October. Having done that, the cupcake > > > build does not have any issues. > > > > On Jan 5, 1:04 pm, "David Turner" <[email protected]> wrote: > > > > > Can you give more details about the issues. I'm not sure we known about > > all > > > > of them. > > > > the "tool chain leakage" seems interesting/new. > > > > > On Mon, Jan 5, 2009 at 5:00 PM, markgross <[email protected]> > > wrote: > > > > > > Last weekend I built Android cupcake on a ubutu 8.10 host for X86. I > > > > > found a number of places where I needed to update the source code to > > > > > do the right things WRT C and C++ standard libraries for algorithm, > > > > > string, strings.h. > > > > > > It seems that there is tool chain leakage from the host into the > > build > > > > > and the source code is not portable to newer compilers. > > > > > > Are these known bugs google? Is someone already working fixes? > > > > > > --mgross --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
