On Tuesday 19 May 2009 16:15:22 massimiliano cialdi wrote:
> 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

  Looks like the problem is on ioutils. I don't know what exactly they are and 
if you really need them, but if you don't need it try configuring without 
specifying the --enable-ioutil flag. 

  BTW, make sure you run bootstrap prior to configure.

  Regards,
-- 
Raúl Sánchez Siles

Departamento de Montaje

INFOGLOBAL, S. A.

* C/ Virgilio, 2. Ciudad de la Imagen.
28223 Pozuelo de Alarcón (Madrid), España
* T: +34 91 506 40 00
* F: +34 91 506 40 01


_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to