Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 07:08:13 -0500
From:      eculp <eculp@encontacto.net>
To:        freebsd-emulation <freebsd-emulation@freebsd.org>
Subject:   msleep redefined in linux-kmod-compat making kern mod's not compilable.
Message-ID:  <20080325070813.98437ovry2l9e7mo@intranet.encontacto.net>

next in thread | raw e-mail | index | archive | help
I'm running 8.0-CURRENT FreeBSD 8.0-CURRENT #65: Sat Mar 22 05:22:05 =20
CST 2008 up to date with linux_base-f7-7 and kernel 2.6.16 on my =20
laptop,   I'm trying to compile linux-gspca-kmod and/or =20
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: =20
error: "msleep" redefined
In file included from =20
/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: =20
error: missing terminating ' character
*** Error code 1

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

Thanks,

ed



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080325070813.98437ovry2l9e7mo>