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

eculp eculp at encontacto.net
Tue Mar 25 05:08:28 PDT 2008


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


More information about the freebsd-emulation mailing list