Building kernel with no sound

Alexander Sieg alex at xanderio.de
Mon Jan 15 18:21:24 UTC 2018


Hey,
i´m trying to build a custom kernel with no sound support build in.

This is my make.conf:
MALLOC_PRODUCTION=true
KERNCONF=MYKERNEL #GENERIC-NODEBUG
DEVELOPER=yes

and this is my kernel configuration:
include GENERIC-NODEBUG

ident   MYKERNEL

nodevice	sound 		# Generic sound driver (required)
nodevice	snd_es137x	# Ensoniq AUdioPCI ES137x
nodevice	snd_hda		# Intel High Definition Audio
nodevice	snd_ich		# Intel, Nvidia and other ICH AC'97 audio
nodevice	snd_uaudio	# USB Audio
nodevice	snd_via8233	# VIA VT823x Audio


The problem is when i try to compile it with "make buildkernel" the
build process starts, but it stop with the error that it can´t find the
header file "channel_if.h".

/usr/src/sys/dev/sound/pcm/channel.h:256:10: fatal error: 'channel_if.h' file not found
#include "channel_if.h"
         ^~~~~~~~~~~~~~

The intention behind the custom kernel is to try 'oss' form the
ports tree.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180115/48a6d285/attachment.sig>


More information about the freebsd-current mailing list