| Summary: | ../../dev/sound/pcm/channel.h:69: channel_if.h: No such file or directory | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Paul Werkowski <pw> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
On Tue, Jul 09, 2002 at 06:17:31AM -0700, Paul Werkowski wrote: > > >Number: 40379 > >Category: kern > >Synopsis: ../../dev/sound/pcm/channel.h:69: channel_if.h: No such file or directory > >Originator: Paul Werkowski > >Release: 4.6 > >Organization: > Sonetech Corporation > >Environment: > FreeBSD mht.sc.com 4.6-RELEASE-p1 FreeBSD 4.6-RELEASE-p1 #0: Fri Jul 5 07:03:13 EDT 2002 root@mht.sc.com:/usr/obj/usr/src/sys/GENERIC i386 > > >Description: > Added this line to a copy of GENERIC config file > > device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 > > Kernel fails to build due to missing file > /sys/dev/sound/pcm/channel_if.h What commands did you execute after adding the line to the GENERIC config file? Did you use 'make buildkernel' from the /usr/src directory, or did you do it the old-fashioned way, using config(8)? If you did it with config(8), are you sure that you ran 'make depend' before the real 'make'? G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 "yields falsehood, when appended to its quotation." yields falsehood, when appended to its quotation. | What commands did you execute after adding the line to the GENERIC | config file? Did you use 'make buildkernel' from the /usr/src | directory, or did you do it the old-fashioned way, using config(8)? | If you did it with config(8), are you sure that you ran 'make depend' | before the real 'make'? | I tried both the new and old ways. Yes I did do make depend, and that is where the build failed. I also tried removing the offending #include but that just led to failure at link time. There is no channel_if.h in the source. There are channel_if.m files though. Paul Try adding this to your configuration file: device pcm And then rerun config, etc. Mark State Changed From-To: open->feedback Does Mark Peek's suggestion of adding 'device pcm' to your kernel config file solve the problem? State Changed From-To: feedback->closed The submitter confirms that adding 'device pcm' fixes the problem. |
Added this line to a copy of GENERIC config file device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 Kernel fails to build due to missing file /sys/dev/sound/pcm/channel_if.h Fix: Unknown How-To-Repeat: See Full Description