This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems compiling gdb-5.3 on 64 bit solaris 2.8


I am having problems compiling gdb-5.3 under 64 bit solaris 2.8.
I am configuring with the following:

CC="/usr/local/gcc-3.1/bin/gcc -m64" ./configure sparc64-sun-solaris2.8

After I start compiling I get this error:

/usr/local/gcc-3.1/bin/gcc -m64 -c -g  -I/usr/include/v9  -I. -I. -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -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  gdb.c
cc1: warning: -Wuninitialized is not supported without -O
In file included from gdb.c:21:
defs.h:757:16: xm.h: Is a directory
defs.h:774:16: tm.h: Is a directory
gmake[1]: *** [gdb.o] Error 1
gmake[1]: Leaving directory `/trout/home/jlm/compile/eclipse/gdb-5.3/gdb'
gmake: *** [all-gdb] Error 2


The file gdb/xm.h does exist and is a link that points to nothing.
I am guessing that specifying the target above perhaps missed
something.  I looked for some xm-*.h files that I could set this file,
but couldn't find anything that quite fit this architecture.  Does
anyone have any suggestions?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]