Re: Compiling 2.0.27

Andrew Pollard (
Sat, 7 Dec 1996 14:06:07 GMT

Not that anyone answered me... but :-)

> I get the following error:
>gcc -D__KERNEL__ -I/home/root/src/linux-2.0.27/include -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -Wno-sign-compare -pipe -DCPU=586 -E -D__GENKSYMS__ ksyms.c | /sbin/genksyms /home/root/src/linux-2.0.27/include/linux/modules
>PANIC: buffer overflow! Quitting!
>cpp: output pipe has been closed
>make[1]: *** [/home/root/src/linux-2.0.27/include/linux/modules/ksyms.ver] Error 1

I downloaded a fresh 2.0.27 tar file.... and did a diff between this
and my patched up one... and got some differences....

Some of the include files had got corrupt and these must have been
confusing genksyms...

So, problem 'fixed'. New kernel compiling now.......

But, at the same time I mailed this... anyone have any insights?

>Having upgraded to libc 5.4.13/ 1.8.5, when I start gdb 4.16 up
>on a binary and try to run it, I get
>warning: Unable to find dynamic linker breakpoint function.
>warning: GDB will be unable to debug shared library initializers
>warning: and track explicitly loaded dynamic code.
>[Running 2.0.25 if it is of any consequence]
>Is this supposed to happen? I'll attempt to recompile gdb (but I think
>it is something to do with 1.8.5)
>I never got this before the upgrade to libc/ (I was using 5.4.12
>and 1.8.1)
>Otherwise it all seems to work (I don't need to debug shared libraries
>at this point :-)

| Andrew Pollard, Integral Solutions Ltd UK.| Work: |
| Tel:+44(0)1256 55899 Fax:+44(0)1256 63467 | Home: |