Make file not wotking for coonfiguring JTAG with esp32

dhananjay.sutariya
Posts: 41
Joined: Thu Feb 28, 2019 12:21 pm

Make file not wotking for coonfiguring JTAG with esp32

Postby dhananjay.sutariya » Thu Feb 28, 2019 12:42 pm

Trying to go through these steps:
https://docs.espressif.com/projects/esp ... linux.html

make shows this error

ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib src/.libs/libopenocd.a
libtool: link: rm -fr src/.libs/libopenocd.lax src/.libs/libopenocd.lax
libtool: link: ( cd "src/.libs" && rm -f "libopenocd.la" && ln -s "../libopenocd.la" "libopenocd.la" )
depbase=`echo src/main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -I./src -I./src/helper -DPKGDATADIR=\"/usr/local/share/openocd\" -DBINDIR=\"/usr/local/bin\" -I./jimtcl -I./jimtcl -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -g -O2 -MT src/main.o -MD -MP -MF $depbase.Tpo -c -o src/main.o src/main.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ./libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -g -O2 -o src/openocd src/main.o src/libopenocd.la ./jimtcl/libjim.a -lpthread -ldl
libtool: link: gcc -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -g -O2 -o src/openocd src/main.o src/.libs/libopenocd.a -lusb -lftdi -lusb-1.0 -lm ./jimtcl/libjim.a -lpthread -ldl
make[2]: Leaving directory '/home/dhananjay/esp/openocd-esp32'
make[1]: Leaving directory '/home/dhananjay/esp/openocd-esp32'

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Make file not wotking for coonfiguring JTAG with esp32

Postby ESP_igrr » Fri Mar 01, 2019 12:44 am

Which one is the error here? From what I see, openocd program got built successfully.

If you can't get it to build, you can always use pre-compiled releases provided on GitHub: https://github.com/espressif/openocd-esp32/releases

dhananjay.sutariya
Posts: 41
Joined: Thu Feb 28, 2019 12:21 pm

Re: Make file not wotking for coonfiguring JTAG with esp32

Postby dhananjay.sutariya » Fri Mar 01, 2019 6:10 am

I believe, i should be getting some binary files after the make is succesful . Which im not getting also downloading the latest releases and copying it into that folder is also not working.

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Make file not wotking for coonfiguring JTAG with esp32

Postby ESP_igrr » Fri Mar 01, 2019 9:56 am

The binary file should be present under src/openocd after `make` process has finished.

Who is online

Users browsing this forum: Google [Bot] and 177 guests