trying cross compilation for mips but getting LIBTOOL error

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
gouravdata
New Cone
New Cone
Posts: 8
Joined: 18 Jan 2011 23:19

trying cross compilation for mips but getting LIBTOOL error

Postby gouravdata » 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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: trying cross compilation for mips but getting LIBTOOL er

Postby Jean-Baptiste Kempf » 04 Feb 2011 17:15

Run
libtoolize --version

to check.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

gouravdata
New Cone
New Cone
Posts: 8
Joined: 18 Jan 2011 23:19

Re: trying cross compilation for mips but getting LIBTOOL er

Postby gouravdata » 04 Feb 2011 17:22

Hi J-b

libtoolize 2.2.6

Plz suggest something, i am really looking for ur reply.

Thanks
Gourav

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: trying cross compilation for mips but getting LIBTOOL er

Postby Jean-Baptiste Kempf » 04 Feb 2011 17:40

Well, you shouldn't make inside src/fribidi
You should just make in extras/contrib/
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

gouravdata
New Cone
New Cone
Posts: 8
Joined: 18 Jan 2011 23:19

Re: trying cross compilation for mips but getting LIBTOOL er

Postby gouravdata » 04 Feb 2011 18:26

Hi j-b

I am running "make src" for /extra/contrib only. I am still getting the same error.

Path from where i am running
/home/gourav/Desktop/working/vlc-1.1.5/extras/contrib
./bootstrap mipsel-linux-uclibc
make src


I hope this is correct. Any other suggestion or something i m missing?

Thanks
Gourav

gouravdata
New Cone
New Cone
Posts: 8
Joined: 18 Jan 2011 23:19

Re: trying cross compilation for mips but getting LIBTOOL er

Postby gouravdata » 04 Feb 2011 18:39

Hi j-b
Just to make everything fine i did make disclean and again did bootstarpm make src
i got the following error

patching file fribidi/fribidi.pc.in
patching file fribidi/lib/fribidi-common.h
( cd fribidi; rm -f configure; ./bootstrap)
Usable autoreconf found, running
configure.ac:78: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:79: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
make[1]: *** [fribidi] Error 1
make[1]: Leaving directory `/home/gourav/Desktop/working/vlc-1.1.5/extras/contrib/src'
make: *** [using-src] Error 2


Regards
Gourav

gouravdata
New Cone
New Cone
Posts: 8
Joined: 18 Jan 2011 23:19

Re: trying cross compilation for mips but getting LIBTOOL er

Postby gouravdata » 05 Feb 2011 11:46

Hi

Can someone suggest what i am missing or what i need to do to fix this error.

Regards
Gourav


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: westyon3 and 64 guests