The attachment is a patch file that adapts the "configure" script file
of the avrdude-6.1 tarball to correctly detect the availablity of all
required header files (according to what I described in my last email -
06/04/2014 10:03 AM - sorry for the zig-zag in arriving there).
I have used this patch file for (a) installing the package from the
tarball and (b) building an rpm package for Mageia and testing these
packages. The problem of the missing definition of type uint32_t is
solved, and the thus installed avrdude works without flaw; it correctly
supports my JTAGICE3 (with the updated firmware as provided by
AtmelStudio 6.2).
The patch also makes the "configure" script recognize some other header
files which the unpatched script had considered as missing in spite of
the files being available in the system. Even if avrdude works without
an explicit include of these files, I consider it correct to use the
header files as they are provided by the system.
Jürgen
diff -p -up ./configure.org ./configure
--- ./configure.org 2014-06-04 21:00:03.027735142 +0200
+++ ./configure 2014-06-04 21:04:46.428267513 +0200
@@ -5650,7 +5650,8 @@ fi
LIBPTHREAD=$LIBPTHREAD
# Checks for header files.
-for ac_header in limits.h stdlib.h string.h
+for ac_header in limits.h stdlib.h string.h inttypes.h stdint.h memory.h \
+ strings.h sys/stat.h sys_time.h sys_types.h termios.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat