% grep 'device.*midi' sys/dev/files.audio device midi: audio Which means you need to have "audio" in your config too.
On Thu, Apr 9, 2015 at 10:58 AM, Paul Goyette <p...@vps1.whooppee.com> wrote: > I'm building a kernel which does not have any audio devices included, except > for sysbeep and midi (both attaching at pcppi). > > I'm getting the following undefined symbol references to audio_cd : > > audio.o: In function `audio_enter': > /build/netbsd-local/src/sys/dev/audio.c:1188: undefined reference to > `audio_cd' > audio.o: In function `audiopoll': > /build/netbsd-local/src/sys/dev/audio.c:1441: undefined reference to > `audio_cd' > audio.o: In function `audiokqfilter': > /build/netbsd-local/src/sys/dev/audio.c:1474: undefined reference to > `audio_cd' > > > It seems that no struct cf_driver is generated for audio_cd in the generated > ioconf.c > > > ------------------------------------------------------------------------- > | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | > | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | > | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net | > | Kernel Developer | | pgoyette at netbsd.org | > -------------------------------------------------------------------------