compile error with 2.6.18

Rob Latham rob at terizla.org
Thu Sep 28 17:41:39 MDT 2006


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             


More information about the mol-general mailing list