NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
Bertl_oO is now known as Bertl_zZ
Inoperable has quit [Quit: All your buffer are belong to us!]
Inoperable has joined #openocd
Guest63 has joined #openocd
nerozero has joined #openocd
Haohmaru has joined #openocd
Bertl_zZ is now known as Bertl
Guest63 has quit [Ping timeout: 252 seconds]
diddly has quit [Ping timeout: 246 seconds]
diddly has joined #openocd
xytx has joined #openocd
<PaulFertser> dormito: I would guess so, yes.
merethan has joined #openocd
xytx has quit [Quit: Leaving]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
<dormito> I'm not really familiar with the scripting language openocd uses. Is there a way to set multiple accepted/expected chipid's? I only see examples of one. Maybe there is another detected bit of info to branch off?
<PaulFertser> dormito: you can have multiple -expected-id arguments to newtap.
<karlp> it ignores it for swd anyway...
<karlp> and bc vs bb is just patch level of the cortex isn't it?
<karlp> dormito: was it actually failing, or just reporting the mismatch?
<dormito> karlp: it was actually failing untill I copied the script to a temp dir and change it (then it worked)
wingsorc has quit [Quit: Leaving]
ormaaj has quit [Killed (NickServ (GHOST command used by ormaaj254!~ormaaj2@user/ormaaj))]
ormaaj has joined #openocd
ormaaj has quit [Client Quit]
ormaaj has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
Alex96 has joined #openocd
merethan has joined #openocd
<Alex96> Hi, I am trying to build OpenOCD on macos. But getting below errors during ./bootstrap.  'build-aux/config.guess' is newer: use '--force' to overwrite  'build-aux/config.sub' is newer: use '--force' to overwrite
<Alex96> configure.ac:48: error: possibly undefined macro: AC_DEFINE
<Alex96> configure.ac:334: error: possibly undefined macro: AC_MSG_ERROR
<Alex96> configure.ac:593: error: possibly undefined macro: AC_MSG_NOTICE
<Alex96> pkg-config --version
<Alex96> 0.29.2
<Alex96> autoconf --version
<Alex96> autoconf (GNU Autoconf) 2.69
<Alex96> Any idea how can I solve this issues?
<PaulFertser> Alex96: hi. Are you using homebrew?
<Alex96> yes
<PaulFertser> Alex96: have you already tried building it with "brew install --HEAD openocd"?
<Alex96> Aa sorry not with homebrew. Just cloned the repo and followed the instructions from the readme
<PaulFertser> Alex96: you lack some essential autoconf package I guess. I suggest you first build it with homebrew to get the deps.
<PaulFertser> Alex96: build-aux is not present in git so how come there might be something in there and it's newer than what you have in the system?
<Alex96> open-ocd HEAD-6633568 installed succesfully but I am still getting errors. I was building it before re-install the llvm. Then everything messed up.
<PaulFertser> Alex96: try to run "autoreconf -if"
<Alex96> libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
<Alex96> libtoolize: copying file 'build-aux/ltmain.sh'
<Alex96> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
<Alex96> libtoolize: copying file 'm4/libtool.m4'
<Alex96> libtoolize: copying file 'm4/ltoptions.m4'
<Alex96> libtoolize: copying file 'm4/ltsugar.m4'
<Alex96> libtoolize: copying file 'm4/ltversion.m4'
<Alex96> libtoolize: copying file 'm4/lt~obsolete.m4'
<Alex96> configure.ac:37: installing 'build-aux/compile'
<Alex96> configure.ac:30: installing 'build-aux/missing'
<Alex96> libjaylink/Makefile.am: installing 'build-aux/depcomp'
<Alex96> libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
<Alex96> libtoolize: copying file 'build-aux/ltmain.sh'
<Alex96> libtoolize: You should add the contents of the following files to 'aclocal.m4':
<Alex96> libtoolize: '/usr/local/Cellar/libtool/2.4.7/share/aclocal/libtool.m4'
<Alex96> libtoolize: '/usr/local/Cellar/libtool/2.4.7/share/aclocal/ltversion.m4'
<Alex96> libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
<Alex96> libtoolize: and rerunning libtoolize and aclocal.
<Alex96> [4:33:45 PM] <Alex96>       If this token and others are legitimate, please use m4_pattern_allow.
<Alex96> [4:33:45 PM] <Alex96> configure.ac:13: error: possibly undefined macro: AC_MSG_WARN
<Alex96> [4:33:45 PM] <Alex96>       See the Autoconf documentation.
<Alex96> [4:33:45 PM] <Alex96> configure.ac:593: error: possibly undefined macro: AC_MSG_NOTICE
<Alex96> [4:33:45 PM] <Alex96> configure.ac:334: error: possibly undefined macro: AC_MSG_ERROR
<Alex96> [4:33:45 PM] <Alex96> configure.ac:48: error: possibly undefined macro: AC_DEFINE
<Alex96> [4:33:45 PM] <Alex96> autoreconf: /opt/local/bin/autoconf failed with exit status: 1
<Haohmaru> such much information
HelloShitty has quit [Read error: Connection reset by peer]
<PaulFertser> Alex96: please do not paste more than 2-3 lines in a public channel, use some pastebin instead.
<PaulFertser> Alex96: I think those macros come from "autoconf-archive", do you have that installed?
HelloShitty has joined #openocd
<Alex96> Installed autoconf-archive now. But still same.
<PaulFertser> Alex96: still same after rerunning autoreconf?
<PaulFertser> And ./bootstrap
Alex96 has quit [Quit: Client closed]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
Bertl is now known as Bertl_oO
Haohmaru has quit [Remote host closed the connection]
merethan has quit [Remote host closed the connection]
nerozero has quit [Ping timeout: 248 seconds]
Alex74 has joined #openocd
Alex74 has quit [Quit: Client closed]
<karlp> blah, MRS fork -detects- and enables "WLink" but it doesn't build and link unless you explicitly add a --enable-wlink. that's an easy configure.ac fix right?
Alex96 has joined #openocd
<Alex96> PaulFertser made some progress.. now error in build step. src/jtag/drivers/nulink_usb.c:34:10: fatal error: 'hidapi.h' file not found
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
wingsorc has joined #openocd
<Alex96> PaulFertser done. I guess some conflicts in /usr/local/bin and /opt/local/bin caused the issues. Cleaned them and reinstalled the dependencies. Thanks for the support
iamliterallyabee has joined #openocd
Alex96 has quit [Quit: Client closed]
erhankur has joined #openocd