- Code: Select all
include /etc/oss.conf
CFLAGS += -I$(OSSLIBDIR)/include/sys
It worked flawlessly on Gentoo. But in Ubuntu I'm faced with that:
- Code: Select all
‰ cat etc/oss.conf
OSSETCDIR=/etc/oss4
OSSVARDIR=/var/lib/oss4
OSSDKMSDIR=/var/lib/dkms/oss4/4.2-build2005
So cc fails at finding <soundcard.h>. Moreover, there's no usual OSSLIBDIR location, /usr/lib/oss. The oss4-dev package installs soundcard.h to /usr/include/linux/, replacing the original header. How should I handle such distros? Or is it a bug in Ubuntu package?
