Can't compile from git now.

*nix specific usage questions
bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

Can't compile from git now.

Postby bat999 » 24 Jan 2013 03:05

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

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

Re: Can't compile from git now.

Postby Rémi Denis-Courmont » 24 Jan 2013 09:26

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?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

Re: Can't compile from git now.

Postby bat999 » 24 Jan 2013 10:54

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".

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

Re: Can't compile from git now.

Postby Rémi Denis-Courmont » 24 Jan 2013 11:12

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

katiem
Blank Cone
Blank Cone
Posts: 18
Joined: 12 Apr 2013 14:31

Re: Can't compile from git now.

Postby katiem » 15 Apr 2013 13:13

See: viewtopic.php?f=13&t=109899

Hope this helps!

study0070
Blank Cone
Blank Cone
Posts: 26
Joined: 14 May 2013 13:07

Re: Can't compile from git now.

Postby study0070 » 17 May 2013 13:25

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

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

Re: Can't compile from git now.

Postby Rémi Denis-Courmont » 22 May 2013 17:43

Compiler bug. Update your compiler.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


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

Who is online

Users browsing this forum: No registered users and 10 guests