failure compile vlc 1.0.4

*nix specific usage questions
badmage
New Cone
New Cone
Posts: 3
Joined: 10 Jan 2010 13:52

failure compile vlc 1.0.4

Postby badmage » 12 Jan 2010 20:48

Hello,

what does the failure say:

Code: Select all

ite-strings -Wundef -O3 -fno-math-errno -MMD -MF libswscale/swscale.d -MT libswscale/swscale.o -c -o libswscale/swscale.o libswscale/swscale.c libswscale/swscale.c:81:31: libavutil/pixdesc.h: No such file or directory libswscale/swscale.c: In function `swscale_license': libswscale/swscale.c:96: error: syntax error before "FFMPEG_LICENSE" libswscale/swscale.c:97: warning: no return statement in function returning non-void libswscale/swscale.c: In function `sws_format_name': libswscale/swscale.c:389: error: `av_pix_fmt_descriptors' undeclared (first use in this function) libswscale/swscale.c:389: error: (Each undeclared identifier is reported only once libswscale/swscale.c:389: error: for each function it appears in.) In file included from libswscale/swscale.c:1323: libswscale/swscale_template.c: In function `yuv2yuv1_MMX2': libswscale/swscale_template.c:957: warning: initialization from incompatible pointer type libswscale/swscale_template.c:957: warning: initialization from incompatible pointer type libswscale/swscale_template.c:957: warning: initialization from incompatible pointer type libswscale/swscale_template.c:957: warning: initialization from incompatible pointer type libswscale/swscale_template.c: In function `yuv2packed2_MMX2': libswscale/swscale_template.c:1238: warning: assignment discards qualifiers from pointer target type libswscale/swscale_template.c:1239: warning: assignment discards qualifiers from pointer target type libswscale/swscale_template.c: In function `hScale_MMX2': libswscale/swscale_template.c:2148: warning: initialization discards qualifiers from pointer target type libswscale/swscale_template.c: In function `swScale_MMX2': libswscale/swscale_template.c:2740: warning: assignment discards qualifiers from pointer target type libswscale/swscale_template.c:2741: warning: assignment discards qualifiers from pointer target type libswscale/swscale_template.c:2746: warning: assignment discards qualifiers from pointer target type libswscale/swscale_template.c:2747: warning: assignment discards qualifiers from pointer target type libswscale/swscale_template.c:2753: warning: assignment discards qualifiers from pointer target type libswscale/swscale_template.c:2754: warning: assignment discards qualifiers from pointer target type libswscale/swscale_template.c:2762: warning: cast from pointer to integer of different size libswscale/swscale_template.c:2768: warning: cast from pointer to integer of different size libswscale/swscale_template.c:2775: warning: cast from pointer to integer of different size libswscale/swscale_template.c:2799: warning: initialization discards qualifiers from pointer target type libswscale/swscale_template.c:2800: warning: initialization discards qualifiers from pointer target type libswscale/swscale_template.c:2801: warning: initialization discards qualifiers from pointer target type libswscale/swscale_template.c: In function `sws_init_swScale_MMX2': libswscale/swscale_template.c:2963: warning: assignment from incompatible pointer type libswscale/swscale_template.c:2978: warning: assignment from incompatible pointer type libswscale/swscale_template.c:3023: warning: assignment from incompatible pointer type libswscale/swscale.c: In function `pal2rgbWrapper': libswscale/swscale.c:2045: error: `av_pix_fmt_descriptors' undeclared (first use in this function) libswscale/swscale.c:2045: error: `PIX_FMT_PAL' undeclared (first use in this function) libswscale/swscale.c: In function `getSubSampleFactors': libswscale/swscale.c:2289: error: `av_pix_fmt_descriptors' undeclared (first use in this function) libswscale/swscale.c: In function `sws_getContext': libswscale/swscale.c:2575: error: `av_pix_fmt_descriptors' undeclared (first use in this function) libswscale/swscale.c:2575: error: `PIX_FMT_PAL' undeclared (first use in this function) libswscale/swscale.c: In function `sws_scale': libswscale/swscale.c:2981: error: `av_pix_fmt_descriptors' undeclared (first use in this function) libswscale/swscale.c:2981: error: `PIX_FMT_PAL' undeclared (first use in this function) make[2]: *** [libswscale/swscale.o] Error 1 make[2]: Leaving directory `/usr/src/vlc-1.0.4/extras/contrib/src/ffmpeg' make[1]: *** [.ffmpeg] Error 2 make[1]: Leaving directory `/usr/src/vlc-1.0.4/extras/contrib/src' make: *** [using-src] Error 2
if any infos fail pleas tell me.

many thanks ffor help

greetz
Fabian

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: failure compile vlc 1.0.4

Postby Rémi Denis-Courmont » 12 Jan 2010 21:08

That's an error in FFMPEG, not in VLC. You might have checked out a buggy version of FFMPEG, or worse, you corrupted your build tree.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

badmage
New Cone
New Cone
Posts: 3
Joined: 10 Jan 2010 13:52

Re: failure compile vlc 1.0.4

Postby badmage » 12 Jan 2010 22:02

ok, thanks for your help...
a friend told me the failure may be here "libavutil/pixdesc.h: No such file or directory"

greetinx
Fabian

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: failure compile vlc 1.0.4

Postby xtophe » 13 Jan 2010 16:05

Of course it is the failure.

Remi's point is: The problem happens whike compiling the contribs.
It seems that either ffmpeg svn was broken when you got it or you copy is broken.

So try again.

The real question though is why are you using the contribs ? It normally reserved for crappy OS without proper package management.

On linux, you should get the necessary libraries from your distribution
Xtophe


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

Who is online

Users browsing this forum: No registered users and 17 guests