DSPRelated.com
Forums

Error message about unaccess.h file

Started by Li Bing August 29, 2005
Hi, all DSP experts. I am using C67xx CPU Cycles Accurate Simulator to run a code under CCS 3.0
IDE. A funny error message appeared as following when I compile my code .
Please pay attention to the message in red.

Why does compiler point out a error in unaccess.h file and stdlib.h? I
never use this header file unaccess.h in my code, and stdlib.h is a
standard head file?

Any help is great appreciated. Regards
Li Bing
[DOA_adaptive_1.c] "C:\CCStudio\C6000\cgtools\bin\cl6x" -g
-fr"C:/CCStudio/MyProjects/DOA_Emulator510pp_fixpt_realjacobi_ff_fast_c6
7/Debug" -d"_DEBUG" -mv6710 -@"Debug.lkf" "DOA_adaptive_1.c"
"C:/CCStudio/C6000/cgtools/include/unaccess.h", line 1: error: this
declaration has no storage class or type specifier
"C:/CCStudio/C6000/cgtools/include/unaccess.h", line 1: error: expected a
";"
"C:/CCStudio/C6000/cgtools/include/stdlib.h", line 17: warning: parsing
restarts here after previous syntax error
"C:/CCStudio/C6000/cgtools/include/stdlib.h", line 100: error: identifier
"div_t" is undefined
"DOA_adaptive_1.c", line 183: warning: last line of file ends without a
newline
"DOA_adaptive_1.c", line 55: warning: variable "kk" was set but never used
3 errors detected in the compilation of "DOA_adaptive_1.c".