« Return to Thread: RE: Centos 4.3/4.4 unable to compile any LIRC version (0.7.2, 0.8.0, CVS)

Re: Centos 4.3/4.4 unable to compile any LIRC version (0.7.2, 0.8.0, CVS)

by Blammo :: Rate this Message:

Reply to Author | View in Thread

On 12 Dec 2006 03:32:00 +0000, Christoph Bartelmus <lirc@...> wrote:

> Blammo "blammo.doh@..." wrote:
> >> I ran into this problem today regarding the LIRC source not building on
> >> CentOS 4.3/4.4 or Rhel4 with recent kernels.  I found that the recent
> >> kernel has two new functions and macros (named class_create and
> >> class_destroy) which conflict with the same lirc functions.  I updated
> >> code from todays CVS tree (2006/09/27) which seems to have fixed the
> >> problem.  Essentially I renamed the lirc functions to be prepended with
> >> "lirc_" and updated any references.  The cvs diff output is below:
>
> > Latest CVS from today still hasn't implemented both of these changes,
> > and still fails under Centos4/x/RHEL4. Been through the archives.. any
> > reason this isn't fixed?
>
> Because if you used official kernel versions you would find that they do
> not have this problem.
> You are problably using a patched kernel with backports from later
> kernel releases.
> LIRC will only support official kernel releases.

While I can appreciate the difficulty of supporting multiple streams
of kernel, and even understand a bit of the attitude, it would seem to
me, if the change doesn't HARM the compilation on "official" kernels,
and HELPS the code to compile for a potentially large installed base,
making the change to CVS might be beneficial.

But thanks for the clarification, and to the Original Poster for the solution...

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

 « Return to Thread: RE: Centos 4.3/4.4 unable to compile any LIRC version (0.7.2, 0.8.0, CVS)