OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: realm on April 17, 2007, 06:34:21 pm

Title: Pdaxrom Builder Build Problems, + Some Workarounds
Post by: realm on April 17, 2007, 06:34:21 pm
i just pulled everything down from the svn repository, building on a gentoo box.

I tried building pdaxrom with the builder a few months ago and ran into problems, assuming maybe there was a bug in the current code in the svn repository i forgot about the project for a while and worked on other things. decided to give it another go now with the new release thats coming out. I'm still not getting clean builds though so i figured this was the best place to ask about it.

i built as per instructions on http://www.pdaxrom.org/?q=node/101 (http://www.pdaxrom.org/?q=node/101)
running:

mkdir pdaXrom-builder
cd pdaXrom-builder
svn checkout https://mail.pdaXrom.org/svn/pdaXrom-builder/trunk (https://mail.pdaXrom.org/svn/pdaXrom-builder/trunk)
cd trunk
./configure akita-kernel-2.6-xtools ../myrom http://mail.pdaXrom.org/src (http://mail.pdaXrom.org/src)
cd ../myrom
make virtual-xchain_install
make archive-toolchain
make clean
./configure akita-kernel-2.6-rom_2.6.18
make world

1. when running make world, when it gets to automake and tries to copy all of its files from aclocal to aclocal-1.9 it fails becaus aclocal-1.9 is a symlink to aclocal, i killed the symlink and just made a directory pointing there to get past it. i'm not very familiar with makefiles, so i'm not sure where to look for where this happens, i tried to grep around a little with no avail.

2. when it tries to grab the kernel source from http://pdaxrom.org/src/linux-2.6.18.tar.bz2 (http://pdaxrom.org/src/linux-2.6.18.tar.bz2) it downlaods something only half a meg in size. i grabbed the full kernel from kernel.org and the kernel was built, but modules had unresolved symbols.

3.  once the build got to libpango cairo-1.0 it can't find the zlib library, even though the build system already built it. the linker is looking for /lib/libz.so when it really lives in /opt/cross/arm/3.4.6-xscale-softcfp-akita/armv5tel-cacko-linux/lib in the build line that is included with -L so it should be searching for libs there in the first place, still working on this.
Title: Pdaxrom Builder Build Problems, + Some Workarounds
Post by: wrc4 on April 17, 2007, 11:45:21 pm
Quote
i just pulled everything down from the svn repository, building on a gentoo box.

I tried building pdaxrom with the builder a few months ago and ran into problems, assuming maybe there was a bug in the current code in the svn repository i forgot about the project for a while and worked on other things. decided to give it another go now with the new release thats coming out. I'm still not getting clean builds though so i figured this was the best place to ask about it.

i built as per instructions on http://www.pdaxrom.org/?q=node/101 (http://www.pdaxrom.org/?q=node/101)
running:

mkdir pdaXrom-builder
cd pdaXrom-builder
svn checkout https://mail.pdaXrom.org/svn/pdaXrom-builder/trunk (https://mail.pdaXrom.org/svn/pdaXrom-builder/trunk)
cd trunk
./configure akita-kernel-2.6-xtools ../myrom http://mail.pdaXrom.org/src (http://mail.pdaXrom.org/src)
cd ../myrom
make virtual-xchain_install
make archive-toolchain
make clean
./configure akita-kernel-2.6-rom_2.6.18
make world

1. when running make world, when it gets to automake and tries to copy all of its files from aclocal to aclocal-1.9 it fails becaus aclocal-1.9 is a symlink to aclocal, i killed the symlink and just made a directory pointing there to get past it. i'm not very familiar with makefiles, so i'm not sure where to look for where this happens, i tried to grep around a little with no avail.

2. when it tries to grab the kernel source from http://pdaxrom.org/src/linux-2.6.18.tar.bz2 (http://pdaxrom.org/src/linux-2.6.18.tar.bz2) it downlaods something only half a meg in size. i grabbed the full kernel from kernel.org and the kernel was built, but modules had unresolved symbols.

3.  once the build got to libpango cairo-1.0 it can't find the zlib library, even though the build system already built it. the linker is looking for /lib/libz.so when it really lives in /opt/cross/arm/3.4.6-xscale-softcfp-akita/armv5tel-cacko-linux/lib in the build line that is included with -L so it should be searching for libs there in the first place, still working on this.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=159112\")

You need to use the correct svn server and source server, see this thread:
[a href=\"https://www.oesf.org/forums/index.php?showtopic=23620]https://www.oesf.org/forums/index.php?showtopic=23620[/url]
Title: Pdaxrom Builder Build Problems, + Some Workarounds
Post by: realm on April 22, 2007, 10:59:39 pm
i rebuild everything with the new info in the development doc's, but i'm still getting the same errors.