Armadeus 3.2 Troubleshots

From ArmadeusWiki
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)

Warning Warning: For Ubuntu 9.10, it is required to use Automake version 1.10 instead of the one proposed by default 1.11:
 $ sudo apt-get install automake1.10
 $ sudo apt-get remove automake

Otherwise you may experience problems while compiling tslib:

libtool: install: error: cannot install `linear.la' to a directory not ending in


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

uClibc 0.9.29 archive download

Problem

Archive has moved on uClibc server:

wget --passive-ftp   -P /home/julien/workspace/armadeus-3.2/buildroot/../downloads http://www.uclibc.org/downloads/uClibc-0.9.29.tar.bz2
--2010-04-07 11:33:33--  http://www.uclibc.org/downloads/uClibc-0.9.29.tar.bz2
Resolving www.uclibc.org... 140.211.167.224
Connecting to www.uclibc.org|140.211.167.224|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-04-07 11:33:34 ERROR 404: Not Found.

make[1]: *** [/home/julien/workspace/armadeus-3.2/buildroot/../downloads/uClibc-0.9.29.tar.bz2] Error 1
make[1]: Leaving directory `/home/julien/workspace/armadeus-3.2/buildroot'
make: *** [all] Error 2

Solution

  • get it manually:
$ wget -P downloads/ http://www.uclibc.org/downloads/old-releases/uClibc-0.9.29.tar.bz2
$ make