I'm getting a compilation error on my SuSE 7.0 system.  I've upgraded to gcc
3.2, binutils 2.12.90.0.15, and glibc 2.2.5, so asking SuSE for help is not
going to go very far.

What I'm seeing is this:
gcc -c -O2 -fsigned-char    -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode  -I../bfd -I./../bfd  -I./../include -I../intl
-I./../intl  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment
-Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized
thread-db.c
thread-db.c: In function `thread_db_fetch_registers':
thread-db.c:804: cannot convert to a pointer type
thread-db.c: In function `thread_db_store_registers':
thread-db.c:837: cannot convert to a pointer type
make[1]: *** [thread-db.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/gdb-5.2.1/gdb'
make: *** [all-gdb] Error 2

Back in December of 2001, Nish Deodhar reported the same problem with gdb
5.1, and talked about the changes he made to get it to compile.  Jim Blandy
from Red Hat/Cygnus asked him a few questions about what he'd done, but the
gdb 5.2.1, and 5.3 source doesn't reflect those changes.  So, I have to
assume that they weren't considered a good fix by the gdb maintainers.

I manually re-compiled the module with --save-temps.  If anyone could help
me figure out what needs to be done to get this to compile, I would
appreciate it.

Thanks,

Mark Post

Reply via email to