Opened 11 years ago
Closed 11 years ago
Last modified 11 years ago
#7548 closed patch (invalid)
[Use libavcodec for mythtv compilation as it is - part of ffmpeg]
Reported by: | Owned by: | janneg | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | MythTV - General | Version: | 0.22 |
Severity: | low | Keywords: | compilation error PIC |
Cc: | Ticket locked: | yes |
Description
The compilation of mythtv 0.22 fails on Gentoo since the PIC register (ebx) collides in with the assembler code in cabac.h of libavcodec (ffmpeg) included in the mythtv libs directory. A USE-flag specific compilation of ffmpeg succeeds perfectly. QT specific options for qmake imply the pic switch for the GNU compiler, which leads to compilation errors on some 32 bit machines. A non preferable hacking solution would be a an adaption to the build process in order to avoid this previously described constellation.
What I consider as a real improvement on the other side is a reference to all corresponding headers of other projects and not the inclusion within the own development directory structure. In this way a more modular design could be achieved. This implies an easier dependency resolution and the assignment of package specific feature inclusion like implemented by Gentoo with their USE-flags.
No ... no, no no