|
From: Axel T. <Axe...@AT...> - 2009-08-30 19:44:37
|
Hi, 0.8.4a builds fine on both, but 0.8.5 fails with RHEL5 (2.6.18 based): /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: In function 'lirc_thread': /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:196: warning: 'interruptible_sleep_on' is deprecated (declared at include/linux/wait.h:375) /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: In function 'irctl_compat_ioctl': /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:787: error: 'struct file' has no member named 'f_path' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:821: error: 'struct file' has no member named 'f_path' 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 /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:90: error: field `buffer_lock' has incomplete type /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:109: warning: type defaults to `int' in declaration of `DEFINE_MUTEX' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:109: warning: parameter names (without types) in function declaration /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: In function `init_irctl': /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:122: warning: implicit declaration of function `mutex_init' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: In function `lirc_thread': /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:196: warning: `interruptible_sleep_on' is deprecated (declared at include/linux/wait.h:290) /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: In function `lirc_register_driver': /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:317: warning: implicit declaration of function `mutex_lock' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:317: error: `driver_lock' undeclared (first use in this function) /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:317: error: (Each undeclared identifier is reported only once /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:317: error: for each function it appears in.) /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:424: warning: implicit declaration of function `mutex_unlock' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:439: warning: implicit declaration of function `class_device_destroy' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: In function `lirc_unregister_driver': /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:471: error: `driver_lock' undeclared (first use in this function) /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: In function `irctl_open': /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:567: warning: implicit declaration of function `mutex_lock_interruptible' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:567: error: `driver_lock' undeclared (first use in this function) /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: In function `irctl_close': /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:629: error: `driver_lock' undeclared (first use in this function) /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: In function `irctl_compat_ioctl': /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:785: warning: implicit declaration of function `_IOC_TYPECHECK' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:785: error: syntax error before "unsigned" /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:785: error: syntax error before ')' token /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:787: error: structure has no member named `f_path' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:821: error: structure has no member named `f_path' /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c: At top level: /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:968: error: unknown field `compat_ioctl' specified in initializer /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:968: warning: initialization from incompatible pointer type /builddir/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:109: warning: 'DEFINE_MUTEX' declared `static' but never defined -- Axel.Thimm at ATrpms.net |