On Sun, Jul 26, 2020 at 09:34:15AM +0200, Stephan Brunner via
UrJTAG-development wrote:
> Hello,
Hi,
> I am currently developing a cable driver for newer J-Links based on
> libjaylink, because the old driver doesn't work with newer V11 J-Links.
> The driver itself seems to kind of work as boundary scans do work. SVF
> replay is still kind of buggy, but the driver still is a WIP.
Cool. Yes, patches will be reviewed.
> However, whilst trying to get libjaylink detection into the autoconf
> scripts, I have a weird error:
>
> > checking for LIBJAYLINK... yes
OK, seen the 'checking for LIBJAYLINK... yes'
> > checking for a Python interpreter with version >= 2.5... python
Thanks for the reminder on that
> > checking for python... /usr/bin/python
> > checking for python version... 3.8
> > checking for python platform... linux
> > checking for python script directory...
> > ${prefix}/lib/python3.8/site-packages
> > checking for python extension module directory...
> > ${exec_prefix}/lib/python3.8/site-packages
> > checking for flex... flex
> > checking lex output file root... lex.yy
> > checking lex library... -lfl
> > checking whether yytext is a pointer... yes
> > checking for gawk... (cached) gawk
> > checking for a sed that does not truncate output... (cached) /usr/bin/sed
> > checking for flex >= 2.5.33, required for SVF and BSDL lexer... yes - flex
> > 2.6.4
> > ./configure: line 17966: syntax error near unexpected token `('
> > ./configure: line 17966: ` as_echo_body='eval expr "X$1" : "X\\(.*\\)"''
>
> This only happens when my custom stuff in configure.ac is present.
Acknowledge, full acknowledge.
> I don't have any clue what the problem might be. I tried to copy the
> stuff from the libusb detection. I have not used autoconf at all, so I'm
> kind of stuck right now.
>
> Does anyone have a hint?
Yes.
> My code currently is at
> https://github.com/boomer41/urjtag/tree/cable/jaylink
Transform that noise into information.
Come back with the instructions that you want us to do, like
In a "git checkout of UrJTAG from SF"
`git remote add a_name valid_URL_to_git_repository`
`git fetch a_name`
Name of the git branch
> My configure.ac stuff starts at line 362.
git diff a_name/Name_of_git_branch
shall show what the "work in progress" is.
> If you have any critique on the code, please let me know too!
> I haven't done anything with C in a while, so any feedback is
> appreciated! :)
Regards
Geert Stappers
--
Silence is hard to parse
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development