Armadeus 3.2 Troubleshots

From ArmadeusWiki
Revision as of 17:40, 31 March 2010 by JulienB (Talk | contribs) (tslib)

Jump to: navigation, search

mtd-utils problem

Problem

Since the release of Armadeus 3.2 the mtd-utils archive format has changed and if you hadn't already download it before, you will have that kind of error when building:

gzip -d -c /home/xxx/armadeus-3.2/buildroot/../downloads/mtd-utils-a8ce7c2668ef0781326f629eef02cef6c3962b8a.tar.gz | tar -C /home/xxx/armadeus-3.2/buildroot/build_armv5te   -xf -
rm -rf /home/xxx/armadeus-3.2/buildroot/build_armv5te/mtd-utils-a8ce7c2668ef0781326f629eef02cef6c3962b8a
mv /home/xxx/armadeus-3.2/buildroot/build_armv5te/mtd-utils /home/xxx/armadeus-3.2/buildroot/build_armv5te/mtd-utils-a8ce7c2668ef0781326f629eef02cef6c3962b8a
mv: cannot stat `/home/xxx/armadeus-3.2/buildroot/build_armv5te/mtd-utils': No such file or directory
make[1]: *** [/home/xxx/armadeus-3.2/buildroot/build_armv5te/mtd-utils-a8ce7c2668ef0781326f629eef02cef6c3962b8a/.unpacked] Error 1
make[1]: Leaving directory `/home/xxx/armadeus-3.2/buildroot'
make: *** [all] Error 2

This problem has been corrected in GIT repository, but still remains for armadeus-3.2

Solution

Apply the following correction:

$ cd armadeus-3.2
$ wget http://www.armadeus.com/_downloads/misc/armadeus-26a5a427520259cbccb2fbb0c719431bc2e7ad00.patch
$ patch -p1 < armadeus-26a5a427520259cbccb2fbb0c719431bc2e7ad00.patch
$ rm downloads/mtd-utils-a8ce7c2668ef0781326f629eef02cef6c3962b8a.tar.gz
$ make

tslib compilation on Ubuntu >= 9.10

Problem

Ubuntu uses new version of automake, incompatible with some modifications done in tslib makefile

Solution 1 (downgrade automake)

http://www.armadeus.com/wiki/index.php?title=LinuxInstall#Ubuntu

Solution 2 (if you don't plan to use Pygame on the APF)

$ rm buildroot/package/tslib/tslib-1.0-zzz-prevents_unresolved_symbols.patch
$ make tslib-dirclean
$ make