[vlc] Help: compiling snapshot on MacOSX

yakima at clbry.de yakima at clbry.de
Thu Dec 19 01:54:26 CET 2002


for some time i have been trying to compile the 0.5.0 branch on MacOSX,  
to have a little mp4 file playing capabilities (the qt decoder sucks).
with the recent snapshots, i have finally had some success: vlc builts  
with mad and ffmpeg, avi and mp4 play smoothly.
Only drawback for now: faad won't built, there seems to be a problem  
with decoder.c, i guess the relevant error message is:
modules/codec/faad/decoder.c: In function `InitThread':
modules/codec/faad/decoder.c:269: warning: passing arg 3 of  
`faacDecInit' makes pointer from integer without a cast
(full error etc. below)
Is this a bug or just some problem compiling? (I am really not that c  
literate, actually not at all ..)

btw, building the snapshot with ffmpeg and mad seems to need a little  
workaround (on OSX): trying to do them both in the first run of  
compile/make, i got (repeatedly) errors with mpeg mux (or something  
like that) - if i build first with only one of them enabled, then,  
without make clean etc., build with both, it works ... strange, eh?

best,
yakima

------------------------------------------------------------------------ 
-----------------------
the compiler log gives the following:

gcc -DHAVE_CONFIG_H -I. -I. -I.   -DSYS_DARWIN -O3 -ffast-math  
-funroll-loops -mtune=750 -fomit-frame-pointer     -mdynamic-no-pic   
-I./include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE  
-D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE  
-DLOCALEDIR=\"/usr/local/share/locale\"  
-DDATA_PATH=\"/usr/local/share/vlc\"  
-DPLUGIN_PATH=\"/usr/local/lib/vlc\"     -D__VLC__ -D__BUILTIN__  
-I/Users/ccc/Desktop/vlc-snapshot-20021219/z_faad2/include  
-I/Users/ccc/Desktop/vlc-snapshot-20021219/z_faad2/include  
-DMODULE_NAME=faad -DMODULE_NAME_IS_faad -Winline  
-Wdisabled-optimization -Wsign-compare -Wall  -no-cpp-precomp  
-finline-limit-30000 -pipe -c -o  
modules/codec/faad/modules_codec_faad_libfaad_a-decoder.o `test -f  
'modules/codec/faad/decoder.c' || echo './'`modules/codec/faad/decoder.c
modules/codec/faad/decoder.c: In function `InitThread':
modules/codec/faad/decoder.c:269: warning: passing arg 3 of  
`faacDecInit' makes pointer from integer without a cast
modules/codec/faad/decoder.c:269: warning: passing arg 4 of  
`faacDecInit' from incompatible pointer type
modules/codec/faad/decoder.c:269: too many arguments to function  
`faacDecInit'
modules/codec/faad/decoder.c:290: warning: int format, long unsigned  
int arg (arg 5)
modules/codec/faad/decoder.c: In function `DecodeThread':
modules/codec/faad/decoder.c:362: too many arguments to function  
`faacDecDecode'
modules/codec/faad/decoder.c:398: warning: comparison between signed  
and unsigned
make[2]: ***  
[modules/codec/faad/modules_codec_faad_libfaad_a-decoder.o] Error 1

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list