Steve Thanks for your response. Since, I am using the sfw-nv source tar ball and trying to compile without making any changes to this source tree, I assumed that this option must be already set . Looking at usr/src/cmd/gdb/Makefile.sfw does seems to include this option. Still, no luck. Any other thoughts ?
thanks sriram Steve Christensen wrote: > Try adding --with-curses to your configure options. > > This is what is used in the SFW build of gdb. > > Steve C. > > > Sriram Natarajan wrote: >> Hi >> Hope, this is the right alias to post for questions like these. If >> not , please correct me. >> I am running into compilation issue while compiling gdb from sfw-nv >> source tar ball. Since, it is working for most of you guys, I am >> probably missing something . Can some one point me as to where I need >> to look to address this issue. >> >> /ws/onnv-tools/SUNWspro/SS11/bin/cc -xO3 -xarch=v8 -xspace -W0,-Lt >> -Xa -xildoff -xc99=all -W2,-xwrap_int -xc99=none -xCC \ >> -o gdb gdb.o libgdb.a \ >> ../bfd/libbfd.a ../readline/libreadline.a >> ../opcodes/libopcodes.a ../libiberty/libiberty.a -ldl -lncurses >> -lsocket -lnsl -lm ../libiberty/libiberty.a >> Undefined first referenced >> symbol in file >> initscr32 libgdb.a(tui.o) >> w32addch libgdb.a(tui-io.o) >> w32attron libgdb.a(tui-wingeneral.o) >> w32attroff libgdb.a(tui-wingeneral.o) >> acs32map libgdb.a(tui-win.o) >> ld: fatal: Symbol referencing errors. No output written to gdb >> gmake[2]: *** [gdb] Error 1 >> gmake[2]: Leaving directory >> `/export/home/sn123202/php-gate/usr/src/cmd/gdb/gdb-6.3/gdb' >> gmake[1]: *** [all-gdb] Error 2 >> gmake[1]: Leaving directory >> `/export/home/sn123202/php-gate/usr/src/cmd/gdb/gdb-6.3' >> *** Error code 2 >> >> thanks in advance >> sriram >> _______________________________________________ >> sfwnv-discuss mailing list >> sfwnv-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/sfwnv-discuss >>
