Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Broken sys/arch/i386/stand/boot/biosboot build (was: CVS commit: src)
Hi,
On Sun, Nov 16, 2008 at 04:15:58PM +0000, Andrew Doran wrote:
>
> Module Name: src
> Committed By: ad
> Date: Sun Nov 16 16:15:58 UTC 2008
>
> Modified Files:
> src/sys/kern: kern_ksyms.c
> src/sys/lib/libkern: Makefile libkern.h
> Added Files:
> src/common/lib/libc/stdlib: heapsort.c
> src/lib/libc/stdlib: qsort.c
> Removed Files:
> src/common/lib/libc/stdlib: qsort.c
> src/lib/libc/stdlib: heapsort.c
>
> Log Message:
> Our qsort() is inappropriate for kernel use because it makes recursive
> calls. Replace it with a kheapsort() function in kernel. Pointed out
> by tron@.
Unfortunally this broke the build in src/sys/arch/i386/stand/boot/biosboot:
compile kern/heapsort.o
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:58:23:
error: namespace.h: No such file or directory
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:61:20:
error: assert.h: No such file or directory
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:62:19:
error: errno.h: No such file or directory
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:63:20:
error: stdlib.h: No such file or directory
cc1: warnings being treated as errors
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:179:
warning: no previous prototype for 'heapsort'
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:
In function 'heapsort':
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:187:
warning: implicit declaration of function '_DIAGASSERT'
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:187:
error: 'NULL' undeclared (first use in this function)
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:187:
error: (Each undeclared identifier is reported only once
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:187:
error: for each function it appears in.)
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:195:
error: 'errno' undeclared (first use in this function)
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:195:
error: 'EINVAL' undeclared (first use in this function)
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:201:
warning: implicit declaration of function 'malloc'
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:201:
warning: assignment makes pointer from integer without a cast
/src/sys/arch/i386/stand/boot/biosboot/../../../../..//lib/libkern/../../../common/lib/libc/stdlib/heapsort.c:226:
warning: implicit declaration of function 'free'
*** Error code 1
Stop.
make: stopped in /usr/obj/src/sys/arch/i386/stand/boot/lib/kern
*** Error code 1
Stop.
make: stopped in /src/sys/arch/i386/stand/boot/biosboot
*** Error code 1
Stop.
make: stopped in /src/sys/arch/i386/stand/boot
*** Error code 1
Stop.
make: stopped in /src/sys/arch/i386/stand
*** Error code 1
Bernd
Home |
Main Index |
Thread Index |
Old Index