Le 09/10/2011 10:35, Matthias Klose a écrit :
> reassign 644708 tcsh
> thanks
>
> $ cat foo.c
> char tgetent ();
> int
> main ()
> {
> return tgetent ();
> ;
> return 0;
> }
>
> the failing test works for me. the linker line is however missing the
> libraries.
Thanks.
Here is a test to isolate the bug:
cat > foo.c <<eof &&
char tgetent ();
int main ()
{
return tgetent ();
;
return 0;
}
eof
su
for DISTRIB in testing unstable ; do
echo "### $DISTRIB ###"
apt-get -y --force-yes install binutils/$DISTRIB \
binutils-multiarch/$DISTRIB binutils-dev/$DISTRIB \
binutils-gold/$DISTRIB binutils-doc/$DISTRIB > /dev/null
for x in termcap {,n}curses ; do gcc foo.c -l$x ; done
done
The result is:
### testing ###
/usr/bin/ld: error: cannot find libncurses.so.5
collect2: ld returned 1 exit status
/usr/bin/ld: error: cannot find libncurses.so.5
collect2: ld returned 1 exit status
/usr/bin/ld: error: cannot find libncurses.so.5
collect2: ld returned 1 exit status
### unstable ###
Reading changelogs...
Obviously, it's not related to tcsh at all...
To which package does this bug belong? libncurses5?
--
Laurent Dard
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]