On Sat, Jun 11, 2011 at 7:20 PM, Mike Frysinger <[email protected]> wrote: > On Friday, June 10, 2011 16:05:11 Jie Zhang wrote: >> On Sat, Jun 4, 2011 at 4:53 PM, Benjamin Henrion wrote: >> > I am trying to compile the latest version from the GIT, here is the error >> > I got: >> > >> > ============================================================= >> > Making all in bsdl >> > make[3]: Entering directory >> > `/home/zoobab/soft/urjtag/urjtag/urjtag/src/bsdl' CC vhdl_bison.lo >> > In file included from vhdl_bison.y:133: >> > bsdl_sysdep.h:29: fatal error: bsdl_config.h: No such file or directory >> > compilation terminated. >> > make[3]: *** [vhdl_bison.lo] Error 1 >> > make[3]: Leaving directory >> > `/home/zoobab/soft/urjtag/urjtag/urjtag/src/bsdl' make[2]: *** >> > [all-recursive] Error 1 >> > make[2]: Leaving directory `/home/zoobab/soft/urjtag/urjtag/urjtag/src' >> > make[1]: *** [all-recursive] Error 1 >> > make[1]: Leaving directory `/home/zoobab/soft/urjtag/urjtag/urjtag' >> > make: *** [all] Error 2 >> > ============================================================= >> >> I think this error is related to your commit: >> >> http://urjtag.git.sourceforge.net/git/gitweb.cgi?p=urjtag/urjtag;a=commitdi >> ff_plain;h=10c8d9317d0c53a39dd2d5f54270b6026287b346 >> >> configure sets OBJEXT to 'o'. But the Makefile in bsdl expects it to >> be 'lo' to get the dependence rules right. > > this has been a continuous crap shoot. i say we go with the following patch > and not worry about the dependencies being slightly more than necessary > considering we're talking about only a few files in this subdir. i doubt the > overall speed will ever be noticeable. > -mike > > --- Makefile.am (revision 1907) > +++ Makefile.am (working copy) > @@ -55,12 +55,8 @@ libbsdl_flex_la_CFLAGS = \ > # - all files depend on bsdl_config.h which dynamically generated > # - *_flex files must be processed after their *_bison counterparts > # to ensure that *_bison.h is present > -libbsdl_flex_la-vhdl_flex.$(OBJEXT): vhdl_bison.h bsdl_config.h > -vhdl_bison.$(OBJEXT): bsdl_config.h > -libbsdl_flex_la-bsdl_flex.$(OBJEXT): bsdl_bison.h bsdl_config.h > -bsdl_bison.$(OBJEXT): bsdl_config.h > -bsdl.$(OBJEXT) : bsdl_config.h > -bsdl_sem.$(OBJEXT): bsdl_bison.h bsdl_config.h > +$(libbsdl_la_OBJECTS) $(libbsdl_flex_la_OBJECTS): \ > + bsdl_bison.h bsdl_config.h vhdl_bison.h > > vhdl_bison.h: vhdl_bison.c > bsdl_bison.h: bsdl_bison.c > Will this introduce some unnecessary dependencies?
Jie ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ UrJTAG-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/urjtag-development
