Date: Tue, 19 Nov 2013 15:09:31 -0500 From: Mason Loring Bliss <mason@blisses.org> To: freebsd-questions@freebsd.org Subject: Kernel build error (9.2 on 9.1 userland) Message-ID: <20131119200931.GE13289@blisses.org>
next in thread | raw e-mail | index | archive | help
Hi there! I'm not an experienced FreeBSD user yet, but I'm interested in doing more with it. I've got a FreeBSD 9.1 system that I've been updating with freebsd-update, but since I use a custom kernel (it's a Xen PV domU) I've been building my kernel separately. It just occurred to me that freebsd-update doesn't likely touch my /usr/src. So, today I updated /usr/src to base/stable/9 and tried to build, but my kernel build errors out. I'm wondering why the build is breaking on what should updated, pristine source from the stable tree. Is building on 9.1 the issue, and I'm seeing some conflict with the headers in my userland? What do I want to follow instead of base/stable/9 to get bug fixes and such for 9.1? I see base/release/9.1.0. Does that get security updates to match what freebsd-update will download for me for stock items? cc1: warnings being treated as errors /usr/src/sys/fs/nfsserver/nfs_nfsdport.c: In function 'nfsrv_sattr': /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2313: warning: implicit declaration of function 'NFSGETTIME' /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2313: warning: nested extern declaration of 'NFSGETTIME' [-Wnested-externs] /usr/src/sys/fs/nfsserver/nfs_nfsdport.c: In function 'nfsv4_sattr': /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2443: warning: passing argument 1 of 'nfsv4_strtouid' from incompatible pointer type /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2443: warning: passing argument 2 of 'nfsv4_strtouid' makes pointer from integer without a cast /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2443: warning: passing argument 3 of 'nfsv4_strtouid' makes integer from pointer without a cast /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2443: warning: passing argument 4 of 'nfsv4_strtouid' from incompatible pointer type /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2443: error: too few arguments to function 'nfsv4_strtouid' /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2469: warning: passing argument 1 of 'nfsv4_strtogid' from incompatible pointer type /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2469: warning: passing argument 2 of 'nfsv4_strtogid' makes pointer from integer without a cast /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2469: warning: passing argument 3 of 'nfsv4_strtogid' makes integer from pointer without a cast /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2469: warning: passing argument 4 of 'nfsv4_strtogid' from incompatible pointer type /usr/src/sys/fs/nfsserver/nfs_nfsdport.c:2469: error: too few arguments to function 'nfsv4_strtogid' *** [nfs_nfsdport.o] Error code 1 Stop in /usr/obj/usr/src/sys/XEN. *** [buildkernel] Error code 1 Stop in /usr/src. *** [buildkernel] Error code 1 Stop in /usr/src. The best I could do to identify my userland seems to be this, from /usr/include/sys/syscall.h: * $FreeBSD: release/9.1.0/sys/sys/syscall.h 229724 2012-01-06 19:30:17Z jhb Thanks in advance for clues! :) -- The creatures outside looked from pig to man, and from man to pig, and from pig to man again; but already it was impossible to say which was which. - G. Orwell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131119200931.GE13289>