On Sat, Aug 20, 2011 at 10:43:36AM +0200, [email protected] wrote: > 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.
If your SHR makefile allowed to call setup-shr-stable, then it was very old and maybe broken, see: http://git.shr-project.org/git/?p=shr-makefile.git;a=commit;h=7fc9adc59b77bc64f81f1a5f70a7982aebcd42e9 > > 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. Have you tried shr-chroot as described in that wiki page? > 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 I'm not building shr-unstable or shr-testing anymore (only shr-core where you won't find jamvm yet), but lately there were reports about bitbake master (1.13.3) handling depends with old OE (shr-u, shr-t) badly. Please try to downgrade bitbake by switching bitbake branch from master to 1.12 or 1.10. > 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. > b557ba5" > TARGET_ARCH = "arm" > TARGET_OS = "linux-gnueabi" > MACHINE = "om-gta02" > DISTRO = "shr" > DISTRO_VERSION = "-20110819" > TARGET_FPU = "soft" This should be fixed yesterday by: http://git.shr-project.org/git/?p=shr-makefile.git;a=commit;h=e1e95b0f611fbcf513437b2726bbdb3999908546 but that will fix only new checkouts, you can fix yours by echo "../../../../openembedded/.git/objects/" > .git/objects/info/alternates in ie shr-unstable/openembedded directory > 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 many packages needs their -native version to cross compile (ie when they build some tool used later in tests or for build itself) to see what exactly pulls native X11 for jamvm use "bitbake -g jamvm" > one was that a configure script said "C compiler cannot create executables". > And that after compiling hundreds of packages... "C compiler cannot create executables" is usually sign of something wrong with cross toolchain, see clean_toolchain alias in http://git.shr-project.org/git/?p=shr-chroot.git;a=blob;f=OE/.bashrc;h=4ec07433895502545399b6275639db84675fa5a0;hb=HEAD to rebuild toolchain Regards, -- Martin 'JaMa' Jansa jabber: [email protected]
signature.asc
Description: Digital signature
_______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
