On Wed, Mar 1, 2017 at 9:02 PM, Tomasz CEDRO <[email protected]> wrote:
> Here is my github local fork just in case:
> https://github.com/cederom/UrJTAG/tree/CeDeROM
>
I have not built urjtag since that Mac OS X build question
raised in the urjtag mailing list back in 2013.
I just tried to build urjtag again and I had the same problem with you
under macOS. Your workaround helps to autogen to work. Thanks.
BTW, I am not using macport but Homebrew. I need to use Homebrew
gettext (keg only) in order to have autopoint under Homebrew.
Still I can not build urjtag using Homebrew in the end due to YACC problem.
MyMacMini:urjtag xiaofanc$ ./autogen.sh --without-readline
--prefix=/usr/local/Cellar/urjtag/HEAD
...
urjtag is now configured for
Libraries:
libusb : 1.0
libftdi : yes (have async mode)
libftd2xx : no
inpout32 : no
Subsystems:
SVF : yes
BSDL : yes
STAPL : no
Drivers:
Bus : arm9tdmi au1500 avr32 bcm1250 blackfin bscoach ejtag
ejtag_dma fjmem ixp425 ixp435 ixp465 jopcyc h7202 lh7a400 mpc5200
mpc824x mpc8313 mpc837x ppc405ep ppc440gx_ebc8 prototype pxa2x0 pxa27x
s3c4510 sa1110 sh7727 sh7750r sh7751r sharc_21065L sharc_21369_ezkit
slsup3 tx4925 zefant_xs3
Cable : arcom byteblaster dlc5 ea253 ei012 ft2232 gpio ice100
igloo jlink keithkoep lattice mpcbdm triton usbblaster vsllink wiggler
xpc
Lowlevel : ftdi
Language bindings:
python : yes
MyMacMini:urjtag xiaofanc$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
...
...
Making all in global
CC parse.lo
CC log-error.lo
CC data_dir.lo
CC params.lo
params.c:246:14: warning: comparison of constant -1 with expression of type
'urj_param_type_t' (aka 'enum URJ_PARAM_TYPE_T') is always false
[-Wtautological-constant-out-of-range-compare]
if (type == -1)
~~~~ ^ ~~
1 warning generated.
CCLD libglobal.la
Making all in svf
YACC svf_bison.c
/Users/xiaofanc/work/urjtag/urjtag-git/urjtag/src/svf/svf_bison.y:32.14-23:
syntax error, unexpected string, expecting =
make[3]: *** [svf_bison.c] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Using Homebrew bison (keg only) fixed the above issue.
MyMacMini:urjtag xiaofanc$ yacc --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
MyMacMini:urjtag xiaofanc$ export PATH="/usr/local/opt/bison/bin:$PATH"
MyMacMini:urjtag xiaofanc$ yacc --version
bison (GNU Bison) 3.0.4
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
MyMacMini:urjtag xiaofanc$ make
MyMacMini:urjtag xiaofanc$ make install
MyMacMini:urjtag xiaofanc$ brew link urjtag
MyMacMini:urjtag xiaofanc$ which jtag
/usr/local/bin/jtag
--
Xiaofan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development