bugAVR Downloader/UploaDEr - Bugs: bug #35800, Compilation error on certain...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #35800: Compilation error on certain systems if parport is disabled

Submitter:  None
Submitted:  Mon 12 Mar 2012 11:39:26 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Robert Niemi
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Mon 02 Sep 2013 08:53:37 PM UTC, comment #1: 

Applied in SVN r1198, thanks!

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 12 Mar 2012 11:39:26 AM UTC, original submission:  

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>

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #25331:  avrdude_parport_linux_ppdev.patch added by None (396B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-02 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2012-03-12 None Attached File- Added avrdude_parport_linux_ppdev.patch, #25331

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code