trying cross compilation for mips but getting LIBTOOL error
Posted: 04 Feb 2011 17:11
Hi
I am trying to compile vlc 1.15 with mips tool chain. I am running following command
PATH=/opt/toolchain//bin:$PATH
cd extra/contrib
./bootstrap mips-linux-uclib
make src
cd src/fribidi
After running this ./configure goes fine. But when i run make i am getting following errors.
make: Warning: File `Makefile' has modification time 1.5e+04 s in the future
cd . && /bin/bash /home/gourav/Desktop/working/vlc-1.1.5/extras/contrib/src/fribidi/missing --run automake-1.11 --gnits
charset/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
charset/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
charset/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
charset/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
charset/Makefile.am:1: its definition is in aclocal's search path.
lib/Headers.mk:22: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
doc/Makefile.am:26: `lib/Headers.mk' included from here
lib/Headers.mk:22: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
lib/Makefile.am:26: `lib/Headers.mk' included from here
lib/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
lib/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
lib/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again.
lib/Makefile.am:3: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
lib/Makefile.am:3: its definition is in aclocal's search path.
test/Makefile.am:25: `%'-style pattern rules are a GNU make extension
make: *** [Makefile.in] Error 1
I did lot of google but found that libtool is missing. But i have libtool install in my system. I have autoconf, automake, aclocal, gettext installed and their version is given below.
aclocal (GNU automake) 1.11.1
automake (GNU automake) 1.11.1
autoconf (GNU Autoconf) 2.68
gettext (GNU gettext-runtime) 0.18.1
ltmain.sh (GNU libtool) 2.2.6
pkg-config .25
But i am still getting the error. Can someone please tell me what should i do. I am stuck at this point since last 2 days.
Please give some input so that i can do something further.
Gourav
I am trying to compile vlc 1.15 with mips tool chain. I am running following command
PATH=/opt/toolchain//bin:$PATH
cd extra/contrib
./bootstrap mips-linux-uclib
make src
cd src/fribidi
After running this ./configure goes fine. But when i run make i am getting following errors.
make: Warning: File `Makefile' has modification time 1.5e+04 s in the future
cd . && /bin/bash /home/gourav/Desktop/working/vlc-1.1.5/extras/contrib/src/fribidi/missing --run automake-1.11 --gnits
charset/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
charset/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
charset/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.
charset/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
charset/Makefile.am:1: its definition is in aclocal's search path.
lib/Headers.mk:22: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
doc/Makefile.am:26: `lib/Headers.mk' included from here
lib/Headers.mk:22: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
lib/Makefile.am:26: `lib/Headers.mk' included from here
lib/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
lib/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
lib/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again.
lib/Makefile.am:3: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
lib/Makefile.am:3: its definition is in aclocal's search path.
test/Makefile.am:25: `%'-style pattern rules are a GNU make extension
make: *** [Makefile.in] Error 1
I did lot of google but found that libtool is missing. But i have libtool install in my system. I have autoconf, automake, aclocal, gettext installed and their version is given below.
aclocal (GNU automake) 1.11.1
automake (GNU automake) 1.11.1
autoconf (GNU Autoconf) 2.68
gettext (GNU gettext-runtime) 0.18.1
ltmain.sh (GNU libtool) 2.2.6
pkg-config .25
But i am still getting the error. Can someone please tell me what should i do. I am stuck at this point since last 2 days.
Please give some input so that i can do something further.
Gourav