From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sun, 23 Nov 2003 06:00:03 +0000 Subject: Re: [PATCH] static klibc udev does not link against crt0.o Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Sat, Nov 22, 2003 at 10:04:03AM +0100, Olaf Hering wrote: > On Wed, Nov 19, Greg KH wrote: >=20 > > > I did 'make KLIBC=3Dtrue' in the current bk tree. > >=20 > > try 'make -f Makefile.klibc' in the current tree. For some reason I > > couldn't figure out how to have Makefile work for both KLIBC=3Dtrue and > > KLIBC=FAlse. But I didn't try too hard :) >=20 > I dont understand that. >=20 > please do rm -f Makefile.klibc; apply this patch and tell me what fails. > works for me. Doh, thanks, I've applied this and deleted Makefile.klibc. Thanks a lot for this. > %build > make KLIBC=3D%{use_klibc} DEBUG=FAlse > cp -av udev udev.static > make KLIBC=3D%{use_klibc} DEBUG=FAlse clean > make KLIBC=FAlse DEBUG=3Dtrue > cp -av udev udev.debug > cd libsysfs > ar cru libsysfs.a *.o ../logging.o > ranlib libsysfs.a > cd .. > make -C extras/scsi_id CC=3D"gcc $RPM_OPT_FLAGS -I`pwd`/libsysfs -L`pwd`/= libsysfs" >=20 > this is what I use. Nice to see scsi_id building properly. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ 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