Date: Sun, 26 Jul 2009 21:26:03 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Steve Kargl <sgk@troutmask.apl.washington.edu> Cc: freebsd-current@freebsd.org Subject: Re: shm breaks 'make buildkernel' Message-ID: <20090726182603.GV55190@deviant.kiev.zoral.com.ua> In-Reply-To: <20090726175934.GA12223@troutmask.apl.washington.edu> References: <20090726175934.GA12223@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--FH1sEO2+MvZYgg1+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 26, 2009 at 10:59:34AM -0700, Steve Kargl wrote: > cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -W= strict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qua= l -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/= sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inc= lude opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-gro= wth=3D100 --param large-function-growth=3D1000 -mno-align-long-strings -mp= referred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-ss= e3 -ffreestanding -fstack-protector -Werror /usr/src/sys/kern/sysv_shm.c > /usr/src/sys/kern/sysv_shm.c:882: error: field 'shm_perm' has incomplete = type > cc1: warnings being treated as errors > /usr/src/sys/kern/sysv_shm.c: In function 'oshmctl': > /usr/src/sys/kern/sysv_shm.c:925: warning: implicit declaration of functi= on 'ipcperm_new2old' > /usr/src/sys/kern/sysv_shm.c:925: warning: nested extern declaration of '= ipcperm_new2old' > /usr/src/sys/kern/sysv_shm.c:939: warning: implicit declaration of functi= on 'freebsd7_shmctl' > /usr/src/sys/kern/sysv_shm.c:939: warning: nested extern declaration of '= freebsd7_shmctl' > /usr/src/sys/kern/sysv_shm.c: At top level: > /usr/src/sys/kern/sysv_shm.c:954: error: 'freebsd7_shmctl' undeclared her= e (not in a function) > *** Error code 1 >=20 > Stop in /usr/obj/usr/src/sys/MOBILE. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. You need COMPAT_FREEBSD(N+1), if you defined COMPAT_FREEBSDN in your config. In your case, you need COMPAT_FREEBSD7. --FH1sEO2+MvZYgg1+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpsn7oACgkQC3+MBN1Mb4iqxgCgv1kCrIQyobXD+90+HwY+B7Av DNAAoLRY5BM5GXZi4SkQ0knMNCGMiy70 =gfwl -----END PGP SIGNATURE----- --FH1sEO2+MvZYgg1+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090726182603.GV55190>