[email protected] writes: > Hi, > > for the past week, I've been trying to build SHR as per the instructions from > http://www.shr-project.org/trac/wiki/Building%20SHR > > I've tried all the different v(shr-stable, testing, unstable, and even shr- > core). Building failed for various reasons. I can't list them all here, but I > hope you can tell me what to do to build it. > > My goal is to get a custom version of jamvm to build and run on the > Freerunner. > > My Buildhost is x86_64 with Debian unstable using the parallel-build flags in > local.conf.
Also a bit new in SHR recompiling... I succeeded a few days a go rebuilding a full image (shr unstable) using as host a 32 bits Debian Lenny host. No // flag. For target GTA02. I understand from the instruction that you have to rebuild such an image BEFORE doing your own stuff, did you? > The problems I've encountered so far are > - bootstrapping related: the bootstrapping directory lacked tclsh which was > necessary to build certain packages. Then there were link errors with libxml2 > which I solved by building the -native version and copying that into the > bootstrap directory. There were a few other packages that I fixed in the same > way. > - dependency-related: calling bitbake multiple times fixed it, or manually > building some -native packages fixed it > > One suspicious thing that I'm wondering about is this in the configuration > log: > Build Configuration: > BB_VERSION = "1.13.3" > METADATA_BRANCH = "master" > METADATA_REVISION = "error: object directory .git/objects/replace git object > reference with relative path echo ../../../../openembedded/.git/objects/ git > checkout master does not exist; check .git/objects/info/alternates. I got also that error, but it proved harmless. > b557ba5" > TARGET_ARCH = "arm" > TARGET_OS = "linux-gnueabi" > MACHINE = "om-gta02" > DISTRO = "shr" > DISTRO_VERSION = "-20110819" > TARGET_FPU = "soft" > > > One thing that I don't understand is why 'bitbake jamvm' would need a native > X11 to be compiled. X11 for the target would be OK, but native? Not that I'd > mind, but some problems of compiling X11 were not resolvable by me, the last > one was that a configure script said "C compiler cannot create executables". > And that after compiling hundreds of packages... I still have to find some decent explanation about how to configure the bitbake process. That would allow you to get a grip at that kind of behaviour. The instructions at http://www.shr-project.org/trac/wiki/Building%20SHR should warn about the huge disk space needed (20GB) to build an image first time, and the quite melting temperature which will be forced upon your CPU for hours :) Regards. -- Bernard _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
