Re: compile error with 2.6.18
Rob Latham <[email protected]> Thu, 28 Sep 2006 18:41:39 -0500
| Newsgroups | gmane.linux.ports.ppc.mol.general |
|---|---|
| Message-ID | <[email protected]> |
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 > > /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