0.2.0 release cannot be build on Windows (MinGW + MSYS) with parport support
./configure --enable-parport --enable-parport_giveio make because: [...] parport.c:45:27: linux/parport.h: No such file or directory parport.c:46:25: linux/ppdev.h: No such file or directory parport.c:48:23: sys/ioctl.h: No such file or directory parport.c: In function `parport_read': parport.c:163: warning: implicit declaration of function `ioctl' parport.c:163: error: `PPRSTATUS' undeclared (first use in this function) parport.c:163: error: (Each undeclared identifier is reported only once parport.c:163: error: for each function it appears in.) parport.c: In function `parport_write_data': parport.c:163: warning: redundant redeclaration of 'ioctl' parport.c:163: warning: previous implicit declaration of 'ioctl' was here parport.c:180: error: `PPWDATA' undeclared (first use in this function) parport.c: In function `parport_init': parport.c:163: warning: redundant redeclaration of 'ioctl' parport.c:163: warning: previous implicit declaration of 'ioctl' was here parport.c:347: error: `PPCLAIM' undeclared (first use in this function) parport.c:354: error: `PARPORT_MODE_COMPAT' undeclared (first use in this function) parport.c:355: error: `PPSETMODE' undeclared (first use in this function) parport.c:362: error: `IEEE1284_MODE_COMPAT' undeclared (first use in this function) parport.c:363: error: `PPNEGOT' undeclared (first use in this function) parport.c: At top level: parport.c:261: warning: 'parport_get_giveio_access' defined but not used make[3]: *** [parport.lo] Error 1 make[3]: Leaving directory `/home/chopin/openocd/0.2.0/src/jtag' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/chopin/openocd/0.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/chopin/openocd/0.2.0' make: *** [all] Error 2 What's interesting is the fact that parport.c wasn't changed for some time now and I was able to compile recent revisions without problems, so the problem is probably somewhere in the build configurations. In the future I think it would be smart to allow some testing of the relase (release candidates) before posting that online. That was how Rick made the first release. 4\/3!! _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
