newbie cross-compile error in contrib dvdread configure

*nix specific usage questions
mvwhyatt
New Cone
New Cone
Posts: 3
Joined: 30 Dec 2013 21:08

newbie cross-compile error in contrib dvdread configure

Postby mvwhyatt » 30 Dec 2013 21:53

I am cross-compiling VLC-2.1.2 on a fresh install of debian 7.2 64-bit for Win32, faithfully following the steps here:
https://wiki.videolan.org/Win32Compile/

Using the pre-compiled contrib's has failed repeatedly due to inability to run contrib's 32-bit executables on 64-bit debian (FYI: lua failed first, probably others will too). This despite installing ia32-libs as suggested (FYI: after following several different instructions unsuccessfully, this is what finally worked: sudo apt-get build-dep -a i386 ia32-libs).

So I have decided to manually build the contribs. I have fetched the contribs and am making them:

Code: Select all

cd contrib/win32 ./bootstrap --host=i686-w64-mingw32 make fetch make
The make aborts in dvdread with the following complaint:

Code: Select all

./configure: line 12741: syntax error near unexpected token `-Wall' ./configure: line 12741: `CC_CHECK_CFLAGS_APPEND(-Wall -Wsign-compare)' make: *** [.dvdread] Error 2
The offending line in dvdread/configure is

Code: Select all

CC_CHECK_CFLAGS_APPEND(-Wall -Wsign-compare)
When I grep for CC_CHECK_CFLAGS_APPEND in the other contrib's directories I notice they all have a configure.ac file containing a similar but not identical line (note the brackets inside the parenthesis) but no such line is found in any of their configure files:

Code: Select all

$ grep -s CC_CHECK_CFLAGS_APPEND ./*/* ./bluray/configure.ac:CC_CHECK_CFLAGS_APPEND([-Wall -Wdisabled-optimization -Wpointer-arith ]dnl ./bluray/configure.ac:CC_CHECK_CFLAGS_APPEND([-Werror=implicit-function-declaration ]dnl ./bluray/configure.ac: CC_CHECK_CFLAGS_APPEND([-Wextra -Winline]) ./bluray/configure.ac: CC_CHECK_CFLAGS_APPEND([-O3 -fomit-frame-pointer]) ./dvdcss/configure.ac:CC_CHECK_CFLAGS_APPEND([-Wall -Wsign-compare]) ./dvdread/configure:CC_CHECK_CFLAGS_APPEND(-Wall -Wsign-compare) ./dvdread/configure.ac:CC_CHECK_CFLAGS_APPEND([-Wall -Wsign-compare])
I tried changing the offending line in dvdread/configure to have the brackets, but this changed nothing.

Any ideas?

If it matters, my debian is running in VMWare Player 5.0.3 on CentOS

katiem
Blank Cone
Blank Cone
Posts: 18
Joined: 12 Apr 2013 14:31

Re: newbie cross-compile error in contrib dvdread configure

Postby katiem » 03 Jan 2014 20:16

I have the same issue on linux...

Smoke
Blank Cone
Blank Cone
Posts: 11
Joined: 30 Oct 2013 05:35

Re: newbie cross-compile error in contrib dvdread configure

Postby Smoke » 08 Feb 2014 10:29

Me too.
Anyone knew what`t going on?
What should I do?


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

Who is online

Users browsing this forum: No registered users and 5 guests