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: robert.den.klur...@gmail.com 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/ _______________________________________________ avrdude-dev mailing list avrdude-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avrdude-dev