From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Mon, 08 Dec 2003 10:02:09 +0000 Subject: Re: [PATCH] Add -nodefaultlibs while compiling against klibc Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sunday 07 December 2003 22:55, Olaf Hering wrote: > > this gives me linker errors on ppc and ia64: > > tdb/tdb.o(.text+0x1092): In function `tdb_chainunlock_read': > : undefined reference to `__umodsi3' Does this help? diff -Nru a/Makefile b/Makefile --- a/Makefile Tue Nov 25 12:26:18 2003 +++ b/Makefile Tue Nov 25 12:26:18 2003 @@ -124,7 +124,7 @@ -I$(INCLUDE_DIR)/bits$(BITSIZE) -I$(GCCINCDIR) -Iklibc/linux/include \ -D__KLIBC__ LIB_OBJS - LDFLAGS = --static --nostdlib -nostartfiles -nodefaultlibs + LDFLAGS = --static --nostdlib -nostartfiles -nodefaultlibs -lgcc else CRT0 LIBC ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ 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