Page 1 of 1

xlog compile error

Posted: Fri Aug 05, 2011 4:49 pm
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?

Re: xlog compile error

Posted: Tue Apr 03, 2012 3:41 pm
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 !