Re: compile error with 2.6.18
"Bin Zhang" <[email protected]> Tue, 3 Oct 2006 13:48:46 +0200
| Newsgroups | gmane.linux.ports.ppc.mol.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks Rob. On 9/29/06, Rob Latham <[email protected]> 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 > [email protected] > http://lists.terrasoftsolutions.com/mailman/listinfo/mol-general >