From: Mika Kortelainen <mak@prodax.fi>
Subject: Re: cannot compile 2.1.96 on PC164
Date: 1998/04/17 [thread overview]
Message-ID: <th67k8a7zy.fsf@prodax.fi> (raw)
In-Reply-To: edko-1604981819570001@k56-palm-00-40.ca.qnet.com
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
prev parent reply other threads:[~1998-04-17 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-16 4:00 cannot compile 2.1.96 on PC164 Edwin Koshimoto
1998-04-17 4:00 ` Steven N. Hirsch
1998-04-17 4:00 ` Mika Kortelainen [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox