On 3/2/06, Chakkaradeep C C <[EMAIL PROTECTED]> wrote:
> hi all,
>
> i got this error and i dont know what the problem is...
>
> ranlib ../lib/libncurses++.a
> cd ../obj_s;  /tools/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
> -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -fPIC -c ../c++/demo.cc
> /tools/bin/g++  -o demo ../obj_s/demo.o -L../lib -lncurses++ -L../lib -lform
> -lmenu -lpanel -lncurses -Wl,-rpath,/sources/ncurses-5.4/lib  -I../c++
> -I../include -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG
> -O2 -fPIC
> /tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -lstdc++

This is the problem : it can't find libstdc++

> is this glibc or gcc not properly installed?
the book says gcc installed it (or should have)
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gcc.html

First check your gcc install, and check if this lib exists on your system.

Jeremy
--
Linux Registered User #317862
Linux From Scratch Registered User #16571
Please do not send me .doc, .xls, .ppt, as I will *NOT* read them.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to