xlog compile error

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
Redeye
XCore Addict
Posts: 131
Joined: Wed Aug 03, 2011 9:13 am

xlog compile error

Post by Redeye »

Okay, this may well be a dumb question. I'm trying to compile a project using xlog but I'm getting :
.././../module_xlog/src/xlog_server_support.c: Error: Type of symbol _write has mismatch with previous definition:
.././../module_xlog/src/xlog_server_support.c: Error: found: signed int _write( signed int, unsigned char *, unsigned int )
../../../../../src/newlib/libc/stdio/stdio.c: Error: previous: signed int _write( signed int, const unsigned char *, unsigned int )
as an error when compiling. Which is confusing. For a start, the xlog _write function has the char* as a const, so I'm not sure why the prototype says it isn't.

Has anybody got any suggestions?


norman
Active Member
Posts: 55
Joined: Wed Jan 11, 2012 2:27 pm

Post by norman »

Hello,

do you have any answers since ? I'm facing the same problem after the modification of media_output_fifo.h in the avb audio reference design. No matter the modification, the compilation reply the same error. And with no modification, the compilation succeed.

thanks !
Post Reply