newbie cross-compile error in contrib dvdread configure
Posted: 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:
The make aborts in dvdread with the following complaint:
The offending line in dvdread/configure is
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:
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
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
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
Code: Select all
CC_CHECK_CFLAGS_APPEND(-Wall -Wsign-compare)
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])
Any ideas?
If it matters, my debian is running in VMWare Player 5.0.3 on CentOS