Thanks for the quick reply Øyvind, I've try your line but I still get a similar error. I think the problem is:
#define *SCNx64* "llx" This double ll, is what is causing the problem. Thanks. El 10 de mayo de 2011 16:24, Øyvind Harboe <oyvind.har...@zylin.com>escribió: > 2011/5/10 Iván García García <i...@intelligenia.com>: > > I'm getting and error in rtos.c compiling openOCD on line 145: > > sscanf(packet, "qP%8lx%16" SCNx64, &mode, &threadid); > > Sorry but the output is in spanish: rtos.c:221:4: error: se desconoce el > > carácter de tipo de conversión 'l' en el formato > > It says something like the conversion type character 'l' is unknown. > > Any guesses? > > Try: > > sscanf(packet, "qP%8" SCNx32 "%16" SCNx64, &mode, &threadid); > > > > > -- > Øyvind Harboe > > Can Zylin Consulting help on your project? > > US toll free 1-866-980-3434 / International +47 51 87 40 27 > > http://www.zylin.com/zy1000.html > ARM7 ARM9 ARM11 XScale Cortex > JTAG debugger and flash programmer >
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development