Comment 5 for bug 45703

Revision history for this message
In , Deactivated Account (deactivated-account-deactivatedaccount) wrote : lirc-modules-source: Unresolved symbols with kernels >=2.6.13

Package: lirc-modules-source
Version: 0.7.1pre2-9
Tags: patch
Followup-For: Bug #326672

I'm experiencing exactly the same problem with kernel 2.6.13.2
using the `lirc_serial' driver. The following kernel messages are
generated upon trying to load the relevant modules:

lirc_dev: Unknown symbol class_simple_device_add
lirc_dev: Unknown symbol class_simple_destroy
lirc_dev: Unknown symbol class_simple_device_remove
lirc_dev: Unknown symbol class_simple_create
lirc_serial: Unknown symbol lirc_unregister_plugin
lirc_serial: Unknown symbol lirc_register_plugin

This problem is due to a sysfs interface change in kernel 2.6.13
and has been fixed upstream (in version 0.7.2).

An interim solution would be to replace the files `drivers/kcompat.h'
and `lirc_dev/lirc_dev.c' with their respective versions from upstream
version 0.7.2. The attached patch resembles exactly these changes and
results in perfectly working modules for kernels above and below version
2.6.13.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2-maia
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lirc-modules-source depends on:
ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy
ii debhelper 4.9.10 helper programs for debian/rules
ii debianutils 2.14.3 Miscellaneous utilities specific t

Versions of packages lirc-modules-source recommends:
ii dpkg 1.13.11 package maintenance system for Deb
ii dpkg-dev 1.13.11 package building tools for Debian
ii gcc [c-compiler] 4:4.0.1-3 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.6-10 The GNU C compiler
ii gcc-3.4 [c-compiler] 3.4.4-8 The GNU C compiler
ii gcc-4.0 [c-compiler] 4.0.1-9 The GNU C compiler
ii kernel-package 9.007 A utility for building Linux kerne
ii make 3.80-11 The GNU version of the "make" util

-- debconf information excluded