CDfs is a file system for Linux systems that `exports' all tracks and boot images on a CD as normal files. These files can then be mounted (e.g. for ISO and boot images), copied, played (audio and VideoCD tracks)... The primary goal for developing this file system was to `unlock' information Reproducible: Always Steps to Reproduce:
I could not compile this under 2.6.23-gentoo-r5 without adding #include <linux/sched.h> to root.c and daemon.c. After that I still couldn't read an CD-ROM XA disc though I've never tried to read this disc with anyhthing else either.
Damn, I just saw that cdfs-2.6.19-kernel-2.6.22.patch does exactly that. Nevermind.
Committed thanks
emerge -v sys-fs/cdfs-2.6.23 fails output: [...] Calculating dependencies... done! [ebuild N ] sys-fs/cdfs-2.6.23 0 kB [...] >>> Compiling source in /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23 ... ln: creating symbolic link `Module.symvers': File exists * Preparing cdfs module make -C /usr/src/linux SUBDIRS=/var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23 modules make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r7' WARNING: Symbol version dump /usr/src/linux-2.6.25-gentoo-r7/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.o /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.c: In function 'cdfs_fill_super': /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.c:366: error: implicit declaration of function 'iget' /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.c:366: warning: passing argument 1 of 'd_alloc_root' makes pointer from integer without a cast /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.c: In function 'cdfs_lookup': /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.c:464: warning: assignment makes pointer from integer without a cast /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.c: At top level: /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.c:546: error: unknown field 'read_inode' specified in initializer /var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.c:546: warning: initialization from incompatible pointer type make[2]: *** [/var/tmp/portage/sys-fs/cdfs-2.6.23/work/cdfs-2.6.23/root.o] Error 1 make[1]: *** [_module_/var/tmp/portage/sys-fs/cdfs-2.6.19/work/cdfs-2.6.19] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7' make: *** [all] Error 2 * * ERROR: sys-fs/cdfs-2.6.19 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3139: Called linux-mod_src_compile * environment, line 2413: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KDIR="/usr/src/linux" all * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-fs/cdfs-2.6.19/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/cdfs-2.6.19/temp/environment'. NOTE: DEPENDS="" is empty in /usr/portage/sys-fs/cdfs/cdfs-2.6.23.ebuild Please REOPEN this bug.