logo       

Re: [vlc] Re: VLC 0.7.1 compiling problem: msg#00229

video.videolan.vlc.general

Subject: Re: [vlc] Re: VLC 0.7.1 compiling problem


I got similar errors on Sid, so I just got the version of ffmpeg that is
linked to on the Vlc download page, and then use --with-ffmpeg=<dir> to
point to where the ffmpeg stuff was installed and compiled.


Okay. I tried this, with the ffmpeg version on the VLC download page, abd the latest CVS snapshot, but this time i get errors while compiling ffmpeg :-/

I've no pb with the libavcodecs module, but with the libavformat i get the following error

make -C libavformat all
make[1]: entrant dans le répertoire « /root/videolan/ffmpeg-cvs-2004-04-22/libavformat »
gcc -O3 -g -Wall -I.. -I/root/videolan/ffmpeg-cvs-2004-04-22 -I/root/videolan/ffmpeg-cvs-2004-04-22/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o utils.o utils.c
In file included from avformat.h:603,
from utils.c:19:
os_support.h:15: attention : return type defaults to `int'
os_support.h: Dans la fonction « __declspec »:
os_support.h:15: error: erreur d'analyse syntaxique before "Sleep"
In file included from utils.c:19:
avformat.h:631: attention : déclaration vide
In file included from utils.c:22:
/usr/include/assert.h:72: error: storage class specified for parameter `__assert_fail'
/usr/include/assert.h:78: error: storage class specified for parameter `__assert_perror_fail'
/usr/include/assert.h:84: error: storage class specified for parameter `__assert'
utils.c:29: error: erreur d'analyse syntaxique before '{' token
utils.c:29: error: declaration for parameter `av_register_input_format' but no such parameter
utils.c:26: error: declaration for parameter `first_image_format' but no such parameter
utils.c:25: error: declaration for parameter `first_oformat' but no such parameter
utils.c:24: error: declaration for parameter `first_iformat' but no such parameter
/usr/include/assert.h:84: error: declaration for parameter `__assert' but no such parameter
/usr/include/assert.h:78: error: declaration for parameter `__assert_perror_fail' but no such parameter
/usr/include/assert.h:72: error: declaration for parameter `__assert_fail' but no such parameter
avformat.h:640: error: declaration for parameter `match_ext' but no such parameter
avformat.h:638: error: declaration for parameter `url_split' but no such parameter
avformat.h:632: error: declaration for parameter `resolve_host' but no such parameter
avformat.h:629: error: declaration for parameter `small_strptime' but no such parameter
avformat.h:627: error: declaration for parameter `mktimegm' but no such parameter
avformat.h:610: error: declaration for parameter `__dynarray_add' but no such parameter
avformat.h:608: error: declaration for parameter `pstrcat' but no such parameter
avformat.h:607: error: declaration for parameter `pstrcpy' but no such parameter
avformat.h:606: error: declaration for parameter `stristart' but no such parameter
avformat.h:605: error: declaration for parameter `strstart' but no such parameter
os_support.h:15: error: parameter `__stdcall' has incomplete type
os_support.h:15: error: declaration for parameter `__stdcall' but no such parameter
utils.c:33: error: `format' undeclared (first use in this function)
utils.c:33: error: (Each undeclared identifier is reported only once
utils.c:33: error: for each function it appears in.)
utils.c: Dans la fonction « guess_stream_format »:
utils.c:115: attention : implicit declaration of function `_snprintf'
utils.c: Dans la fonction « av_alloc_format_context »:
utils.c:319: attention : affectation annule des qualificateurs du type du pointeur cible
utils.c: Dans la fonction « av_open_input_stream »:
utils.c:340: attention : implicit declaration of function `pstrcpy'
utils.c: Dans la fonction « av_add_index_entry »:
utils.c:911: attention : implicit declaration of function `__assert_fail'
utils.c: Dans la fonction « parse_date »:
utils.c:2085: attention : implicit declaration of function `small_strptime'
utils.c:2085: attention : affectation transforme un entier en pointeur sans transtypage
utils.c:2106: attention : affectation transforme un entier en pointeur sans transtypage
utils.c:2112: attention : affectation transforme un entier en pointeur sans transtypage
utils.c:2133: attention : implicit declaration of function `mktimegm'
make[1]: *** [utils.o] Erreur 1
make[1]: quittant le répertoire « /root/videolan/ffmpeg-cvs-2004-04-22/libavformat »
make: *** [lib] Erreur 2

I think that this is caused by the header file assert.h, but i don't know what to do then.

thx
Fred

--
Frederic Beck (frederic.beck@xxxxxxxxxxxxxxxxxx)
Alcatel Business Systems - Enterprise Solutions Division
Research and Development - Terminals and Mobility

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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise