From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 24 Jun 2004 00:10:42 +0000 Subject: Re: link error with KLIBC in udev 027 Message-Id: <20040624001042.GA23096@kroah.com> List-Id: References: <3ACA40606221794F80A5670F0AF15F8404B3FA7A@pdsmsx403> In-Reply-To: <3ACA40606221794F80A5670F0AF15F8404B3FA7A@pdsmsx403> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Jun 23, 2004 at 05:04:53PM -0700, Sabharwal, Atul wrote: > > >>On Wed, Jun 23, 2004 at 05:48:32PM +0800, Ling, Xiaofeng wrote: > >>> I've tried to compile with USE_KLIBC=true, > >>> I got a lot of link errors like : > >>> :undefinced reference to '__errno_location' > >>> What's them problem? > >> > >>Did you do a 'make spotless' first? > >>Also, what kernel version are you building klibc against? Everything > >>works fine for me here. > >> > Regarding kernel version, I have installed 2.6.5 kernel headers in > /usr/include/linux directory. So, its system wide. That's not a smart thing to do. That directory should be what your glibc provides and is built against, not the kernel that you are using. Be prepared for a lot of packages to not build properly now. Anyway, how are you telling klibc where your kernel source tree is at when you build it? thanks, greg k-h ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel