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: Linking Problem


Hi Kathy,

Thank you for your suggestion. For me it's linking properly, but still 
getting the same error. The following is the result of ldd.

ldd -v a.out
        libc.so.6 => /lib/libc.so.6 (0x40024000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

        Version information:
        ./a.out:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libc.so.6:
                ld-linux.so.2 (GLIBC_2.1.1) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.2) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2

Regards,
Sanal Kumar V K


>From: Kathy Bieltz <kbieltz@hal-pc.org>
>To: glibc-linux@ricardo.ecn.wfu.edu, sanalvk@hotmail.com
>Subject: Re: Linking Problem
>Date: Thu, 19 Apr 2001 08:25:29 -0500
>
>Sanal,
>
>When I have had this problem it was because
>I didn't have ld.conf set up correctly and so
>was not linking the glibc shared libraries
>correctly.
>
>Try running 'ldd' on your program to see
>what it is linking.  Then modify ld.conf
>to link in the correct libraries and then
>run ldconfig to install the new ld.conf.
>
>Kathy Bieltz
>
>sanal vk wrote:
>
> > Hi,
> >
> > I am getting following errors while linking a library, in which I don't 
>have
> > any control.
> >
> >        Undefined reference to _xstat
> >        Undefined reference to _fxstat
> >
> > I am using gcc 2.96 on Red Hat Linux release 7.0 (Kernel 2.2.16-22 on an
> > i686). I tried installing glibc-2.2.1 and linking vga library but it 
>didn't
> > make any difference.
> >
> > It will be of great help if you can throw some light on this problem.
> >
> > Ps. Please send a copy of your reply to my personal 
>id(sanalvk@hotmail.com)
> > since I am not a member of this group.
> >
> > Thanks and Regards,
> > Sanal Kumar V K
> >
> > 
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at 
>http://www.hotmail.com.
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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