From: Nathan S. <nda...@gm...> - 2008-01-01 19:25:08
|
On Tue, 01 Jan 2008 09:10:38 +0100 Magnus Rosenbaum <li...@cm...> wrote: > Happy new year! > > I tried to build mol on kernel 2.6.23.9 but the compilation fails. I > tried the release 0.9.72.1 and from the SVN and get these messages > while running make: > > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c: In function > 'handle_ioctl': > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:182: error: > implicit declaration of function '_IOWR' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:182: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:182: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:186: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:186: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:190: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:190: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:195: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:195: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:198: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:198: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:202: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:202: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:205: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:205: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:209: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:209: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:212: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:212: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:216: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:216: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:227: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:227: error: > case label does not reduce to an integer constant > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:246: error: > expected expression before 'mol_ioctl_pb_t' > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c:246: error: > case label does not reduce to an integer constant > distcc[17460] ERROR: compile > /home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.c on localhost > failed make[5]: *** > [/home/magnum/src/mol/trunk/obj-ppc/build/src/kmod/misc.o] Error 1 > make[4]: *** > [_module_/home/magnum/src/mol/trunk/obj-ppc/build/src/kmod] Error 2 > nm: '../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file > nm: '../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file > checker.pl failed > rm: cannot remove `../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': > No such file or directory > make[3]: *** [all-local] Error 1 > make[2]: *** [sub-Linux-all] Error 2 > make[1]: *** [sub-kmod-all] Error 2 > make: *** [sub-src-all] Error 2 > > On Kernel 2.6.21.6 at least the stable release works fine. > > System is Gentoo Linux on an Apple iBook G4. Hope someone can fix > this. > > cu, Magnus > It's a known issue. Work is progressing on getting MOL fixed up to build properly against .23 kernels. -- Nathan Smith nda...@gm... |