|
From: Jarod W. <ja...@wi...> - 2009-08-31 18:23:15
|
On Aug 31, 2009, at 1:02 PM, Christoph Bartelmus wrote: > Hi! > > Axel Thimm "Axe...@AT..." wrote: > [...] >> 0.8.4a builds fine on both, but 0.8.5 fails with >> >> RHEL5 (2.6.18 based): > > Fixed that one. Oh good, I started to look at that this morning, and quickly got sidetracked... I can confirm that fixes the lirc_dev build on RHEL5. > [...] >> RHEL4 (2.6.9 based): >> In file included from /builddir/lirc-0.8.5/drivers/lirc_dev/ >> lirc_dev.c:64: >> /builddir/lirc-0.8.5/drivers/lirc_dev/../../drivers/kcompat.h:388: >> error: >> conflicting types for 'kzalloc' include/linux/slab.h:101: error: >> previous >> declaration of 'kzalloc' was here /builddir/lirc-0.8.5/drivers/ >> lirc_dev/../. >> ./drivers/kcompat.h:388: error: conflicting types for 'kzalloc' >> include/linux/slab.h:101: error: previous declaration of 'kzalloc' >> was here > > This doesn't seem to be a 2.6.9 kernel. There's no kzalloc > declaration in > the original sources. The joy of Red Hat Enterprise Linux and backporting stuff for years and years. Looks like kzalloc was added fairly early on to the RHEL4 kernel. -- Jarod Wilson ja...@wi... |