[oss-devel] FreeBSD > 6.2 support

SIEGERSTEIN siegerstein at pochta.ru
Tue Dec 4 13:01:12 EET 2007


Michael Kosarev пишет:
> Hi! I think it's time for adding support of more fresh FreeBSD, the main
> trouble, that current OSS isn't compilable under FBSD. As I could see,
> the current trouble goes from here (quote from /usr/src/UPDATING)
> "20070930:
>         The PCI code has been made aware of PCI domains. This means that
>         the location strings as used by pciconf(8) etc are now in the
>         following format: pci<domain>:<bus>:<device>[:<function>]. It
>         also means that consumers of <sys/pciio.h> potentially need to
>         be recompiled; this includes the hal and xorg-server ports."
> The error is following:
> Compiling module osscore
> Compiling osscore module failed
> Warning: Object directory not changed from original /usr/lib/oss/build
> cc -O2 -fno-strict-aliasing -pipe -march=prescott -Werror -D_KERNEL
> -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000 -fno-common  -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c osscore.c
> cc1: warnings being treated as errors
> osscore.c: In function 'oss_register_interrupts':
> osscore.c:168: warning: passing argument 4 of 'bus_setup_intr' from
> incompatible pointer type
> osscore.c :168: warning: passing argument 5 of 'bus_setup_intr' from
> incompatible pointer type
> osscore.c:168: error: too few arguments to function 'bus_setup_intr'
> *** Error code 1
> 
> 
> 
> -- 
> With best regards from Russia, Mike
> 


# cd /usr/ports/audio/oss
# make install clean

/etc/rc.conf:
oss_enable="YES"

Manual load & unload:
# soundoff
# soundon


Best from Ukraine :)
Alex J. Ivasyuv // SIEGERSTEIN



More information about the oss-devel mailing list