[FE training-materials-updates] thirdparty lab: remove obsolete part at the end

Michael Opdenacker michael.opdenacker at free-electrons.com
Fri Nov 10 08:52:03 CET 2017


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=481f23811a51753000dc7fe089c706c28a9eed90

>---------------------------------------------------------------

commit 481f23811a51753000dc7fe089c706c28a9eed90
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Fri Nov 10 08:52:03 2017 +0100

    thirdparty lab: remove obsolete part at the end
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

481f23811a51753000dc7fe089c706c28a9eed90
 labs/sysdev-thirdparty/sysdev-thirdparty.tex | 35 ----------------------------
 1 file changed, 35 deletions(-)

diff --git a/labs/sysdev-thirdparty/sysdev-thirdparty.tex b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
index eaf2f68..cead528 100644
--- a/labs/sysdev-thirdparty/sysdev-thirdparty.tex
+++ b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
@@ -911,44 +911,9 @@ cp -a staging/usr/bin/ogg* target/usr/bin
 arm-linux-strip target/usr/bin/ogg*
 \end{verbatim}
 
-
 You can now test that everything works! Run \code{ogg123} on the
 sample file found in \code{thirdparty/data}.
 
-There should still be one missing C library object. Copy it, and you
-should get:
-
-\begin{verbatim}
-ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libalsa.so => dlopen() failed
-=== Could not load default driver and no driver specified in config file. Exiting.
-\end{verbatim} 
-
-This error message is unfortunately not sufficient to figure out what's going wrong.
-It's a good opportunity to use the \code{strace} utility to get more details about
-what's going on. To do so, copy \code{strace} that was built inside the toolchain
-to \code{target/usr/bin}.
-
-You can now run \code{ogg123} through \code{strace}:
-\begin{verbatim}
-strace ogg123 /sample.ogg
-\end{verbatim}
-
-You can see that the command fails to open the \code{ld-uClibc.so.1} file:
-\begin{verbatim}
-open("/lib/ld-uClibc.so.1", O_RDONLY)   = -1 ENOENT (No such file or directory)
-open("/lib/ld-uClibc.so.1", O_RDONLY)   = -1 ENOENT (No such file or directory)
-open("/usr/lib/ld-uClibc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
-open("/usr/X11R6/lib/ld-uClibc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
-open("/home/tux/embedded-linux-labs/thirdparty/staging/usr/lib/ld-uClibc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
-write(2, "ERROR: Failed to load plugin ", 29ERROR: Failed to load plugin ) = 29
-write(2, "/usr/lib/ao/plugins-4/libalsa.so", 32/usr/lib/ao/plugins-4/libalsa.so) = 32
-write(2, " => dlopen() failed\n", 20 => dlopen() failed
-\end{verbatim}
-
-Now, look for \code{ld-uClibc.so.1} in the toolchain. You can see that both \code{ld-uClibc.so.1}
-and \code{ld-uClibc.so.0} are symbolic links to the same file. So, create the missing
-link under \code{target/lib} and run \code{ogg123} again.
-
 Everything should work fine now. Enjoy the sound sample!
 
 To finish this lab completely, and to be consistent with what we've done before,




More information about the training-materials-updates mailing list