Hi,
I am trying to build OpenOCD with parallel port support on cygwin. I am using following procedure,
-
./configure --enable-parport --enable-parport-giveio --disable-parport-ppdev
-
make
while compiling the source I get following error,
parport.c:51:20: sys/io.h: No such file or directory
parport.c: In function `parport_read’:
parport.c:165: warning: implicit declaration of function `inb’
parport.c: In function `parport_write_data’:
parport.c:185: warning: implicit declaration of function `outb’
parport.c: In function `parport_init’:
parport.c:185: warning: redundant redeclaration of ‘outb’
parport.c:185: warning: previous implicit declaration of ‘outb’ was here
make[3]: *** [parport.lo] Error 1
make[3]: Leaving directory `/home/Anant/openocd-0.2.0/src/jtag’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Anant/openocd-0.2.0/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Anant/openocd-0.2.0’
make: *** [all] Error 2
Any suggestions on how this can be avoided?
Regards,
Anant