Date: Sat, 16 Apr 2011 10:13:57 +0200 From: Gary Jennejohn <gljennjohn@googlemail.com> To: Jun Furukawa <z0.0z.furukawa@gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: cdp_c has incomplete type error Message-ID: <20110416101357.326e23ce@ernst.jennejohn.org> In-Reply-To: <4DA8F664.9030008@gmail.com> References: <4DA8F664.9030008@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Apr 2011 10:52:36 +0900 Jun Furukawa <z0.0z.furukawa@gmail.com> wrote: > When I compiled the following C language code which hooks vn_write function > on FreeBSD8.2, > I get "error: field 'cdp_c' has incomplete type" error. > Here we list the C source code, Makefile and the compiler messages. > Can anyone help me please? [code deleted] You have to include at least sys/conf.h, which is where struct cdev is defined. -- Gary Jennejohn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110416101357.326e23ce>