Re: missing function definition uvm_pmemrange.c

2010-07-16 Thread Philip Guenther
On Friday, July 16, 2010, Fred Crowson wrote: > While trying to build a debug ramdisk kernel - I came across a build error in > uvm_pmemrange.c where the function uvm_pmr_isfree was not defined, I've added > it to #ifdef not sure if this is the correct process or whether it needs its > own #ifd

missing function definition uvm_pmemrange.c

2010-07-16 Thread Fred Crowson
Hi tech@ While trying to build a debug ramdisk kernel - I came across a build error in uvm_pmemrange.c where the function uvm_pmr_isfree was not defined, I've added it to #ifdef not sure if this is the correct process or whether it needs its own #ifdef. diff -ui follows. Thanks Fred x41:f

acpi.c with ACPI_DEBUG = no build

2010-07-16 Thread frantisek holop
hi there, it seems like the ACPI to PCI mapping has a problem (with ACPI_DEBUG): cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-main -Wno-uninitialized -Wno-format -Wstack-larger-than-2047 -fno-builtin-printf -fno-builtin-snprintf -fno-builtin-vsnprintf -fno-builtin-log -fno-

Building on i386 with DESTDIR

2010-07-16 Thread Nathanael Rensen
I've found I need a few diffs to build my i386 system cleanly with gcc4 when the DESTDIR variable is set. 1) When DESTDIR is set, /usr/share/mk/bsd.sys.mk sets the gcc -nostdinc flag and adds include directories pointing within the DESTDIR. However, two additional directories are required to repl

libstdc++-v3 build failures with DESTDIR set

2010-07-16 Thread Vladimir Kirillov
Hello t...@! I'm trying to build system into custom DESTDIR and i got errors about missing includes which i fixes with this: Index: Makefile === RCS file: /cvs/src/gnu/lib/libstdc++-v3/Makefile,v retrieving revision 1.6 diff -u -p -r