> This is the error message i get when trying to
> compile:
> host-linux.c:660:2: warning: #warning "fix this
> kludge"
> In file included from
> /usr/src/linux/include/linux/sched.h:80,
>                  from
> /usr/src/linux/include/linux/mm.h:4,
>                  from host-linux.c:31:
> /usr/src/linux/include/linux/timer.h:31: conflicting
> types for `timer_t'
> include/monitor.h:534: previous declaration of
> `timer_t'
> make[1]: *** [host-linux.o] Error 1
> make[1]: Leaving directory `/tmp/plex86/kernel'
> make: *** [all] Error 2

What version of the kernel and kernel sources are you using? Give us the
output of "uname -a" on your machine. I don't have RH7.1.

I'm running 2.4.4, and I checked in my 2.2.17 sources, but neither of
them has a timer_t defined in their /usr/src/linux/include/linux/timer.h
files.

It is telling you that "timer_t" is defined both at
/usr/src/linux/include/linux/timer.h line 31, and at plex86's
include/monitor.h line 534, but the definitions differ.

You could try upgrading your kernel to a version that doesn't have that
conflict, or alternatively, adjusting the plex86 source so that it uses
another name for timer_t. Maybe plex86_timer_t...

I haven't tested this suggestion.

--Ian

Reply via email to