URL:
  <http://savannah.nongnu.org/bugs/?42517>

                 Summary: "configure" script of avrdude-6.1 does not detect
availability of some header files 
                 Project: AVR Downloader/UploaDEr
            Submitted by: harms
            Submitted on: Fri 06 Jun 2014 02:18:57 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Jürgen Harms
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Trying to build/install avrdude-6.1 fails (at least on Mageia) due to a
missing definition of the type uint8_t.

The reason for this is that the "configure" script detects the <stdint.h>
header file as not available and, consequently, does not define the
HAVE_STDINT_H variable - although the file /usr/include/stdint.h exists in the
distro.

Fix: the script (line #5650 of the "configure" file in the 6.1 tarball)
contains a list of header files to be checked - stdint.h is missing in that
list; to fix the bug, simply add stdint.h to this list.

Verifying the file ac_cfg.h, it appears that - in addtion to <stdint.h> -
there are several other header files that likewise are not detected.

The patch file provided as an attachment corrects the "configure" script to
iterate over all files for which HAVE_<xxx>_H variables are enumerated in
ac_cfg.h. This patch has been successfully tested: avrdude now builds and
executes without problem.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 06 Jun 2014 02:18:57 PM GMT  Name: avrdude-6.1_includes.patch  Size:
573B   By: harms
Patch file to correct this problem
<http://savannah.nongnu.org/bugs/download.php?file_id=31515>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?42517>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to