9.0 Stable unable to buildworld, missing KERN_PROC_ENV in kvm_proc.c

Dewayne dewayne.geraghty at heuristicsystems.com.au
Sun Feb 5 13:48:10 UTC 2012


Unfortunately 9.0 Stable fails to compile due to missing declaration of KERN_PROC_ENV in /usr/src/lib/libkvm/kvm_proc.c.
csup'ed from today. 

Please refer to the following changes on 30-Jan-2012: 
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libkvm/kvm_proc.c.diff?r1=1.106.2.1;r2=1.106.2.2;f=h

Compile error reads:
cc -O2 -pipe -pipe -O2 -g0 -DSTRIP_FBSDID -UDEBUGGING -march=prescott -mtune=prescott  -DLIBC_SCCS -I/usr/src/lib/libkvm
-DNDEBUG -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libkvm/kvm_proc.c
/usr/src/lib/libkvm/kvm_proc.c: In function 'kvm_argv':
/usr/src/lib/libkvm/kvm_proc.c:663: error: 'KERN_PROC_ENV' undeclared (first use in this function)
/usr/src/lib/libkvm/kvm_proc.c:663: error: (Each undeclared identifier is reported only once
/usr/src/lib/libkvm/kvm_proc.c:663: error: for each function it appears in.)

Am I the last person using i386 architecture?  ;) I'm half joking. The buildworld completes successfully for architecture=amd64.

Regards, Dewayne




More information about the freebsd-stable mailing list