Difficulty building new MOL

Samuel Rydh mol-general@lists.maconlinux.org
Tue, 27 Jan 2004 00:21:21 +0100


On Mon, Jan 26, 2004 at 07:05:42PM -0400, Misty De Meo wrote:
> I'm having some difficulty compiling the new version of Mac-on-Linux, as 
> obtained from rsync... it has trouble while compiling the fbdev part of the 
> video code, although I'm not certain what the exact problem is. It gives 
> the following errors:
> 
>    Compiling fbdev.o             : In file included from 
> /usr/include/linux/timer.h:5,
>                 from /usr/include/linux/workqueue.h:8,
>                 from /usr/include/linux/fb.h:5,
>                 from fbdev.c:24:
> /usr/include/linux/list.h:576:2: warning: #warning "don't include kernel 
> headers in userspace"
> In file included from /usr/include/linux/workqueue.h:8,
>                 from /usr/include/linux/fb.h:5,
>                 from fbdev.c:24:
> /usr/include/linux/timer.h:11: error: field `entry' has incomplete type
> In file included from /usr/include/linux/fb.h:5,
>                 from fbdev.c:24:
> /usr/include/linux/workqueue.h:15: error: field `entry' has incomplete type
> make[3]: *** [.objs-ppc/fbdev.o] Error 1
> make[2]: *** [sub-video-all] Error 2
> make[1]: *** [sub-drivers-all] Error 2
> make: *** [sub-src-all] Error 2

There seems to be a problem with your header files. Most probably,
the /usr/include/linux link is a symlink to the kernel headers rather than
a directory with headers from the libc build.

/Samuel