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: Problem linking GLib2


>>>>> Mark  writes:

 > 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
Compiler with headers from kernel 2.2.x.

 > 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.
There's no localedata add-on anymore - read the docoumentation please.

Andreas
-- 
 Andreas Jaeger   
  SuSE Labs aj@suse.de	
   private aj@arthur.rhein-neckar.de

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