Date: Fri, 06 Feb 2015 17:09:38 -0500 From: Michael Butler <imb@protected-networks.net> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: r278328: fails to build kernel due to /usr/src/sys/kern/subr_bus.c: undefined reference to `memchr' Message-ID: <54D53BA2.6080406@protected-networks.net> In-Reply-To: <20150206210607.4a39a75d.ohartman@zedat.fu-berlin.de> References: <20150206210607.4a39a75d.ohartman@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --t2Aehhc4ptI2qBSt5CKIrc5DHjRMAgx61 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/06/15 15:06, O. Hartmann wrote: > Recent sources seem to fail in buildkernel with >=20 > [...] > --- kernel --- > linking kernel > subr_bus.o: In function `devctl2_ioctl': > /usr/src/sys/kern/subr_bus.c:(.text+0x6284): undefined reference to `me= mchr' > *** [kernel] Error code 1 It seems that this function in libkern was conditionally compiled. You might try this: *** sys/conf/files~ Sat Jan 31 10:44:44 2015 --- sys/conf/files Fri Feb 6 17:05:37 2015 *************** *** 3193,3199 **** libkern/murmur3_32.c standard libkern/mcount.c optional profiling-routine libkern/memcchr.c standard ! libkern/memchr.c optional fdt | gdb libkern/memcmp.c standard libkern/memmem.c optional gdb libkern/qsort.c standard --- 3193,3199 ---- libkern/murmur3_32.c standard libkern/mcount.c optional profiling-routine libkern/memcchr.c standard ! libkern/memchr.c standard libkern/memcmp.c standard libkern/memmem.c optional gdb libkern/qsort.c standard --t2Aehhc4ptI2qBSt5CKIrc5DHjRMAgx61 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlTVO6UACgkQQv9rrgRC1JJbUwCguzUYH+pZ+TR57budqrZm1q9I fY4AniGua0K/ACe5VJEQ+Vn1SWIa9goX =7rEF -----END PGP SIGNATURE----- --t2Aehhc4ptI2qBSt5CKIrc5DHjRMAgx61--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D53BA2.6080406>