avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #42517] "configure" script of avrdude-6.1 does not de


From: Jürgen Harms
Subject: [avrdude-dev] [bug #42517] "configure" script of avrdude-6.1 does not detect availability of some header files
Date: Fri, 06 Jun 2014 14:18:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]