Date: Wed, 5 Aug 2015 20:28:52 +0530 From: Pratik Singhal <ps06756@gmail.com> To: Pratik Singhal <ps06756@gmail.com>, freebsd-hackers <freebsd-hackers@freebsd.org>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Compilation error due to header not found Message-ID: <CAGf2gkMqN9UNMKoBWHW8cCDz0VL_QmtGWaBzT562FQ4z9MRW_Q@mail.gmail.com> In-Reply-To: <20150805141145.GA21009@ox> References: <CAGf2gkMds4yVt3CgbixnwO7ND=SvRBY59CH3q0Le1nNTeSfo9A@mail.gmail.com> <20150805141145.GA21009@ox>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks a lot! for the hint! Although, I didn't make any direct changes in SRCS in Makefile, I used "device sound" in the config file used to compile the kernel and the channel_if.h file was generated. Thanks, Pratik Singhal On Wed, Aug 5, 2015 at 7:41 PM, Navdeep Parhar <nparhar@gmail.com> wrote: > On Wed, Aug 05, 2015 at 06:13:03PM +0530, Pratik Singhal wrote: > > Hello all, I have used the file "dev/sound/pcm/sound.h" in a kernel > driver > > made for ac97 codec for Allwinner A10. This file further includes the > file > > "dev/sound/pcm/channel.h" which further includes the file "channel_if.h". > > > > I have checked in ~HEAD and the file channel_if.h doesn't exist in that > > particular directory and as a result, I am getting a compilation error > when > > I compile the kernel complaining about the missing file "channel_if.h" . > > > > How can I resolve this error ? > > There is a channel_if.m in the tree. The build system should be able to > create channel_if.h from that if you list channel_if.h in SRCS in your > Makefile. > > Regards, > Navdeep > -- Regards, Pratik Singhal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGf2gkMqN9UNMKoBWHW8cCDz0VL_QmtGWaBzT562FQ4z9MRW_Q>