This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libc5 to glibc2 upgrade problem


On Thu, Feb 10, 2000 at 03:44:31PM -0800, Drew C. Poulin wrote:
> /glibc-2.1.2/compile/libc.so.6: undefined reference to `__NR_rt_sigreturn'
> collect2: ld returned 1 exit status
> make[2]: *** [/glibc-2.1.2/compile/db2/makedb] Error 1
> make[2]: Leaving directory `/glibc-2.1.2/db2'
> make[1]: *** [db2/subdir_install] Error 2
> make[1]: Leaving directory `/glibc-2.1.2'
> make: *** [install] Error 2

from which version are your kernel headers ? 
(look at UTS_RELEASE in /usr/include/linux/version.h, or in
xxx/linux/version.h if you configured libc with --with-headers=xxx) 
You should always configure libc with the most recent kernel
(2.2 if you can, or 2.0.38 at least). You will still be able to use the
produced libc with (not too) older 2.0 kernels.


> 
> 
> I'm using Slackware 3.5, and when I type gcc -v, I get:
> 
> Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.29/specs
> gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)

This compiler seems to be fine from the FAQ.

Good luck !

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]