msleep redefined in linux-kmod-compat making kern mod's not compilable.

[ Available lists | Index of freebsd-emulation | Month of Mar 2008 | Week of 25 Mar 2008 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
eculp <eculp@encontacto.net>
Date
25 Mar 2008 12:08:27
Subject
msleep redefined in linux-kmod-compat making kern mod's not compilable.
Message-ID
20080325070813.98437ovry2l9e7mo@intranet.encontacto.net

Referenced by

[ Hide this part ]
I'm running 8.0-CURRENT FreeBSD 8.0-CURRENT #65: Sat Mar 22 05:22:05
CST 2008 up to date with linux_base-f7-7 and kernel 2.6.16 on my
laptop, I'm trying to compile linux-gspca-kmod and/or
multimedia/linux-ov511-kmod but am getting stuck at linux-kmod-compat.

In file included from gspca_core.c:39:
/usr/local/share/linux-kmod-compat/linux_compat/linux/module.h:212:1:
error: "msleep" redefined
In file included from
/usr/local/share/linux-kmod-compat/linux_compat/linux/module.h:45,
from gspca_core.c:39:
@/sys/systm.h:303:1: error: this is the location of the previous definition
In file included from gspca_core.c:52:
/usr/local/share/linux-kmod-compat/linux_compat/linux/usb.h:171:12:
error: missing terminating ' character
*** Error code 1

I'm not sure if this would be in ports rather than emulation any
suggestions appreciated. I'm not big on crossposting. Maybe someone
who is familiar with the problem can suggest which would be preferable.

Thanks,

ed


Elapsed time: 0.149 seconds