I've done exact the same as per description Chapter 7 in "F&S i.MX6 Linux First Steps".
The build in Chapter 7.5. fails with a too small xf86-input-tslib-0.0.6.tar.bz2.
Code
- --2015-06-17 13:44:05-- http://www.ptxdist.org/software/xf86-input-tslib/download/xf86-input-tslib-0.0.6.tar.bz2
- Auflösen des Hostnamen »www.ptxdist.org (www.ptxdist.org)«... 5.9.183.236, 2a01:4f8:162:4ffe:5054:ff:feaf:fc62
- Verbindungsaufbau zu www.ptxdist.org (www.ptxdist.org)|5.9.183.236|:80... verbunden.
- HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved Permanently
- Platz: http://www.pengutronix.de/software/ptxdist[folge]
- --2015-06-17 13:44:05-- http://www.pengutronix.de/software/ptxdist
- Auflösen des Hostnamen »www.pengutronix.de (www.pengutronix.de)«... 5.9.183.236, 2a01:4f8:162:4ffe:5054:ff:feaf:fc62
- Wiederverwendung der bestehenden Verbindung zu www.ptxdist.org:80.
- HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved Permanently
- Platz: http://www.pengutronix.de/software/ptxdist/[folge]
- --2015-06-17 13:44:05-- http://www.pengutronix.de/software/ptxdist/
- Wiederverwendung der bestehenden Verbindung zu www.ptxdist.org:80.
- HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
- Länge: 5675 (5,5K)
I copied the correct file (220kB) in "dl" --> "make" ends successful.
But: /etc/ld.so.cache in target and has only 64 Bytes.
here ist the error :
Code
- # Mandatory configuration file and auxilliary cache directory
- # for recent versions of ldconfig
- touch /home/t.fabian/Entwicklung/Armstone9/fsimx6-V2.0/testsystem/buildroot-2014.02-fsimx6-V2.0/output/target/etc/ld.so.conf
- mkdir -p /home/t.fabian/Entwicklung/Armstone9/fsimx6-V2.0/testsystem/buildroot-2014.02-fsimx6-V2.0/output/target/var/cache/ldconfig
- if [ -x "/home/t.fabian/Entwicklung/Armstone9/fsimx6-V2.0/testsystem/buildroot-2014.02-fsimx6-V2.0/output/host/usr/bin/arm-linux-ldconfig" ]; \
- then \
- /home/t.fabian/Entwicklung/Armstone9/fsimx6-V2.0/testsystem/buildroot-2014.02-fsimx6-V2.0/output/host/usr/bin/arm-linux-ldconfig -r /home/t.fabian/Entwicklung/Armstone9/fsimx6-V2.0/testsystem/buildroot-2014.02-fsimx6-V2.0/output/target; \
- else \
- /sbin/ldconfig -r /home/t.fabian/Entwicklung/Armstone9/fsimx6-V2.0/testsystem/buildroot-2014.02-fsimx6-V2.0/output/target; \
- fi
- /sbin/ldconfig: /lib/libc.so.6 bezieht sich auf die unbekannte Maschine 40.
- ....
- ....
- /sbin/ldconfig: /usr/lib/libXaw7.so.7.0.0 bezieht sich auf die unbekannte Maschine 40.
- ( \
- echo "NAME=Buildroot"; \
- echo "VERSION=2014.02"; \
- echo "ID=buildroot"; \
- echo "VERSION_ID=2014.02"; \
- echo "PRETTY_NAME=\"Buildroot 2014.02\"" \
- ) > /home/t.fabian/Entwicklung/Armstone9/fsimx6-V2.0/testsystem/buildroot-2014.02-fsimx6-V2.0/output/target/etc/os-release
- >>> Executing post-build script /home/t.fabian/Entwicklung/Armstone9/fsimx6-V2.0/testsystem/buildroot-2014.02-fsimx6-V2.0/board/f+s/fsimx6/final_script_std
Buildroot can't find ldconfig in the toolchain - there is only a ldconfig for the target, no cross-ldconfig for the host.
My /sbin/ldconfig is the version from suse 13.2 32-bit.
The file /etc/ld.so.cache in your file rootfs_std-fsimx6-V2.0.ext4 is 24kByte and a correct cache file....
Where is the cross-ldconfig ?
Thanks