From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package: add openocd support
Date: Sun, 11 Sep 2011 11:17:37 +0200 [thread overview]
Message-ID: <87vcszh1zi.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1312911561-23942-2-git-send-email-plagnioj@jcrosoft.com> (Jean-Christophe PLAGNIOL-VILLARD's message of "Tue, 9 Aug 2011 19:39:21 +0200")
>>>>> "JC" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:
JC> with only the following Adapters
JC> - FTDI FT2xxx/FT4xxx
JC> - J-Link (Segger and Atmel SAM-ICE)
JC> - Versaloon-Link JTAG Adapter
Doesn't seem to build here:
grep OPENOCD .config
BR2_PACKAGE_OPENOCD=y
# BR2_PACKAGE_OPENOCD_FT2XXX is not set
# BR2_PACKAGE_OPENOCD_JLINK is not set
# BR2_PACKAGE_OPENOCD_VSLLINK is not set
/home/peko/source/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src -DPKGDATADIR=\"/usr/share/openocd\" -DPKGLIBDIR=\"/usr/lib/openocd\" -I../../../jimtcl -I../../../jimtcl -pipe -Os -I/home/peko/source/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT bitbang.lo -MD -MP -MF .deps/bitbang.Tpo -c bitbang.c -fPIC -DPIC -o .libs/bitbang.o
In file included from ../../../src/jtag/jtag.h:26,
from driver.c:34:
../../../src/helper/binarybuffer.h: In function 'buf_set_u32':
../../../src/helper/binarybuffer.h:52: error: 'for' loop initial declaration used outside C99 mode
../../../src/helper/binarybuffer.h: In function 'buf_get_u32':
../../../src/helper/binarybuffer.h:82: error: 'for' loop initial declaration used outside C99 mode
In file included from ../../../src/jtag/jtag.h:26,
from ../../../src/jtag/interface.h:29,
from bitbang.c:28:
../../../src/helper/binarybuffer.h: In function 'buf_set_u32':
../../../src/helper/binarybuffer.h:52: error: 'for' loop initial declaration used outside C99 mode
../../../src/helper/binarybuffer.h: In function 'buf_get_u32':
../../../src/helper/binarybuffer.h:82: error: 'for' loop initial declaration used outside C99 mode
driver.c: In function 'interface_jtag_add_ir_scan':
driver.c:100: error: 'for' loop initial declaration used outside C99 mode
driver.c: In function 'interface_jtag_add_dr_scan':
driver.c:142: error: 'for' loop initial declaration used outside C99 mode
driver.c:167: error: redefinition of 'tap'
driver.c:142: error: previous definition of 'tap' was here
Any idea? If it isn't supposed to build if none of the drivers are
enabled, then we need to ensure this cannot happen in Kconfig.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2011-09-11 9:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-09 17:39 [Buildroot] [PATCH 1/2] package: add libftdi support Jean-Christophe PLAGNIOL-VILLARD
2011-08-09 17:39 ` [Buildroot] [PATCH 2/2] package: add openocd support Jean-Christophe PLAGNIOL-VILLARD
2011-08-15 13:54 ` Jean-Christophe PLAGNIOL-VILLARD
2011-08-17 10:57 ` Thomas Petazzoni
2011-08-17 17:32 ` Jean-Christophe PLAGNIOL-VILLARD
2011-09-11 9:17 ` Peter Korsgaard [this message]
2011-09-17 19:37 ` Jean-Christophe PLAGNIOL-VILLARD
2011-09-17 19:52 ` [Buildroot] [PATCH 2/2 v2] " Jean-Christophe PLAGNIOL-VILLARD
2011-09-18 9:31 ` Peter Korsgaard
2011-09-18 10:22 ` Jean-Christophe PLAGNIOL-VILLARD
2011-09-18 11:05 ` Peter Korsgaard
2011-09-20 11:18 ` Jean-Christophe PLAGNIOL-VILLARD
2011-09-20 11:19 ` [Buildroot] [PATCH 2/2 v3] " Jean-Christophe PLAGNIOL-VILLARD
2011-09-21 20:59 ` Peter Korsgaard
2011-09-11 9:15 ` [Buildroot] [PATCH 1/2] package: add libftdi support Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2011-04-30 13:42 [Buildroot] [PATCH 1/2] package: add jimtcl support Jean-Christophe PLAGNIOL-VILLARD
2011-04-30 13:42 ` [Buildroot] [PATCH 2/2] package: add openocd support Jean-Christophe PLAGNIOL-VILLARD
2011-05-01 16:20 ` Peter Korsgaard
2011-05-01 16:45 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vcszh1zi.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox