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

Submitted by:  None
Submitted on:  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 <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>
Project AdministratorIn charge of this item.
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

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    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.3