From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9e9e76dca260174c8be4d9c2d6c1cd00@quanstro.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] Xen and new venti From: erik quanstrom Date: Tue, 4 Mar 2008 17:26:17 -0500 In-Reply-To: <25c2223b56be202f15da4a4198616442@hamnavoe.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 6edf36f4-ead3-11e9-9d60-3106f5b1d025 > I can't see why this should have been necessary - libc contains memcpy > already. I have just updated /n/sources/xen/xen3 so it compiles with > the current Plan 9 kernel source (using Xen 3.0.2). I made the other > changes you listed, but I didn't have to do anything about memcpy. the reason it's necessary is that although the kernel links against the c library, it does not include libc.h. this is very much on purpose as not every function in libc is safe for use in the kernel. in this case, the definition for memcpy was likely not picked up in portfns.h so the linker couldn't find the proper function. - erik