Re: __bzero errors and replacement

Andi Kleen (ak@muc.de)
Sun, 13 Dec 1998 09:13:14 +0100


In muc.lists.linux-kernel, you wrote:
>Hey,
>
> I recently messed up my system, so know that anything that uses __bzero
>wont compile. I will reinstall everything soon, but thats not the issue.
>Its my understanding the __bzero is old, and shouldnt be used anymore.
>While trying to compile the kernel i have noticed to places that use it,
>the menu xconfig, and build.c. I got the kernel to compile by doing make
>menuconfig, and then i modified build.c. I put a #define __bzero(a,n)
>(void)memset(a,b,1) at the top of the file, and got build.c to work, to
>compress the kernel to a bzImage. Anyway, since bzero is old it might be
>wise to replace it in make xconfig and build.c.

It is difficult to replace, because the __bzero calls you are mentioning
are generated implicitely by gcc.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/