This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Problem linking GLib2
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: Problem linking GLib2
- From: Mark <mark at mxnet dot demon dot co dot uk>
- Date: Wed, 3 Nov 1999 15:12:09 +0000
- Cc: glibc-linux at ricardo dot ecn dot wfu dot edu
- References: <2cHQVKAmKCI4Ew$B@mxnet.demon.co.uk><u8904flo7u.fsf@gromit.rhein-neckar.de>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
In message <u8904flo7u.fsf@gromit.rhein-neckar.de>, Andreas Jaeger
<aj@suse.de> writes
>>>>>> 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.
Would this cause this problem ? What is it anyway. I like to know why
things go wrong !
Cheers
Mark
>
>Andreas
--
Mark