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]

Problem linking GLib2


Hi,
        can anyone suggest what the problem is here. I've been trying to
install GLib 2 2.1.2 on my system. Everything was going OK until it got
round to linking where the following error message was dumped out:


mv -f /usr/src/glibc-build/db2/libdb.so.3.new
> /usr/src/glibc-build/db2/libdb.so.3
> gcc -nostdlib -nostartfiles -o /usr/src/glibc-build/db2/makedb
> -Wl,-dynamic-linker=/usr/i486-linux-libc6/lib/ld-linux.so.2   
> /usr/src/glibc-build/csu/crt1.o /usr/src/glibc-build/csu/crti.o `gcc
> --print-file-name=crtbegin.o` /usr/src/glibc-build/db2/makedb.o
> /usr/src/glibc-build/db2/libdb.so.3
> -Wl,-rpath-link=/usr/src/glibc-build:/usr/src/glibc-build/math:/usr/src/glibc-build/elf:/usr/src/glibc-build/nss:/usr/src/glibc-build/nis:/usr/src/glibc-build/db2:/usr/src/glibc-build/rt:/usr/src/glibc-build/resolv:/usr/src/glibc-build/linuxthreads
> /usr/src/glibc-build/libc.so.6 /usr/src/glibc-build/libc_nonshared.a -lgcc
> `gcc --print-file-name=crtend.o` /usr/src/glibc-build/csu/crtn.o
> /usr/src/glibc-build/libc.so.6: undefined reference to `__NR_rt_sigreturn'
> collect2: ld returned 1 exit status
> make[2]: *** [/usr/src/glibc-build/db2/makedb] Error 1
> make[2]: Leaving directory `/usr/src/glibc-2.1.2/db2'
> make[1]: *** [db2/others] Error 2
> make[1]: Leaving directory `/usr/src/glibc-2.1.2'
> make: *** [all] Error 2

I've no idea where __NR_rt_sigreturn come from. Is it kernel source
related ? The system is has the lasted compilers /linkers binutils etc.
As it was suggested that I upgrade before insatlling the library. I've
also included the Crypt, Linuxthreads (The reason why I embarked on this
in the first place) and Localedata. All of which were the lasted version
I could find from the ftp site.

 gcc version:
        Reading specs from
        /usr/lib/gcc-lib/i486-pc-linux-gnulibc1/2.95.2/specs
        gcc version 2.95.2 19991024 (release)
 
 ld version:
        GNU ld version 2.9.1 (with BFD 2.9.1)


If anyone knows what might be causing this I'd be very grateful for any
help.

Thanks in advance

Mark


-- 
Mark

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