[mythtv-users] GCC problem?

raptor jr raptorjr at hotmail.com
Mon Jan 7 10:32:47 UTC 2008


So i'm running the trunk version. I'm no expert, but if i dont try i'll never learn.
Been using trunk version a few years without any big problems.
But recently i got a crashing frontend and a error about misaligned stacks and got a suggestion that i should update GCC, so i did. Version 4.2.2. And now i got some real problem.
 
When running configure i get:
 
WARNING! An unknown C++ compiler flag in: "-Wall". Option(s) will be ignored.WARNING! An unknown C++ compiler flag in: "-Wno-switch". Option(s) will be ignored.WARNING! An unknown C++ compiler flag in: "-Wpointer-arith". Option(s) will be ignored.WARNING! An unknown C++ compiler flag in: "-Wredundant-decls". Option(s) will be ignored.WARNING! An unknown C++ compiler flag in: "-Wno-non-virtual-dtor". Option(s) will be ignored.WARNING! An unknown C++ compiler flag in: "-D__STDC_CONSTANT_MACROS". Option(s) will be ignored.
And lirc is not longer recognized. And maybe more has been disabled that i haven't noticed yet.
 
When trying to compile i get:
avformatdecoder.cpp: In member function `virtual bool AvFormatDecoder::DoFastForward(long long int, bool)':avformatdecoder.cpp:546: error: integer constant is too large for "long" typeavformatdecoder.cpp:546: error: `INT64_C' undeclared (first use this function)
I've found "hacks" around both problems but it feels like something is wrong. Maybe i should have compiled GCC with some options? Now i just did configure, make, make install with the new GCC version.
 
/Stefan
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080107/37ab8af5/attachment.htm 


More information about the mythtv-users mailing list