This error (unknown dev_ioctl) started when I tried to emerge cdemu after 2.6.17 kernel.... (x86 system, should I post my emerge --info even in this case?) >>> Compiling source in /var/tmp/portage/cdemu-0.7/work/cdemu-0.7 ... make -C /usr/src/linux SUBDIRS=/var/tmp/portage/cdemu-0.7/work/cdemu-0.7 modules make[1]: Entering directory `/usr/src/linux-2.6.17-gentoo' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CC [M] /var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.o /var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.c:642: error: unknown field 'dev_ioctl' specified in initializer /var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.c:642: warning: initialization makes integer from pointer without a cast /var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.c:646: error: 'CDC_IOCTLS' undeclared here (not in a function) make[2]: *** [/var/tmp/portage/cdemu-0.7/work/cdemu-0.7/cdemu.o] Error 1 make[1]: *** [_module_/var/tmp/portage/cdemu-0.7/work/cdemu-0.7] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo' make: *** [all] Error 2 !!! ERROR: app-cdr/cdemu-0.7 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile cdemu-0.7.ebuild, line 23: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant.
handled upstream
*** Bug 139728 has been marked as a duplicate of this bug. ***
Even though this is being handled upstream I think it might be a good idea to add a DEPEND on "<virtual/linux-sources-2.6.17" to cdemu-0.7 as both cdemu 0.7 and (on x86 at least) =gentoo-sources-2.6.17* are currently marked as stable. (I tested gentoo-sources-2.6.16-r13 with which cdemu still compiles.) Or am I wrong here?