From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31843 invoked from network); 17 May 1998 03:06:54 -0000 Received: from slip-32-100-110-85.vt.us.ibm.net (HELO air.steve.net) (32.100.110.85) by mail2.redhat.com with SMTP; 17 May 1998 03:06:54 -0000 Received: from localhost (localhost [127.0.0.1]) by air.steve.net (8.6.12/8.6.9) with SMTP id XAA00266 for ; Sat, 16 May 1998 23:09:31 -0400 Date: Sat, 16 May 1998 23:09:31 -0400 (EDT) From: "Steven N. Hirsch" X-Sender: hirsch@air.steve.net To: axp-list@redhat.com Subject: Re: Compile error In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 14 May 1998, JOHN PRICE wrote: > Trying to compile 2.1.101 on UDB. Getting errors: > > init/main.o: In function `checksetup': > main.c(.text+0x21c): undefined reference to `__builtin_memset' > > ...a bunch of them... > > > Why? How do I fix it? > > Thanx, > John I have no idea why this is still broken, but: --- linux/include/asm-alpha/string.h.orig Fri Apr 10 06:25:33 1998 +++ linux/include/asm-alpha/string.h Thu Apr 9 19:28:23 1998 @@ -24,7 +24,8 @@ extern void * __constant_c_memset(void *, unsigned long, long); extern void * __memset(void *, char, size_t); -#if __GNUC__ > 2 || __GNUC_MINOR__ >= 8 +/* #if __GNUC__ > 2 || __GNUC_MINOR__ >= 8 */ +#if 0 #define memset(s, c, n) \ (__builtin_constant_p(c) \ ? (__builtin_constant_p(n) && (c) == 0 \