17-03-2014, 17:58:58
Bonjour à tous,
Malgré une certaine dose de persévérance, j'aurais besoin d'aide....
Situation :
PC sous Ubuntu 10.04.2LTS
Obectif :
Préparer une chaine de compilation croisée pour RPI avec BSP sur mesure et support pour application Qt4
Base de travail :
BSP + Toolchain fabricega sur la base de ptxdist.
Ce que j'ai suivi :
Mon problème :
J'ai réussi à compiler la chaine de compilation croisée qui est sous /opt/....
L'installation de ptxdist est correcte.
Au moment de compiler le BSP (boot + kernel + rootfs) des erreurs dont je n'arrive pas à déterminer l'origine apparaissent et stop la compilation :
Malgré l'installation de divers paquets qui me semblaient en relation avec l'erreur ci-dessus, rien n'y fait, je suis au point mort !
Est ce que quelqu'un aurait essayé ce BSP fabricega ?
Merci de votre précieuse aide....
Bonne soirée.
Rey.
Malgré une certaine dose de persévérance, j'aurais besoin d'aide....
Situation :
PC sous Ubuntu 10.04.2LTS
Obectif :
Préparer une chaine de compilation croisée pour RPI avec BSP sur mesure et support pour application Qt4
Base de travail :
BSP + Toolchain fabricega sur la base de ptxdist.
Ce que j'ai suivi :
Code :
[== Indéfini ==]
OSELAS.BSP-RaspberryPi:
derived from: OSELAS.BSP-Pengutronix-Generic-2011.11.0
This PTXdist[1] based project supports:
- Raspberry Pi
For further information please read the following documents (part of this
archive):
For the generic PC (x86 architecture):
documentation/OSELAS.BSP-Pengutronix-Generic-x86-Quickstart.pdf
For the "versatilepb" (ARM architecture):
documentation/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf
More PTXdist related information can be found at [1].
Enjoy!
Your Pengutronix Development Team
[1] http://www.pengutronix.de/software/ptxdist/index_en.html
-----------------------------------
Install guidelines :
1 - install toolchain
OSELAS.Toolchain-2011.11.1
==========================
OSELAS.Toolchain for Raspberry Pi
First, install ptxdist-2011.11.0 and its dependencies:
$ apt-get install ...
$ wget ptxdist-2011.11.0.tar.bz2
$ tar -xjvf ptxdist-2011.11.0.tar.bz2
$ ./configure
$ sudo make install
Then, configure OSELAS.Toolchain-2011.11.1:
$ cd OSELAS.Toolchain-2011.11.1
$ ptxdist select ptxconfigs/arm-1176jzfs-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig
$ ptxdist go
2 - prepare BSP, then GO
==========================
First, install ptxdist-2012.10.0 and its dependencies:
$ apt-get install ...
$ wget ptxdist-2012.10.0.tar.bz2
$ tar -xjvf ptxdist-2012.10.0.tar.bz2
$ ./configure
$ sudo make install
Then, configure OSELAS.BSP-RaspberryPi
$ cd OSELAS.BSP-RaspberryPi:
$ ptxdist select configs/ptxconfig
$ ptxdist platform configs/raspberrypi-2012.10.0/platformconfig
$ ptxdist toolchain /opt/OSELAS.Toolchain-2011.11.1/arm-1176jzfs-linux-gnueabi/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/bin
$ ptxdist go
$ ptxdist images
Mon problème :
J'ai réussi à compiler la chaine de compilation croisée qui est sous /opt/....
L'installation de ptxdist est correcte.
Au moment de compiler le BSP (boot + kernel + rootfs) des erreurs dont je n'arrive pas à déterminer l'origine apparaissent et stop la compilation :
Code :
[== Indéfini ==]
---------------------------
target: libatasmart.prepare
---------------------------
checking for a BSD-compatible install... /usr/local/lib/ptxdist-2012.10.0/bin/install -c
checking whether build environment is sane... yes
..............
puis.......
checking pkg-config is at least version 0.9.0... yes
checking for LIBUDEV... no
configure: error: Package requirements (libudev >= 143) were not met:
No package 'libudev' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBUDEV_CFLAGS
and LIBUDEV_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Malgré l'installation de divers paquets qui me semblaient en relation avec l'erreur ci-dessus, rien n'y fait, je suis au point mort !
Est ce que quelqu'un aurait essayé ce BSP fabricega ?
Merci de votre précieuse aide....
Bonne soirée.
Rey.