compile error with 2.6.18

Bin Zhang yangtze31 at gmail.com
Tue Oct 3 05:48:46 MDT 2006


Thanks Rob.

On 9/29/06, Rob Latham <rob at terizla.org> wrote:
> On Thu, Sep 28, 2006 at 10:58:15AM +0200, Bin Zhang wrote:
> > Hi,
> >
> > I get an error when compiling mol mol-0.9.71_pre8 with kernel 2.6.18
> >

It was fixed in mol-0.9.71
http://lists.maconlinux.org/pipermail/mol-general/2006-October/004243.html

Thanks Joseph Jezak.


Best regards,
Bin

> > /home/zhang/src/mol-0.9.71_pre8/obj-ppc/build/src/kmod/_kuname.c:39:
> > error: expected ',' or ';' before 'UTS_RELEASE'
>
> I don't track mac-on-linux very closely anymore, so I don't have a
> patch, but this looks like a problem related to the way the linux
> kernel header files were re-aranged in 2.6.18 (well, they were
> rearranged a while ago. they just took out the backwards compatibilty
> in 2.6.18)
>
> uname-related things need '-imacros
> $LINUX_KERNEL_SOURCE/include/linux/autoconf.' added to CFLAGS.
> (where, of course, LINUX_KERNEL_SOURCE is where to find linux kernel
> sources).
>
> ==rob
>
> --
> Rob Latham                                        Chicago, IL USA
> _______________________________________________
> mol-general mailing list
> mol-general at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/mol-general
>


More information about the mol-general mailing list