SDK-hints

From RidgeRun Developer Connection
Jump to: navigation, search

This section includes some tips that can help the user during the installation of the SDK for OMAP-L138 Hawkboard in order to speed up the installation process, it is divided into stages to make easier it's understanding.

Packages needed

  • In order to get an appropriate compilation of the SDK for OMAP-L138 Hawkboard, the following packages must be installed: libdbus-glib-1-dev, gperf and quilt.
$ sudo apt-get install libdbus-glib-1-dev gperf quilt

Configuration Stage

  • In some systems before configuring the SDK (make config) it may be necessary to set bash as the default shell, this will be requested by the system with the following message:
bash is not your default shell

in this cases the following two commands must be entered:

$ sudo rm /bin/sh
  sudo ln -s /usr/bin/bash /bin/sh
  • Furthermore, the package named gstd shouldn't be included, in the configuration window go to File System Configuration->Select target's file system software and uncheck the package named gstd.

Compilation Stage

  • If the system used to compile the SDK has a newer version of libtool than the version used by the SDK the compilation process will fail and the following error will be shown:
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again

to fix this, the file local.tools (located in <yourSDKlocation>/OMAPL138SDK880207/bsp/oscheck) must be edited, the last line must be commented as is shown in the following example:

#mtd-tools:mtd-utils-git
automake:automake-1.11
valac:vala-0.7.9
#libtool:libtool-2.2.6

Finally, go to the directory <yourSDKlocation>/OMAPL138SDK880207/proprietary/gst-dmai-plugins and run the following commands:

$make
$autoreconf 
$quilt pop

Now, all should be ready to compile the SDK, then go to <yourSDKlocation>/OMAPL138SDK880207 and run:

$make
  • During the compilation process you will need an username/password:
username:anonymous
password:<press enter>