Page 1 of 1
VLC compile for IOS broken since a fw days
Posted: 02 Aug 2012 11:45
by ebeckers
Since a few days i cannot compile VLC for IOS anymore
It was able to compile the latest git version perfectly until a few days ago
Could somebody look into this?
Thx
Erwin
Re: VLC compile for IOS broken since a fw days
Posted: 02 Aug 2012 12:35
by fkuehne
Impossible to fix without compilation log and details on Xcode / iOS SDK version.
Re: VLC compile for IOS broken since a fw days
Posted: 02 Aug 2012 13:06
by ebeckers
OK.. it compiled nicely last week on multiple machines and now fails to compile on all those machines
I use OSX 10.7.4, Xcode 4.3.3 and IOS SDK 5.1
To compile i simply do :
Code: Select all
$ rm -rf vlc
$ mkdir vlc
$ cd vlc
$ git clone git://git.videolan.org/MobileVLC.git
$ cd MobileVLC
$ ./buildMobileVLC.sh
Can't provide a log at the moment since i'm upgrading to OSX Mountain Lion.
When its ready , i'll try again and attach the build log here
Re: VLC compile for IOS broken since a fw days
Posted: 02 Aug 2012 14:20
by ebeckers
here is my buildlog
Code: Select all
curl -f -L -- "http://downloads.videolan.org/pub/videolan/testing/contrib/a52dec-0.7.4.tar.gz" > "../../contrib/tarballs/a52dec-0.7.4.tar.gz"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 235k 100 235k 0 0 52143 0 0:00:04 0:00:04 --:--:-- 453k
grep -- " a52dec-0.7.4.tar.gz$" "../../contrib/src/a52/SHA512SUMS" && (cd ../../contrib/tarballs && shasum -a 512 --check /dev/stdin) < "../../contrib/src/a52/SHA512SUMS"
4b26fe9492f218b775fb190b76ecf06edaeb656adfe6dcbd24d0a0f86871c3ba917edb88a398eb12dccedaa1605b6f0a0be06b09f9fddd9a46e457b7dd244848 a52dec-0.7.4.tar.gz
a52dec-0.7.4.tar.gz: OK
touch .sum-a52
rm -f -R a52dec && tar xvzf ../../contrib/tarballs/a52dec-0.7.4.tar.gz
a52dec-0.7.4/
a52dec-0.7.4/Makefile.in
a52dec-0.7.4/README
a52dec-0.7.4/AUTHORS
a52dec-0.7.4/COPYING
a52dec-0.7.4/ChangeLog
a52dec-0.7.4/INSTALL
a52dec-0.7.4/Makefile.am
a52dec-0.7.4/NEWS
a52dec-0.7.4/TODO
a52dec-0.7.4/acinclude.m4
a52dec-0.7.4/aclocal.m4
a52dec-0.7.4/configure
a52dec-0.7.4/configure.in
a52dec-0.7.4/HISTORY
a52dec-0.7.4/bootstrap
a52dec-0.7.4/autotools/
a52dec-0.7.4/autotools/Makefile.in
a52dec-0.7.4/autotools/Makefile.am
a52dec-0.7.4/autotools/config.guess
a52dec-0.7.4/autotools/config.sub
a52dec-0.7.4/autotools/install-sh
a52dec-0.7.4/autotools/ltmain.sh
a52dec-0.7.4/autotools/missing
a52dec-0.7.4/autotools/mkinstalldirs
a52dec-0.7.4/include/
a52dec-0.7.4/include/Makefile.in
a52dec-0.7.4/include/stamp-h.in
a52dec-0.7.4/include/Makefile.am
a52dec-0.7.4/include/config.h.in
a52dec-0.7.4/include/a52.h
a52dec-0.7.4/include/attributes.h
a52dec-0.7.4/include/audio_out.h
a52dec-0.7.4/include/mm_accel.h
a52dec-0.7.4/include/tendra.h
a52dec-0.7.4/doc/
a52dec-0.7.4/doc/Makefile.in
a52dec-0.7.4/doc/Makefile.am
a52dec-0.7.4/doc/liba52.txt
a52dec-0.7.4/liba52/
a52dec-0.7.4/liba52/Makefile.in
a52dec-0.7.4/liba52/Makefile.am
a52dec-0.7.4/liba52/bitstream.c
a52dec-0.7.4/liba52/imdct.c
a52dec-0.7.4/liba52/bit_allocate.c
a52dec-0.7.4/liba52/parse.c
a52dec-0.7.4/liba52/downmix.c
a52dec-0.7.4/liba52/configure.incl
a52dec-0.7.4/liba52/a52_internal.h
a52dec-0.7.4/liba52/bitstream.h
a52dec-0.7.4/liba52/tables.h
a52dec-0.7.4/libao/
a52dec-0.7.4/libao/Makefile.in
a52dec-0.7.4/libao/Makefile.am
a52dec-0.7.4/libao/audio_out.c
a52dec-0.7.4/libao/float2s16.c
a52dec-0.7.4/libao/audio_out_null.c
a52dec-0.7.4/libao/audio_out_float.c
a52dec-0.7.4/libao/audio_out_oss.c
a52dec-0.7.4/libao/audio_out_solaris.c
a52dec-0.7.4/libao/audio_out_al.c
a52dec-0.7.4/libao/audio_out_win.c
a52dec-0.7.4/libao/audio_out_wav.c
a52dec-0.7.4/libao/audio_out_aif.c
a52dec-0.7.4/libao/audio_out_peak.c
a52dec-0.7.4/libao/configure.incl
a52dec-0.7.4/libao/audio_out_internal.h
a52dec-0.7.4/src/
a52dec-0.7.4/src/Makefile.in
a52dec-0.7.4/src/Makefile.am
a52dec-0.7.4/src/a52dec.c
a52dec-0.7.4/src/getopt.c
a52dec-0.7.4/src/gettimeofday.c
a52dec-0.7.4/src/extract_a52.c
a52dec-0.7.4/src/configure.incl
a52dec-0.7.4/src/getopt.h
a52dec-0.7.4/src/gettimeofday.h
a52dec-0.7.4/src/a52dec.1
a52dec-0.7.4/src/extract_a52.1
a52dec-0.7.4/vc++/
a52dec-0.7.4/vc++/Makefile.in
a52dec-0.7.4/vc++/Makefile.am
a52dec-0.7.4/vc++/config.h
a52dec-0.7.4/vc++/inttypes.h
a52dec-0.7.4/vc++/liba52.dsp
a52dec-0.7.4/vc++/libao.dsp
a52dec-0.7.4/vc++/a52dec.dsp
a52dec-0.7.4/vc++/a52dec.dsw
a52dec-0.7.4/test/
a52dec-0.7.4/test/Makefile.in
a52dec-0.7.4/test/Makefile.am
a52dec-0.7.4/test/compare.c
a52dec-0.7.4/test/regression
a52dec-0.7.4/test/tests
a52dec-0.7.4/test/compile
a52dec-0.7.4/test/globals
(cd a52dec-0.7.4 && patch -p1) < ../../contrib/src/a52/liba52-pic.patch
patching file liba52/configure.incl
(cd a52dec-0.7.4 && patch -p1) < ../../contrib/src/a52/liba52-silence.patch
patching file liba52/imdct.c
mv a52dec-0.7.4 a52dec && touch a52dec
mkdir -p -- /Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/share/aclocal && cd a52dec && autoreconf -fiv -I/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/share/aclocal --output=aclocal.m4t
Can't exec "aclocal": No such file or directory at /usr/local/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
make: *** [.a52] Error 1
Ronald-Scholtens-Mac-mini:MobileVLC ronaldscholten$
Re: VLC compile for IOS broken since a fw days
Posted: 02 Aug 2012 14:47
by ebeckers
Ok fixed that . Seems that the buildscript could not load pkg-config-0.23.tar.gz from freedesktop.org
Changed the script to download it from a mirror site and now it stops at building libavcodec:
gonna try disabling vp5,vp6,vp7,vp8 since i dont need them...
Code: Select all
cd ffmpeg && CC="xcrun clang" CXX="xcrun clang++" LD="xcrun ld" AR="xcrun ar" RANLIB="xcrun ranlib" STRIP="xcrun strip" PATH="/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/bin:/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/bin:/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/bin:/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/extras/package/ios/resources" CPPFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.0 -mno-thumb -arch armv7 -mno-thumb -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.0 -I/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/include" CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.0 -mno-thumb -arch armv7 -mno-thumb -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.0 -I/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/include" CXXFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.0 -mno-thumb -arch armv7 -mno-thumb -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.0 -I/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/include" LDFLAGS="-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.0 -arch armv7 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.0 -L/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/lib" ./configure \
--extra-cflags="-DHAVE_LRINTF --std=gnu99 -DHAVE_STDINT_H" \
--extra-ldflags="-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.0 -arch armv7 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.0 -L/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/lib" --cc="xcrun clang" --disable-doc --disable-decoder=libvpx --disable-decoder=bink --enable-libgsm --enable-libopenjpeg --disable-debug --disable-avdevice --disable-devices --disable-avfilter --disable-filters --disable-encoders --disable-muxers --enable-small --optflags=-O2 --enable-cross-compile --disable-runtime-cpudetect --arch=arm --arch=arm --target-os=darwin --enable-pic --as="perl /Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/bin/gas-preprocessor.pl xcrun clang" --disable-decoder=snow --cpu=cortex-a8 --enable-pthreads \
--prefix="/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11" --enable-static --disable-shared
install prefix /Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11
source path .
C compiler xcrun clang
ARCH arm (cortex-a8)
big-endian no
runtime cpu detection no
ARMv5TE enabled yes
ARMv6 enabled yes
ARMv6T2 enabled yes
ARM VFP enabled yes
NEON enabled yes
debug symbols no
optimize for size yes
optimizations yes
static yes
shared no
new filter support no
network support yes
threading support pthreads
safe bitstream reader yes
SDL support no
libdxva2 enabled no
libva enabled no
libvdpau enabled no
AVISynth enabled no
frei0r enabled no
gnutls enabled no
libcdio support no
libdc1394 support no
libfaac enabled no
libfdk-aac enabled no
libgsm enabled yes
libilbc enabled no
libmp3lame enabled no
libopencore-amrnb support no
libopencore-amrwb support no
libopencv support no
libopenjpeg enabled yes
libpulse enabled no
librtmp enabled no
libschroedinger enabled no
libspeex enabled no
libtheora enabled no
libvo-aacenc support no
libvo-amrwbenc support no
libvorbis enabled no
libvpx enabled no
libx264 enabled no
libxavs enabled no
libxvid enabled no
openssl enabled no
zlib enabled yes
bzlib enabled yes
Enabled decoders:
aac cyuv mjpegb
aac_latm dca mlp
aasc dfa mmvideo
ac3 dnxhd motionpixels
adpcm_4xm dpx mp1
adpcm_adx dsicinaudio mp1float
adpcm_ct dsicinvideo mp2
adpcm_ea dvbsub mp2float
adpcm_ea_maxis_xa dvdsub mp3
adpcm_ea_r1 dvvideo mp3adu
adpcm_ea_r2 dxa mp3adufloat
adpcm_ea_r3 dxtory mp3float
adpcm_ea_xas eac3 mp3on4
adpcm_g722 eacmv mp3on4float
adpcm_g726 eamad mpc7
adpcm_ima_amv eatgq mpc8
adpcm_ima_apc eatgv mpeg1video
adpcm_ima_dk3 eatqi mpeg2video
adpcm_ima_dk4 eightbps mpeg4
adpcm_ima_ea_eacs eightsvx_exp msa1
adpcm_ima_ea_sead eightsvx_fib msmpeg4v1
adpcm_ima_iss escape124 msmpeg4v2
adpcm_ima_qt ffv1 msmpeg4v3
adpcm_ima_smjpeg ffvhuff msrle
adpcm_ima_wav flac mss1
adpcm_ima_ws flashsv msvideo1
adpcm_ms flashsv2 mszh
adpcm_sbpro_2 flic mts2
adpcm_sbpro_3 flv mxpeg
adpcm_sbpro_4 fourxm nellymoser
adpcm_swf fraps nuv
adpcm_thp frwu pam
adpcm_xa g723_1 pbm
adpcm_yamaha gif pcm_alaw
alac gsm pcm_bluray
als gsm_ms pcm_dvd
amrnb h261 pcm_f32be
amrwb h263 pcm_f32le
amv h263i pcm_f64be
anm h264 pcm_f64le
ansi huffyuv pcm_lxf
ape iac pcm_mulaw
ass idcin pcm_s16be
asv1 iff_byterun1 pcm_s16le
asv2 iff_ilbm pcm_s16le_planar
atrac1 imc pcm_s24be
atrac3 indeo2 pcm_s24daud
aura indeo3 pcm_s24le
aura2 indeo4 pcm_s32be
avs indeo5 pcm_s32le
bethsoftvid interplay_dpcm pcm_s8
bfi interplay_video pcm_s8_planar
binkaudio_dct jpegls pcm_u16be
binkaudio_rdft jv pcm_u16le
bmp kgv1 pcm_u24be
bmv_audio kmvc pcm_u24le
bmv_video lagarith pcm_u32be
c93 libgsm pcm_u32le
cavs libgsm_ms pcm_u8
cdgraphics libopenjpeg pcm_zork
cdxl loco pcx
cinepak mace3 pgm
cljr mace6 pgmyuv
cllc mdec pgssub
cook mimic pictor
cscd mjpeg png
ppm srt vmnc
prores sunrast vorbis
ptx svq1 vp3
qcelp svq3 vp5
qdm2 targa vp6
qdraw theora vp6a
qpeg thp vp6f
qtrle tiertexseqvideo vp8
r10k tiff vqa
r210 tmv wavpack
ra_144 truehd wmalossless
ra_288 truemotion1 wmapro
ralf truemotion2 wmav1
rawvideo truespeech wmav2
rl2 tscc wmavoice
roq tscc2 wmv1
roq_dpcm tta wmv2
rpza twinvq wmv3
rv10 txd wmv3image
rv20 ulti wnv1
rv30 utvideo ws_snd1
rv40 v210 xan_dpcm
s302m v210x xan_wc3
sgi v410 xan_wc4
shorten vb xl
sipr vble xsub
smackaud vc1 xwd
smacker vc1image yop
smc vcr1 zerocodec
sol_dpcm vmdaudio zlib
sp5x vmdvideo zmbv
Enabled encoders:
Enabled hwaccels:
Enabled parsers:
aac dvdsub mpegvideo
aac_latm flac pnm
ac3 gsm rv30
adx h261 rv40
cavsvideo h263 vc1
cook h264 vorbis
dca mjpeg vp3
dirac mlp vp8
dnxhd mpeg4video
dvbsub mpegaudio
Enabled demuxers:
aac image2pipe pcm_u32le
ac3 ingenient pcm_u8
adx ipmovie pmp
aea iss pva
aiff iv8 qcp
amr ivf r3d
anm jv rawvideo
apc latm rl2
ape lmlm4 rm
asf lxf roq
ass m4v rpl
au matroska rso
avi mjpeg rtp
avs mlp rtsp
bethsoftvid mm sap
bfi mmf sdp
bink mov segafilm
bmv mp3 shorten
c93 mpc siff
caf mpc8 smacker
cavsvideo mpegps smjpeg
cdg mpegts sol
cdxl mpegtsraw sox
daud mpegvideo spdif
dfa msnwc_tcp srt
dirac mtv str
dnxhd mvi swf
dsicin mxf thp
dts mxg tiertexseq
dv nc tmv
dxa nsv truehd
ea nut tta
ea_cdata nuv tty
eac3 ogg txd
ffm oma vc1
ffmetadata pcm_alaw vc1t
filmstrip pcm_f32be vmd
flac pcm_f32le voc
flic pcm_f64be vqf
flv pcm_f64le w64
fourxm pcm_mulaw wav
g722 pcm_s16be wc3
g723_1 pcm_s16le wsaud
gsm pcm_s24be wsvqa
gxf pcm_s24le wtv
h261 pcm_s32be wv
h263 pcm_s32le xa
h264 pcm_s8 xmv
hls pcm_u16be xwma
idcin pcm_u16le yop
iff pcm_u24be yuv4mpegpipe
ilbc pcm_u24le
image2 pcm_u32be
Enabled muxers:
Enabled protocols:
applehttp hls pipe
concat http rtmp
crypto httpproxy rtmpt
ffrtmphttp md5 rtp
file mmsh tcp
gopher mmst udp
Enabled filters:
Enabled bsfs:
aac_adtstoasc mjpeg2jpeg noise
chomp mjpega_dump_header remove_extradata
dump_extradata mov2textsub text2movsub
h264_mp4toannexb mp3_header_compress
imx_dump_header mp3_header_decompress
Enabled indevs:
Enabled outdevs:
License: LGPL version 2.1 or later
Creating config.mak and config.h...
WARNING: Compiler does not indicate floating-point ABI, guessing soft.
cd ffmpeg && make install-libs install-headers
CC libavformat/4xm.o
CC libavformat/aacdec.o
CC libavformat/ac3dec.o
CC libavformat/adxdec.o
CC libavformat/aea.o
CC libavformat/aiffdec.o
CC libavformat/allformats.o
CC libavformat/amr.o
CC libavformat/anm.o
CC libavformat/apc.o
CC libavformat/ape.o
CC libavformat/apetag.o
CC libavformat/asf.o
CC libavformat/asfcrypt.o
CC libavformat/asfdec.o
CC libavformat/assdec.o
CC libavformat/au.o
CC libavformat/avidec.o
CC libavformat/avio.o
libavformat/avio.c:88:19: warning: incompatible pointer types initializing
'URLProtocol **' (aka 'struct URLProtocol **') with an expression of type
'void **' [-Wincompatible-pointer-types]
URLProtocol **p = opaque;
^ ~~~~~~
libavformat/avio.c:273:38: warning: passing 'const unsigned char *' to parameter
of type 'unsigned char *' discards qualifiers
[-Wincompatible-pointer-types]
return retry_transfer_wrapper(h, buf, size, size, h->prot->url_write);
^~~
libavformat/avio.c:221:72: note: passing argument to parameter 'buf' here
static inline int retry_transfer_wrapper(URLContext *h, unsigned char *buf,...
^
libavformat/avio.c:273:55: warning: incompatible pointer types passing 'int
(*)(URLContext *, const unsigned char *, int)' to parameter of type 'int
(*)(URLContext *, unsigned char *, int)' [-Wincompatible-pointer-types]
return retry_transfer_wrapper(h, buf, size, size, h->prot->url_write);
^~~~~~~~~~~~~~~~~~
libavformat/avio.c:222:48: note: passing argument to parameter 'transfer_func'
here
int (*transfer_func)...
^
3 warnings generated.
CC libavformat/aviobuf.o
libavformat/aviobuf.c:652:29: warning: incompatible pointer types passing 'int
(URLContext *, unsigned char *, int)' to parameter of type 'int (*)(void
*, uint8_t *, int)' [-Wincompatible-pointer-types]
ffurl_read, ffurl_write, ffurl_seek);
^~~~~~~~~~
libavformat/aviobuf.c:108:25: note: passing argument to parameter 'read_packet'
here
int (*read_packet)(void *opaque, uint8_t *buf, int buf_size),
^
libavformat/aviobuf.c:652:41: warning: incompatible pointer types passing 'int
(URLContext *, const unsigned char *, int)' to parameter of type 'int
(*)(void *, uint8_t *, int)' [-Wincompatible-pointer-types]
ffurl_read, ffurl_write, ffurl_seek);
^~~~~~~~~~~
libavformat/aviobuf.c:109:25: note: passing argument to parameter 'write_packet'
here
int (*write_packet)(void *opaque, uint8_t *buf, int buf_size),
^
libavformat/aviobuf.c:652:54: warning: incompatible pointer types passing
'int64_t (URLContext *, int64_t, int)' to parameter of type 'int64_t
(*)(void *, int64_t, int)' [-Wincompatible-pointer-types]
ffurl_read, ffurl_write, ffurl_seek);
^~~~~~~~~~
libavformat/aviobuf.c:110:29: note: passing argument to parameter 'seek' here
int64_t (*seek)(void *opaque, int64_t offset, int whence))
^
AS libavcodec/arm/vp8_armv6.o
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk'
clang: warning: argument unused during compilation: '-mno-thumb'
clang: warning: argument unused during compilation: '-mno-thumb'
clang: warning: argument unused during compilation: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk'
clang: warning: argument unused during compilation: '-I /Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/include'
clang: warning: argument unused during compilation: '-D _ISOC99_SOURCE'
clang: warning: argument unused during compilation: '-D _FILE_OFFSET_BITS=64'
clang: warning: argument unused during compilation: '-D _LARGEFILE_SOURCE'
clang: warning: argument unused during compilation: '-D PIC'
clang: warning: argument unused during compilation: '-D HAVE_LRINTF'
clang: warning: argument unused during compilation: '-std=gnu99'
clang: warning: argument unused during compilation: '-D HAVE_STDINT_H'
clang: warning: argument unused during compilation: '-fPIC'
clang: warning: -: 'assembler' input unused when '-MM' is present
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk'
clang: warning: argument unused during compilation: '-mcpu=cortex-a8'
clang: warning: argument unused during compilation: '-miphoneos-version-min=5.0'
clang: warning: argument unused during compilation: '-mno-thumb'
clang: warning: argument unused during compilation: '-mno-thumb'
clang: warning: argument unused during compilation: '-mcpu=cortex-a8'
clang: warning: argument unused during compilation: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk'
clang: warning: argument unused during compilation: '-miphoneos-version-min=5.0'
clang: warning: argument unused during compilation: '-I /Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/include'
clang: warning: argument unused during compilation: '-D _ISOC99_SOURCE'
clang: warning: argument unused during compilation: '-D _FILE_OFFSET_BITS=64'
clang: warning: argument unused during compilation: '-D _LARGEFILE_SOURCE'
clang: warning: argument unused during compilation: '-D PIC'
clang: warning: argument unused during compilation: '-D HAVE_AV_CONFIG_H'
AS libavcodec/arm/vp8dsp_armv6.o
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk'
clang: warning: argument unused during compilation: '-mno-thumb'
clang: warning: argument unused during compilation: '-mno-thumb'
clang: warning: argument unused during compilation: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk'
clang: warning: argument unused during compilation: '-I /Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/include'
clang: warning: argument unused during compilation: '-D _ISOC99_SOURCE'
clang: warning: argument unused during compilation: '-D _FILE_OFFSET_BITS=64'
clang: warning: argument unused during compilation: '-D _LARGEFILE_SOURCE'
clang: warning: argument unused during compilation: '-D PIC'
clang: warning: argument unused during compilation: '-D HAVE_LRINTF'
clang: warning: argument unused during compilation: '-std=gnu99'
clang: warning: argument unused during compilation: '-D HAVE_STDINT_H'
clang: warning: argument unused during compilation: '-fPIC'
libavcodec/arm/vp8dsp_armv6.S:2443:21: error: invalid operand for instruction
sub sp, sp, #16 * (8 - 8*(16 > 4) + 6 - 1)+16
^
libavcodec/arm/vp8dsp_armv6.S:2476:21: error: invalid operand for instruction
sub sp, sp, #8 * (8 - 8*(8 > 4) + 6 - 1)+16
^
libavcodec/arm/vp8dsp_armv6.S:2509:21: error: invalid operand for instruction
sub sp, sp, #8 * (8 - 8*(8 > 4) + 6 - 1)+16
^
libavcodec/arm/vp8dsp_armv6.S:2542:21: error: invalid operand for instruction
sub sp, sp, #8 * (8 - 8*(8 > 4) + 4 - 1)+16
^
libavcodec/arm/vp8dsp_armv6.S:2575:21: error: invalid operand for instruction
sub sp, sp, #8 * (8 - 8*(8 > 4) + 4 - 1)+16
^
make[1]: *** [libavcodec/arm/vp8dsp_armv6.o] Error 1
make: *** [.ffmpeg] Error 2
Ronald-Scholtens-Mac-mini:MobileVLC ronaldscholten$
Re: VLC compile for IOS broken since a fw days
Posted: 02 Aug 2012 14:55
by ebeckers
Well.. disabling vp5,vp6,vp7,vp8 made it continue all the way to building iconv:
complains that crt_externs.h is not found, which is right.. since it does not exist in IOS ?
Code: Select all
} > unistd.h-t
mv unistd.h-t unistd.h
make install-am
xcrun clang -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.0 -mno-thumb -arch armv7 -mno-thumb -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.0 -I/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/include -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.0 -mno-thumb -arch armv7 -mno-thumb -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.0 -I/Users/ronaldscholten/vlc/MobileVLC/ImportedSources/vlc/contrib/arm-apple-darwin11/include -c areadlink.c
In file included from areadlink.c:32:
./unistd.h:203:13: fatal error: 'crt_externs.h' file not found
# include <crt_externs.h>
^
1 error generated.
make[3]: *** [areadlink.o] Error 1
make[2]: *** [install] Error 2
make[1]: *** [install] Error 2
make: *** [.iconv] Error 2
Re: VLC compile for IOS broken since a fw days
Posted: 02 Aug 2012 19:59
by fkuehne
We have a patch for the libiconv issue on vlc-devel. Will be applied in the next couple of days.
For libav, we're on it, too. No estimate so far. The issue is an incompatibility between the existing code base and Apple's updated assembler.