From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,375d1601851f052b X-Google-Attributes: gid111c93,public From: Mika Kortelainen Subject: Re: cannot compile 2.1.96 on PC164 Date: 1998/04/17 Message-ID: #1/1 X-Deja-AN: 345029666 References: Organization: TT Tieto Oy/Palvelut Newsgroups: comp.os.linux.alpha edko@cello.qnet.com (Edwin Koshimoto) writes: > > Trying to compile 2.1.96 on my PC164 500Mhz Alpha yields the following: > > init/main.o: In function `checksetup': > main.c(.text+0x200): undefined reference to `__builtin_memset' > main.c(.text+0x204): undefined reference to `__builtin_memset' > main.c(.text+0x23c): undefined reference to `__builtin_memset' > ... > > Any ideas? At least this is different from the previous fatal error in 2.1.94. > Yes, perhaps you are using egcs? Or at least with egcs, include/asm-alpha/string.h is a bit broken... there is a #ifdef under which memset is defined in two ways, the way to get it to work with egcs is to e.g. change the #ifdef to #if 0 (so that the "else" branch will be used). To be honest, I haven't yet tried that kernel, but at least it did build without problems after that change. Mika Kortelainen