Hello!

I get following build error [1] when building latest (1782 and 1783)
trunks. Is this a known issue? How this can be avoided? Also on a
FreeBSD I get some ppi related errors [2] when build is configured
without --disable-werror:

[1]
Making all in src/apps/jtag
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../..
-I../../../include/urjtag -DLOCALEDIR=\"/usr/local/share/locale\"
-I../../.. -I../../../include -I/usr/local/include
-I/usr/local/include -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -g -O2 -MT jtag.o -MD -MP -MF .deps/jtag.Tpo -c -o
jtag.o jtag.c
mv -f .deps/jtag.Tpo .deps/jtag.Po
/bin/sh ../../../libtool --tag=CC    --mode=link gcc -std=gnu99 -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -g -O2    -o
jtag jtag.o ../../../src/liburjtag.la  /usr/local/lib/libintl.so
-L/usr/local/lib /usr/local/lib/libiconv.so -Wl,-rpath
-Wl,/usr/local/lib -L/usr/local/lib -lftdi -lusb    -lreadline
libtool: link: gcc -std=gnu99 -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -g -O2 -o .libs/jtag jtag.o
/usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath
-Wl,/usr/local/lib  ../../../src/.libs/liburjtag.so -L/usr/local/lib
-lm /usr/local/lib/libftdi.so -lusb -lreadline -Wl,-rpath
-Wl,/usr/local/lib
../../../src/.libs/liburjtag.so: undefined reference to `WEXITSTATUS'
../../../src/.libs/liburjtag.so: undefined reference to `WIFEXITED'
*** Error code 1

Stop in /temp/urjtag/urjtag/trunk1782/urjtag/src/apps/jtag.
*** Error code 1

Stop in /temp/urjtag/urjtag/trunk1782/urjtag.
*** Error code 1

Stop in /temp/urjtag/urjtag/trunk1782/urjtag.



[2]
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I../.. -I../../include/urjtag   -I../..
-I../../include -I/usr/local/include -I/usr/local/include -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Werror -g
-O2 -MT direct.lo -MD -MP -MF .deps/direct.Tpo -c -o direct.lo `test
-f 'parport/direct.c' || echo './'`parport/direct.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
-I../../include/urjtag -I../.. -I../../include -I/usr/local/include
-I/usr/local/include -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Werror -g -O2 -MT direct.lo -MD -MP -MF
.deps/direct.Tpo -c parport/direct.c  -fPIC -DPIC -o .libs/direct.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
-I../../include/urjtag -I../.. -I../../include -I/usr/local/include
-I/usr/local/include -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Werror -g -O2 -MT direct.lo -MD -MP -MF
.deps/direct.Tpo -c parport/direct.c -o direct.o >/dev/null 2>&1
mv -f .deps/direct.Tpo .deps/direct.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I../.. -I../../include/urjtag   -I../..
-I../../include -I/usr/local/include -I/usr/local/include -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Werror -g
-O2 -MT ppi.lo -MD -MP -MF .deps/ppi.Tpo -c -o ppi.lo `test -f
'parport/ppi.c' || echo './'`parport/ppi.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
-I../../include/urjtag -I../.. -I../../include -I/usr/local/include
-I/usr/local/include -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Werror -g -O2 -MT ppi.lo -MD -MP -MF .deps/ppi.Tpo -c
parport/ppi.c  -fPIC -DPIC -o .libs/ppi.o
cc1: warnings being treated as errors
parport/ppi.c: In function 'ppi_connect':
parport/ppi.c:132: warning: return from incompatible pointer type
parport/ppi.c: At top level:
parport/ppi.c:230: warning: initialization from incompatible pointer type
*** Error code 1

Stop in /temp/urjtag/urjtag/trunk1782/urjtag/src/tap.
*** Error code 1

Stop in /temp/urjtag/urjtag/trunk1782/urjtag/src.
*** Error code 1

Stop in /temp/urjtag/urjtag/trunk1782/urjtag.
*** Error code 1

Stop in /temp/urjtag/urjtag/trunk1782/urjtag.


-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to