Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 17:01:23 -0500
From:      Nathan Bollinger <nbollinger@bigrivertelephone.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Compiling a custom kernel with sound support
Message-ID:  <5.1.1.6.0.20020711165321.00a70330@mail.bigrivertelephone.com>

next in thread | raw e-mail | index | archive | help
--=====================_12627507==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

         I'm using FreeBSD 4.5-RELEASE and  am trying to compile my kernel 
with sound support. I follow the handbook about adding the proper device 
line to the  kernel config file and added the line "device pcm", but when i 
try to build it with either method listed:

         # /usr/sbin/config MYKERNEL
         # cd ../../compile/MYKERNEL
         # make depend

         or

         # cd /usr/src
         # make buildkernel KERNCONF=MYKERNEL

Both ways stop with the error:

   ../../dev/sound/pcm/channel.h:66: channel_if.h: No such file or directory
   *** Error code 1

What could I do to further diagnosis the problem or fix it?

Thanks for any help,

Nathan

--=====================_12627507==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>I'm using
FreeBSD 4.5-RELEASE and&nbsp; am trying to compile my kernel with sound
support. I follow the handbook about adding the proper device line to
the&nbsp; kernel config file and added the line <b>&quot;device
pcm&quot;</b>, but when i try to build it with either method
listed:<br><br>
<font face="Courier New, Courier"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>#
<b>/usr/sbin/config <i>MYKERNEL<br>
</i></b><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>#
<b>cd ../../compile/<i>MYKERNEL<br>
</i></b><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>#
<b>make depend<br><br>
</b><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>or<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab># <b>cd
/usr/src<br>
</b><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>#
<b>make buildkernel KERNCONF=<i>MYKERNEL<br><br>
</i></b>Both ways stop with the error:<br><br>
&nbsp; <b>../../dev/sound/pcm/channel.h:66: channel_if.h: No such file or
directory<br>
&nbsp; *** Error code 1<br><br>
</b>What could I do to further diagnosis the problem or fix it?<br><br>
Thanks for any help,<br><br>
Nathan</font><br>
</html>

--=====================_12627507==.ALT--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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