Page 1 of 1

Can't compile from git now.

Posted: 24 Jan 2013 03:05
by bat999
Hi
I'm trying to re-compile VLC-2.1.0 from git.
Using Ubuntu 11.04 Natty.

My current VLC version is
VLC media player 2.1.0-git Rincewind (revision 728ef39)
compiled ~ December 3 2012

Has something changed in git to cause this build error?
Or is my compiler too old now?

Build log is here ---> http://pastebin.com/7w7kiyHy

Code: Select all

swscale.c:556:16: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type /usr/local/include/libswscale/swscale.h:219:5: note: expected ‘const uint8_t * const*’ but argument is of type ‘uint8_t **’ CC libswscale_plugin_la-chroma.lo CCLD libswscale_plugin.la CC libdeinterlace_plugin_la-deinterlace.lo CC libdeinterlace_plugin_la-merge.lo CC libdeinterlace_plugin_la-helpers.lo CC libdeinterlace_plugin_la-algo_basic.lo CC libdeinterlace_plugin_la-algo_x.lo deinterlace/algo_x.c: In function ‘XDeintBand8x8MMXEXT’: deinterlace/algo_x.c:503:20: internal compiler error: in memory_address_addr_space, at explow.c:504 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions. make[4]: *** [libdeinterlace_plugin_la-algo_x.lo] Error 1 make[4]: Leaving directory `/media/e78a6d66-0171-4b34-b0df-c91a035c8554/home/user/vlc/modules/video_filter' make[3]: *** [all] Error 2 make[3]: Leaving directory `/media/e78a6d66-0171-4b34-b0df-c91a035c8554/home/user/vlc/modules/video_filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/media/e78a6d66-0171-4b34-b0df-c91a035c8554/home/user/vlc/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/e78a6d66-0171-4b34-b0df-c91a035c8554/home/user/vlc' make: *** [all] Error 2

Re: Can't compile from git now.

Posted: 24 Jan 2013 09:26
by Rémi Denis-Courmont
What part of "Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions." do you not understand?

Re: Can't compile from git now.

Posted: 24 Jan 2013 10:54
by bat999
What part of "Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions." do you not understand?
This part:-"if appropriate".

Re: Can't compile from git now.

Posted: 24 Jan 2013 11:12
by Rémi Denis-Courmont
If the crash is consistent, then yes, it is appropriate.

Better update to a newer GCC version first though. The bug might already be fixed.

Re: Can't compile from git now.

Posted: 15 Apr 2013 13:13
by katiem
See: viewtopic.php?f=13&t=109899

Hope this helps!

Re: Can't compile from git now.

Posted: 17 May 2013 13:25
by study0070
I M GETTING THIS ERROR

/usr/local/include/libswscale/swscale.h:219: note: expected ‘const uint8_t * const*’ but argument is of type ‘uint8_t **’
CC libswscale_plugin_la-chroma.lo
In file included from ../codec/avcodec/chroma.c:34:
../codec/avcodec/avcommon.h: In function ‘vlc_init_avformat’:
../codec/avcodec/avcommon.h:57: warning: ‘av_set_cpu_flags_mask’ is deprecated (declared at /usr/local/include/libavutil/cpu.h:82)
CCLD libswscale_plugin.la
CC libdeinterlace_plugin_la-deinterlace.lo
CC libdeinterlace_plugin_la-merge.lo
CC libdeinterlace_plugin_la-helpers.lo
CC libdeinterlace_plugin_la-algo_basic.lo
CC libdeinterlace_plugin_la-algo_x.lo
deinterlace/algo_x.c: In function ‘XDeintBand8x8MMXEXT’:
deinterlace/algo_x.c:503: internal compiler error: in memory_address, at explow.c:493
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccjv4ZRf.out file, please attach this to your bugreport.
make[4]: *** [libdeinterlace_plugin_la-algo_x.lo] Error 1
make[4]: Leaving directory `/opt/vlc/modules/video_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/vlc/modules/video_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/vlc'
make: *** [all] Error 2

Re: Can't compile from git now.

Posted: 22 May 2013 17:43
by Rémi Denis-Courmont
Compiler bug. Update your compiler.