[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-mol-devel] Bug#445359: [RFH] Mac-on-Linux for Debian lenny



On Fri, Jul 25, 2008 at 1:40 PM, Gerfried Fuchs <rhonda@deb.at> wrote:
> * Gerfried Fuchs <rhonda@deb.at> [2008-07-25 07:04:57 CEST]:
>> * Bin Zhang <yangtze31@gmail.com> [2008-07-24 01:01:17 CEST]:
>> > Bug #460667 (  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460667
>> > ) reopened.
>>
>>  Woh, that's good news! I really hope that it can make it into lenny
>> still...
>
>  Thanks to waldi for enabling it. I just have currently a problem
> compiling the mol source from the pool, is anyone else trying that
> already? You can fetch the kernel from here:
>
> deb     http://kernel-archive.buildserver.net/debian-kernel trunk main
> deb-src http://kernel-archive.buildserver.net/debian-kernel trunk main
>
>  The images that have it enabled are the 2.6.26-1 ones.
>
>  I did the following:
>
> #v+
> $> cd /usr/src
> $> tar xjf mol.tar.bz2

I have not yet tested mol with 2.6.26.

You should try the four patches
"suse-ppc32-mol-BIT,suse-ppc32-mol-get-property, suse-ppc32-mol-ioctl,
suse-ppc32-mol-sheep" from suse kernel-source-2.6.26*:
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/

(Download the kernel-source package, then "rpm2cpio
kernel-source-2.6.26-2.src.rpm |cpio -ivd", the patches are in
patches.suse.tar.bz2)


Best regards,
Bin


> $> cd modules/mol/kmod
> $> make -C /lib/modules/2.6.26-1-powerpc/build M=$(pwd)
> make: Entering directory `/usr/src/linux-headers-2.6.26-1-powerpc'
>  LD      /usr/src/modules/mol/kmod/built-in.o
>  CC [M]  /usr/src/modules/mol/kmod/_kuname.o
>  CC [M]  /usr/src/modules/mol/kmod/_fault.o
> In file included from /usr/src/modules/mol/kmod/kernel_vars.h:22,
>                 from /usr/src/modules/mol/kmod/_fault.c:19:
> /usr/src/modules/mol/kmod/mac_registers.h:114:1: warning: "BIT" redefined
> In file included from include/linux/kernel.h:15,
>                 from /usr/src/modules/mol/kmod/archinclude.h:44,
>                 from /usr/src/modules/mol/kmod/_fault.c:17:
> include/linux/bitops.h:6:1: warning: this is the location of the previous definition
>  CC [M]  /usr/src/modules/mol/kmod/_dev.o
> In file included from /usr/src/modules/mol/kmod/kernel_vars.h:22,
>                 from /usr/src/modules/mol/kmod/_dev.c:28:
> /usr/src/modules/mol/kmod/mac_registers.h:114:1: warning: "BIT" redefined
> In file included from include/linux/kernel.h:15,
>                 from /usr/src/modules/mol/kmod/archinclude.h:44,
>                 from /usr/src/modules/mol/kmod/_dev.c:17:
> include/linux/bitops.h:6:1: warning: this is the location of the previous definition
> /usr/src/modules/mol/kmod/_dev.c: In function 'find_physical_rom':
> /usr/src/modules/mol/kmod/_dev.c:88: error: implicit declaration of function 'get_property'
> make[1]: *** [/usr/src/modules/mol/kmod/_dev.o] Fehler 1
> make: *** [_module_/usr/src/modules/mol/kmod] Fehler 2
> make: Leaving directory `/usr/src/linux-headers-2.6.26-1-powerpc'
> $>
> #v-
>
>  Anyone else got any further? Using mol-source 0.9.72.1~dfsg-1 package.
>
>  Thanks,
> Rhonda
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


Reply to: