Error "no termcap library found" when building gdb 6.6 for powerpc target
Supriya Sriraman
sriraman.supriya@gmail.com
Sat Feb 17 01:21:00 GMT 2007
I got the past the "termcap library not found" issue! FINALLY!
The error message was misleading. I needed to build and install ncurses.
Once I did that I got past that problem. (I know I got past that
problem because I see a lot more files in my gdb directory -
previously I would see only config.log and another file, and the error
about the missing termcap library would be in the config.log file)
Now, I am facing the problem another problem:
In file included from ../../gdb-6.6/gdb/tui/tui-command.c:28:
../../gdb-6.6/gdb/tui/tui-data.h:40: parse error before `WINDOW'
../../gdb-6.6/gdb/tui/tui-data.h:40: warning: no semicolon at end of
struct or union
../../gdb-6.6/gdb/tui/tui-data.h:52: parse error before `}'
../../gdb-6.6/gdb/tui/tui-data.h:228: field `data_window' has incomplete type
....
....
....
/proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/lib/gcc-lib/powerpc-603e-linux-gnu/2.95.3/../../../../powerpc-603e-linux-gnu/sys-include/bits/string2.h:
In function `__mempcpy_small':
/proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/lib/gcc-lib/powerpc-603e-linux-gnu/2.95.3/../../../../powerpc-603e-linux-gnu/sys-include/bits/string2.h:368:
warning: pointer of type `void *' used in arithmetic
../../gdb-6.6/gdb/tui/tui-command.c: In function `tui_dispatch_ctrl_char':
../../gdb-6.6/gdb/tui/tui-command.c:80: `WINDOW' undeclared (first use
in this function)
I did copy all the *curses* header files to the include directory of
the crosstools (same location as termcap.h)
If any of you have encountered this before, or know how to fix it
please let me know.
Thanks,
Supriya
On 2/16/07, Supriya Sriraman <sriraman.supriya@gmail.com> wrote:
> > it means gcc does not have these paths in its default search list. Try
> >
> > <cross-compiler-name> -print-file-name=libc.a
>
> I tried the above command, got the path to libc.a. I looked in that
> directory. I have libtermcap.a in the same directory! It did not pick
> it up.
>
> $ ./crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/bin/powerpc-603e-linux-gnu-gcc
> --print-file-name=libc.a
> /proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/lib/libc.a
>
>
> ls /proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/lib/libtermcap.a
> /proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/lib/libtermcap.a
>
> And, the termcap.h file is in the include directory:
> ls /proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/include/termcap.h
> /proj/tftp/u/ssrirama/build_GDB/crosstool-0.43/crosstool/gcc-2.95.3-glibc-2.2.5/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/include/termcap.h
>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list