[M3devel] building m3gdb on AMD64_LINUX

Jay jay.krell at cornell.edu
Sat Jul 4 17:28:24 CEST 2009


It built ok for me, but there is a suspicous /usr/local/cm3/bin/yacc.

I'm investigating more, but maybe not right now.

 

 - Jay

 
> Date: Fri, 3 Jul 2009 16:53:31 -0500
> From: rodney.m.bates at cox.net
> To: m3devel at elegosoft.com
> Subject: Re: [M3devel] building m3gdb on AMD64_LINUX
> 
> On my AMD64_LINUX machine (Ubuntu 8.04.2), on which m3gdb builds, yacc
> is circuitously symlinked to a script that executes /usr/bin/bison -y.
> 
> In any case, usually, there is no need to execute yacc when building 
> (m3)gdb,
> because its output is already present and newer than yacc's input, in 
> this case,
> c-exp.y. I think this is the way it is in the CVS repository. Did some 
> dates
> in your source copy get touched?
> 
> I have no idea where the c-exp.t file it wants is supposed to come from.
> In a brief look, I didn't find any reference to a *.t file at all, 
> either in the script
> m3gdb/gdb/ylwrap, nor in the yacc man page (which actually leads to the
> bison man page on my machine). Maybe original yacc does something 
> with it. 
> I would have thought ylwrap would have been written to work with a number
> of varieties of yacc and equivalents. 
> 
> Do you have a copy of c-exp.y?
> 
> I suspect having a newer c-exp.c than c-exp.y will circumvent this 
> problem, but
> of course we probably want it set up to work when c-exp.c needs to be 
> rebuilt.
> 
> Olaf Wagner wrote:
> > building m3gdb on birch ends with
> >
> > gcc -c -g -I. -I../../gdb/gdb -I../../gdb/gdb/config 
> > -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H 
> > -I../../gdb/gdb/../include/opcode -I../../gdb/gdb/../readline/.. 
> > -I../bfd -I../../gdb/gdb/../bfd -I../../gdb/gdb/../include -I../intl 
> > -I../../gdb/gdb/../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type 
> > -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith 
> > -Wformat-nonliteral -Wunused-label -Wunused-function 
> > ../../gdb/gdb/tui/tui-winsource.c
> > /bin/sh ../../gdb/gdb/../ylwrap ../../gdb/gdb/c-exp.y y.tab.c 
> > c-exp.c.tmp -- yacc
> > Cannot open 
> > "/home/wagner/work/cm3/m3-sys/m3gdb/AMD64_LINUX/gdb/../../gdb/gdb/c-exp.t" 
> >
> > make[2]: *** [c-exp.c] Error 1
> > make[2]: Leaving directory 
> > `/home/wagner/work/cm3/m3-sys/m3gdb/AMD64_LINUX/gdb'
> > make[1]: *** [all-gdb] Error 2
> > make[1]: Leaving directory 
> > `/home/wagner/work/cm3/m3-sys/m3gdb/AMD64_LINUX'
> > make: *** [all] Error 2
> > "/home/wagner/work/cm3/m3-sys/m3gdb/src/m3makefile", line 121: quake 
> > runtime error: exit 2: make CC="gcc" CFLAGS="-g" MAKEINFO=echo
> >
> > --procedure-- -line- -file---
> > exec -- <builtin>
> > m3gdb_Run 121 /home/wagner/work/cm3/m3-sys/m3gdb/src/m3makefile
> > include_dir 160 /home/wagner/work/cm3/m3-sys/m3gdb/src/m3makefile
> > 4 
> > /home/wagner/work/cm3/m3-sys/m3gdb/AMD64_LINUX/m3make.args
> >
> > Fatal Error: package build failed
> >
> > Any hints? Wrong yacc?
> >
> > Olaf
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090704/2c23744e/attachment-0002.html>


More information about the M3devel mailing list