Usually Ubuntu 10 32bit or Ubuntu 12 32 bit is used for LTIB.
Use the following command sequence for LTIB using under Ubuntu 14.
sudo apt-get install autoconf automake libtool gettext xorg-dev patch g++ rpm zlib1g-dev m4 bison libncurses5-dev libglib2.0-dev gettext build-essential tcl intltool libxml2-dev liborbit2-dev libx11-dev ccache flex uuid-dev liblzo2-dev
sudo apt-get install mtd-utils
sudo aptitude -y install ia32-libs libc6-dev-i386 lib32z1
+++++++++++++++++++++++++++++++++++++++
// comment in the "ltib" file
glibc 2.2.4
glibc-headers 0
# glibc-devel 0
binutils 2.11.90
libstdc++ 0
gcc 2.96
gcc-c++ 2.96
sudo 0
# zlib 0
zlib-devel 0
rpm 0
# rpm-build 0
wget 0
ncurses 5.1
ncurses-devel 0
m4 0
bison 0
patch 0
# flex 0 # added to the host packages we install
# texinfo 0 # added to the host packages we install
gettext 0
# autoconf 2.54 # added to the host packages we install
# libtool 1.4.2 # added to the host packages we install
# byacc 0 # needed? report was for 8548 install
++++++++++++++++++++++++++++++++++++++++
To configure this, as root using the command "/usr/sbin/visudo",
and add the following line in the User privilege section:
pavel ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
+++++++++++++++++++++++++++++++++++++++++
// remove the lkc-1.4 folder if this folder is prsent in the /opt/freescale/ltib/usr/src/rpm/BUILD folder
// Use oneiricltibpatch.tgz
// this patch changes
// lkc.spec in the /ltib-mpc8360epb-20071016/dist/lfs-5.1/lkc folder
// sparse.spec in the /ltib-mpc8360epb-20071016/dist/lfs-5.1/sparse folder
// adds lkc-1.4-lib.patch lkc-1.4-lib.patch.md5 sparse-0.4-fixlabel.patch sparse-0.4-fixlabel.patch.md5
// to the /opt/freescale/pkgs folder
++++++++++++++++++++++++++++++++++++++++
// if the re is the folder "mtd" in the folder "/opt/freescale/ltib/usr/src/rpm/BUILD", delete this "mtd" folder and
// chnge the "/opt/freescale/pkgs/mtd-utils-20060302-cf-byteswap_h-1.patch" file.
// Find the following lines:
+#if !defined _BYTESWAP_H && !defined _NETINET_IN_H
+# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
+#endif
// modify this line to the following:
+//#if !defined _BYTESWAP_H && !defined _NETINET_IN_H
+//# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
+//#endif
Have a great day,
Pavel Chubakov
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------