I have checkout r1836 of opeocd
I use ubuntu 8.10 64bit and amontec jtagKey tiny
I downloaded libftd2xx0.4.16_x86_64
and I configured as follow
$ ./configure --prefix=/opt/openocd --enable-ioutil --enable-httpd
--enable-ft2232_ftd2xx --with-ftd2xx-lib=static
--with-ftd2xx-linux-tardir=~/download/openocd/libftd2xx0.4.16_x86_64
--enable-jlink --enable-rlink --enable-arm-jtag-ew

make stop with an error:
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
-I../../src/server -I../../src/target
-DPKGDATADIR=\"/opt/openocd/share/openocd\"
-DPKGLIBDIR=\"/opt/openocd/lib/openocd\" -g -O2 -I/opt/openocd/include
-I~/download/openocd/libftd2xx0.4.16_x86_64 -Wall -Wstrict-prototypes
-Wformat-security -Wextra -Wno-unused-parameter -Wbad-function-cast
-Wcast-align -Wredundant-decls -Werror -MT libhelper_la-ioutil.lo -MD
-MP -MF .deps/libhelper_la-ioutil.Tpo -c ioutil.c  -fPIC -DPIC -o
.libs/libhelper_la-ioutil.o
cc1: warnings being treated as errors
ioutil.c: In function ‘handle_append_command’:
ioutil.c:230: error: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
ioutil.c:233: error: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
ioutil.c:236: error: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result


what is wrong?

thanks
-- 
Assioma di Cole: "La somma dell'intelligenza sulla Terra è costante;
la popolazione è in aumento"

Massimiliano Cialdi
cia...@gmail.com
massimiliano.cia...@powersoft.it
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to