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

 
 

You are not allowed to post comments on this tracker with your current authentification 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: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Robert Niemi
Originator Email: -unavailable-Open/Closed: Closed

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
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to 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
    Mon 02 Sep 2013 08:53:37 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
    Mon 12 Mar 2012 11:39:26 AM UTCNoneAttached File-=>Added avrdude_parport_linux_ppdev.patch, #25331

    Back to the top


    Powered by Savane 3.1-cleanup