[FE training-materials-updates] sysdev labs: Fix verbatim size

Alexandre Belloni alexandre.belloni at free-electrons.com
Wed Jul 30 18:44:33 CEST 2014

Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=787691f722390cc12fd6afa657dee7ff78b4ad5b


commit 787691f722390cc12fd6afa657dee7ff78b4ad5b
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date:   Wed Jul 30 18:43:52 2014 +0200

    sysdev labs: Fix verbatim size
    Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>


 labs/sysdev-real-time/sysdev-real-time.tex   |    5 +++--
 labs/sysdev-thirdparty/sysdev-thirdparty.tex |    7 +++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/labs/sysdev-real-time/sysdev-real-time.tex b/labs/sysdev-real-time/sysdev-real-time.tex
index 4b6a42c..6672a9d 100644
--- a/labs/sysdev-real-time/sysdev-real-time.tex
+++ b/labs/sysdev-real-time/sysdev-real-time.tex
@@ -111,10 +111,11 @@ toolchain that Buildroot used.
 Let's configure our \code{PATH} to use this toolchain:
+export PATH=$HOME/felabs-sysdev/realtime/rttest/buildroot-2014.05/output/host/usr/bin:$PATH
 Have a look at the \code{rttest.c} source file available in
 \code{root/} in the \code{nfsroot/} directory. See how it shows the
diff --git a/labs/sysdev-thirdparty/sysdev-thirdparty.tex b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
index f9aea4e..65302e3 100644
--- a/labs/sysdev-thirdparty/sysdev-thirdparty.tex
+++ b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
@@ -146,12 +146,14 @@ use.
 Quickly, you should get an error saying:
 checking whether we are cross compiling... configure: error: in `.../thirdparty/alsa-lib-1.0.28':
 configure: error: cannot run C compiled programs.
 If you meant to cross compile, use `--host'.
 See `config.log' for more details
 If you look at the config.log file, you can see that the configure
 script compiles a binary with the cross-compiler and then tries to run
@@ -577,8 +579,7 @@ Configuring {\em libogg} is very similar to the configuration of the
 previous libraries:
-CC=arm-linux-gcc ./configure --host=arm-linux \
-                             --prefix=/usr
+CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/usr
 Of course, compile the library:
@@ -833,6 +834,7 @@ missing. This is because the configure script, in curl's case, didn't
 actually test whether it was available or not, but just assumed it was.
 It may also fail with the following cryptic message:
 if arm-linux-gcc -DSYSCONFDIR=\"/usr/etc\" -DLOCALEDIR=\"/usr/share/locale\"
  -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I../include -I../intl
@@ -852,6 +854,7 @@ make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/ubuntu/felabs-sysdev/thirdparty/vorbis-tools-1.4.0'
 make: *** [all] Error 2
 You can notice that \code{/usr/include} is added to the include paths.
 Again, this is not what we want because it contains includes for the

More information about the training-materials-updates mailing list