[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libc undefined reference while building ncurses
From: |
Sven Verdoolaege |
Subject: |
Re: libc undefined reference while building ncurses |
Date: |
Sun, 24 Jun 2001 12:46:23 +0200 |
User-agent: |
Mutt/1.3.17i |
On Sat, Jun 23, 2001 at 08:59:28PM -0600, C. Ulrich wrote:
>
> Hello,
>
> I'm sorry for bothering you for what might a personal screwup of my own, but
> I have looked everywhere for a solution to this, and finding none, am
> deciding that it *might* be a bug in ncurses.
I don't think so.
>
> gcc ../obj_lo/tic.o ../obj_lo/dump_entry.o -L../lib -L/usr/local/geenix/lib
> ../lib/.libs/libncurses.so -s -o .libs/tic -Wl,--rpath
> -Wl,/usr/local/geenix/lib
> /lib/libc.so.6: undefined reference to address@hidden'
> /lib/libc.so.6: undefined reference to address@hidden'
> /lib/libc.so.6: undefined reference to address@hidden'
>
You're linking against an old libc.so and a new ld.so;
maybe /lib/libc.so is hardcoded somewhere. Try explicitly
adding -lc to the libraries to link against.
skimo