This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Linking Problem
- To: glibc-linux at ricardo dot ecn dot wfu dot edu, sanalvk at hotmail dot com
- Subject: Re: Linking Problem
- From: Kathy Bieltz <kbieltz at hal-pc dot org>
- Date: Thu, 19 Apr 2001 08:25:29 -0500
- References: <F441s7nlT2NqFJ3sl3x00000954@hotmail.com>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
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.