Problem as cross compile vlc-1.1.4 to MIPS

*nix specific usage questions
zhangtower
Blank Cone
Blank Cone
Posts: 34
Joined: 04 Feb 2008 04:28

Problem as cross compile vlc-1.1.4 to MIPS

Postby zhangtower » 22 Oct 2010 08:01

i want to corss compile vlc-1.1.4 to a MIPS platform, i can configure and make the source successfully,
but there is no lib*.so file generated in the modules directory, many *.la and *.lo files generated in the modules directory.
and then i execute "make install", the error message display as follow:
make[5]: Entering directory `/home/smp2/vlc/vlc-1.1.4/modules'
if test -z ""; then \
../bin/vlc-cache-gen "/usr/lib/vlc/plugins" ; \
else \
echo "Staged installation: cache generation skipped!" ; \
fi
/bin/bash: line 1: ../bin/vlc-cache-gen: cannot execute binary file
make[5]: *** [install-exec-hook] Error 126
make[5]: Leaving directory `/home/smp2/vlc/vlc-1.1.4/modules'
make[4]: *** [install-exec-am] Error 2
make[4]: Leaving directory `/home/smp2/vlc/vlc-1.1.4/modules'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/smp2/vlc/vlc-1.1.4/modules'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/smp2/vlc/vlc-1.1.4/modules'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/smp2/vlc/vlc-1.1.4'
make: *** [install] Error 2

i don't know the reason and how to do, please somebody help me !
thanks!!!

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Problem as cross compile vlc-1.1.4 to MIPS

Postby Rémi Denis-Courmont » 22 Oct 2010 18:14

You can't just "make install" when cross-compiling. That would overwrite your build system with cross-compiled binaries.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

zhangtower
Blank Cone
Blank Cone
Posts: 34
Joined: 04 Feb 2008 04:28

Re: Problem as cross compile vlc-1.1.4 to MIPS

Postby zhangtower » 25 Oct 2010 05:29

OK,I solve the problem!

richardsycheng
New Cone
New Cone
Posts: 1
Joined: 05 Jan 2011 13:06

Re: Problem as cross compile vlc-1.1.4 to MIPS

Postby richardsycheng » 05 Jan 2011 13:30

Hi,

I also cross compile the vlc-1.1.4 on mips platform and encounter the same ploblem as yours while make install. Could you tell me how to fix the problem?

Thanks!

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: Problem as cross compile vlc-1.1.4 to MIPS

Postby Jean-Baptiste Kempf » 05 Jan 2011 17:32

Do not make install
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.

alonm
New Cone
New Cone
Posts: 1
Joined: 29 Nov 2011 11:33

Re: Problem as cross compile vlc-1.1.4 to MIPS

Postby alonm » 29 Nov 2011 12:27

Since I can't use "make install" when cross-compiling, what is the right procedure to install the package on the target?
Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Problem as cross compile vlc-1.1.4 to MIPS

Postby Rémi Denis-Courmont » 29 Nov 2011 14:27

Whatever the packaging system of the target is...

Usually, you first run something like 'make install DESTDIR=/tmp/buildroot' and then let the packaging system do its job.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests