build openocd source 522 error ?

winxp sp2 + cygwin + openocd source

configure --enable-parport --enable-parport_giveio

error info:

In function `parport_init’:

parport.c:408: undefined reference to `_ERROR’

parport.c:333: undefined reference to `_ERROR’

Please help!

How bizarre, i can reproduce the problem and the fix should be coming soon.

The issue seems to relate to the gcc linker trying to be too clever.

Cheers

Spen

The temp fix is to comment out the following in jtag.h

#include “log.h”

I am working on a better solution.

Cheers

Spen