Discussion:
[UrJTAG-dev] svf_bison.h not getting generated
Ben Gelb
2014-12-21 06:45:40 UTC
Permalink
I checked out head from the git respository, and am attempting to
build on a raspberry pi.

I ran ./autogen.sh, followed by make. My compile ends here:

make[3]: Entering directory `/usr/src/urjtag-git/urjtag/src/global'
CC parse.lo
CC log-error.lo
CC data_dir.lo
CC params.lo
CCLD libglobal.la
make[3]: Leaving directory `/usr/src/urjtag-git/urjtag/src/global'
Making all in svf
make[3]: Entering directory `/usr/src/urjtag-git/urjtag/src/svf'
CC svf_bison.lo
svf_bison.y:46:23: fatal error: svf_bison.h: No such file or directory
compilation terminated.
make[3]: *** [svf_bison.lo] Error 1
make[3]: Leaving directory `/usr/src/urjtag-git/urjtag/src/svf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/urjtag-git/urjtag/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/urjtag-git/urjtag'
make: *** [all] Error 2
From poking around in the Makefiles I can see that this missing .h
file is supposed to get generated by flex and bison, but not being an
expert on how this build system is supposed to work, I wasn't really
able to figure out what is wrong.

I think I have all of the correct utils installed:

# flex -V
flex 2.5.35
# bison -V
bison (GNU Bison) 2.5
# autoconf -V
autoconf (GNU Autoconf) 2.69

Any pointers would be greatly appreciated.

Thanks,
Ben

Loading...