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]

Re: gdb make error


c-exp.tab.c , and p-exp.tab.c have the same union declaration of
yystype, and c-exp.tab.c compiles while p-exp.tab.c says there is a
parse error before c-exp.y line 144 parse error.  I went through all the
struct definitions in the yystype union, and I could not determine a
parse error.  I also could not determine how the symbol struct is
defined when symtab.h is not included in parser-defs.h.
 Is this only happening on alpha???
-matt bemis
On Fri, 2002-12-06 at 14:49, Mike Cleary wrote:
> Greetings,
> I have found the following make error for gdb on an alpha with the 
> alphaev56 configuration.  I found the error with the basic-gcc_2.95.3 
> baseline and the toolchain package:
> 
> gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb 
> -I/mnt/u9/tool
> chain/buildsys/source/toolchain/gdb/config 
> -DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/
> install/alpha9/basic-gcc_2.95.3/native/toolchain/share/locale\"" 
> -DHAVE_CONFIG_H -I/m
> nt/u9/toolchain/buildsys/source/toolchain/gdb/../include/opcode 
> -I/mnt/u9/toolchain/b
> uildsys/source/toolchain/gdb/../readline/ .. -I../bfd 
> -I/mnt/u9/toolchain/buildsys/sou
> rce/toolchain/gdb/../bfd -DNO_MMALLOC  
> -I/mnt/u9/toolchain/buildsys/source/toolchain/
> gdb/../include -I../intl 
> -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../intl -D
> _BSD_SOURCE -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE  -DMI_OUT=1 
> -DGDBTK -DUI_OUT=1
> -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses 
> -Wpointer-arith
> -Wuninitialized  p-exp.tab.c
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:183: warning: 
> `TRUE' redefine
> d
> ../bfd/bfd.h:93: warning: this is the location of the previous definition
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:184: warning: 
> `FALSE' redefin
> ed
> ../bfd/bfd.h:92: warning: this is the location of the previous definition
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/p-exp.y:144: parse error 
> before `1'
> make[2]: *** [p-exp.tab.o] Error 1
> make[2]: Leaving directory 
> `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
> native/toolchain/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory 
> `/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/
> native/toolchain'
> make: *** [bootstrap] Error 2
> 
> I was just wondering if anyone can help with this.
> Salutations,
> -Mike Cleary
> 
> -- 
> *********************************************
> Michael Cleary     Email: mcleary@iol.unh.edu
> Linux Consortium     UNH InterOperability Lab
> 121 Technology Dr., Suite 2, Durham, NH 03824
> Phone: 603-862-0401    http://www.iol.unh.edu
>         http://linux.iol.unh.edu/
> *********************************************
> 



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