SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-26-2015, 08:45 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Ubuntu 15.10 Unsupported Compiler

Have an interesting issue. I upgraded my Ubuntu test server last week to 15.10. Apparently gcc has been upgraded to 5.2.1 which is unsupported by mplayer. According to the message I get only 2.95 and 3.x or 4.x are supported:

Code:
Checking for cc version ... 5.2.1, bad

*** Please downgrade/upgrade C compiler to version gcc-2.95, 3.x or 4.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use.  Use either the
same compiler as we do, or use --disable-gcc-check but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3/4.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder).  If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

        GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed.
Build failed, exiting.
Build MPLAYER failed, exiting.
Build failed, exiting.
The --disable-gcc-check flag can be added but maybe we should check compatibility first?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #2  
Old 10-26-2015, 10:32 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I think the mplayer instance is so old that it doesn't know about version 5 of the compiler. We should probably EITHER add the gcc check or upgrade the configure script in the mplayer folder to allow for version 5.
Reply With Quote
  #3  
Old 10-26-2015, 10:36 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I think this line
https://github.com/google/sagetv/blo...onfigure#L1386
probably just needs to have 3-5 instead of the 3-4 that it has now.
Reply With Quote
  #4  
Old 10-26-2015, 12:25 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by stuckless View Post
I think this line
https://github.com/google/sagetv/blo...onfigure#L1386
probably just needs to have 3-5 instead of the 3-4 that it has now.
That didn't work. Probably in the warnings somewhere but this is the final error I get with that modification to the configuration script made:

Code:
cc -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o parser-mpcmd.o subopt-helper.o command.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o libvo/libvo.a libao2/libao2.a input/libinput.a vidix/libvidix.a libdha/libdha.a libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a loader/libloader.a mp3lib/libmp3.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a osdep/libosdep.a  -Wl,-z,noexecstack    -lpng -lz -lz  -ldl -rdynamic  -lm -lpthread
libavcodec/libavcodec.a(snow.o): In function `encode_q_branch':
snow.c:(.text+0x95df): undefined reference to `ff_epzs_motion_search'
snow.c:(.text+0x966f): undefined reference to `ff_get_mb_score'
collect2: error: ld returned 1 exit status
Makefile:236: recipe for target 'mplayer' failed
make: *** [mplayer] Error 1
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #5  
Old 10-26-2015, 12:29 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Tried to compile just libavcodec I saw this warning about ff_epzs_motion_search as is referenced by the previous error:

Code:
mpegvideo.h:770:12: warning: inline function 'ff_epzs_motion_search' declared but never defined
 inline int ff_epzs_motion_search(MpegEncContext * s, int *mx_ptr, int *my_ptr,
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #6  
Old 10-26-2015, 12:40 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I've been meaning to update to 15.10... Maybe I'll give it shot over the next few days and see how it goes. If you do figure this out, then let us know. thx.
Reply With Quote
  #7  
Old 11-01-2015, 09:47 AM
rjleurck rjleurck is offline
New Member
 
Join Date: Sep 2015
Location: Illinois
Posts: 2
adding 3.5 to mplayer configure fixed compiler check issue

Just to advise that updating 3.4 to 3.5 in configure in the regular expression to check compiler versions enabled mplayer to compile on ubuntu 15.10. Thanks for the tip
Reply With Quote
  #8  
Old 11-02-2015, 09:24 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by rjleurck View Post
Just to advise that updating 3.4 to 3.5 in configure in the regular expression to check compiler versions enabled mplayer to compile on ubuntu 15.10. Thanks for the tip
What line is that in the configure file?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up an unsupported tuner thymceelie Hardware Support 3 05-07-2013 02:43 AM
How Smart is the Java Compiler? tmiranda SageTV Studio 7 05-15-2011 07:51 PM
Trying unsupported tuners ckewinjones Hardware Support 3 01-01-2011 05:35 AM
Unsupported USB tuners dlev Hardware Support 2 10-01-2007 12:08 PM
Unsupported hardware paulbeers Hardware Support 2 12-13-2005 02:02 PM


All times are GMT -6. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.