tyler wrote:
> Hi,
> 
> I'm working through the latest stable book release (6.3), and have had
> no apparent problems before section 5.13, installing ncurses. The last
> part of the output from make is pasted below, which complains about the
> hash-style=both option. I've confirmed that cc and gcc are pointed to
> the right places, and my path is correct. I've googled and searched the
> mailing lists, but I haven't figured out what I've done wrong. In most
> cases I've simply copy-pasted the directions, but I may have overlooked
> something. Please help!
> 
> Thanks,
> 
> Tyler
> 
> [EMAIL PROTECTED]:/mnt/lfs/sources/ncurses-5.6$ which cc
> /tools/bin/cc
> [EMAIL PROTECTED]:/mnt/lfs/sources/ncurses-5.6$ which gcc
> /tools/bin/gcc
> [EMAIL PROTECTED]:/mnt/lfs/sources/ncurses-5.6$ echo $PATH
> /tools/bin:/bin:/usr/bin
> 
> 
> last few lines of output from make:
> 
> /usr/bin/g++  -o demo ../obj_s/demo.o -L../lib -lncurses++ -L../lib -lform 
> -lmenu -lpanel
> -lncurses -Wl,-rpath,/mnt/lfs/sources/ncurses-5.6/lib  -I../c++ -I../include 
> -I.
> -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -I/tools/include -O2 
>  -fPIC
> /tools/bin/ld: unrecognized option '--hash-style=both'
> /tools/bin/ld: use the --help option for usage information
> collect2: ld returned 1 exit status
> make[1]: *** [demo] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.6/c++'
> make: *** [all] Error 2
> 

This is the problem - /usr/bin/g++. Apparently g++ is not in /tools. You 
apparently either skipped GCC Pass 2 or some part of it (like maybe 
"make install"), or typed something wrong there. What is the output of 
"readelf -l /tools/bin/gcc | grep interpret"?
-- 
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