|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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.
__________________
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 |
#2
|
||||
|
||||
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.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
||||
|
||||
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.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
|||
|
|||
Quote:
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 |
#5
|
|||
|
|||
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 |
#6
|
||||
|
||||
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.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#7
|
|||
|
|||
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
|
#8
|
|||
|
|||
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |