avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #35800] Compilation error on certain systems if parpo


From: anonymous
Subject: [avrdude-dev] [bug #35800] Compilation error on certain systems if parport is disabled
Date: Mon, 12 Mar 2012 11:39:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

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

                 Summary: Compilation error on certain systems if parport is
disabled
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: mån 12 mar 2012 11.39.26
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Robert Niemi
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

For systems with no parallel port, the corresponding header files could be
non-existing, thus resulting in a build failure.

The following patch will fix the issue (patch-file is included):

--- avrdude-5.11/linux_ppdev.h  2009-03-06 21:09:11.000000000 +0100
+++ avrdude-5.11_parport/linux_ppdev.h  2012-03-12 12:35:45.511534501 +0100
@@ -25,8 +25,10 @@
 #define OBSOLETE__IOW _IOW
 
 #include <sys/ioctl.h>
+#ifdef HAVE_PARPORT
 #include <linux/parport.h>
 #include <linux/ppdev.h>
+#endif
 
 #include <stdlib.h>
 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: mån 12 mar 2012 11.39.26  Name: avrdude_parport_linux_ppdev.patch 
Size: 396 B   By: None

<http://savannah.nongnu.org/bugs/download.php?file_id=25331>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Meddelandet skickades via/av Savannah
  http://savannah.nongnu.org/




reply via email to

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