Problem of building OpneOCD to support Xscale?

Dear all,

Does anyone have built Openocd to debug Xscale? I get source code form http://svn.berlios.de/svnroot/repos/ope … hes/xscale and add

–enable-parport --enable-parport_giveio to compile it under Cygwin environment. I meet below error message:

parport.c:42:20: sys/io.h: No such file or directory

If I mark this include sys/io.h, then some funtions can not find during link period.

…/src/jtag/libjtag.a(parport.o): In function `parport_read’:

/tmp/xscale/src/jtag/parport.c:163: undefined reference to `_inb’

Does anyone know how I can build openocd to debug Xscale by using WIGGLER device? Please help. Thanks in advance.