OSS from mercurial no longer compiles on FreeBSD 9-CURRENT:
kernel/OS/FreeBSD
cc -c -O2 -pipe -D_KERNEL -O3 -fno-common -mcmodel=kernel -mno-red-zone -fno-asynchronous-unwind-tables -ffreestanding -DOSS_LITTLE_ENDIAN -I../../../include -I../../../kernel/framework/include -I../../../kernel/OS/FreeBSD -I../../../kernel/nonfree/include -I../../.. os_freebsd.c -o ../../../target/objects/os_freebsd.o
os_freebsd.c:899: error: conflicting types for 'oss_mmap'
os_freebsd.c:26: error: previous declaration of 'oss_mmap' was here
*** Error code 1
Compilation failure
Moderators: hannu, dev, cesium
Re: Compilation failure
FYI, it does compile properly on 8.0-RELEASE, just not 9.0-CURRENT.
Adam
Adam
Re: Compilation failure
There's a fix here. I'll try to get to mercurial too.
Re: Compilation failure
Thanks, I can confirm that those patches work here.
Adam
Adam
Who is online
Users browsing this forum: Bing [Bot] and 1 guest