Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Code-Composer | Error message about unaccess.h file

Technical discussions about Code Composer Studio.

  

Post a new Thread

Error message about unaccess.h file - Li Bing - Aug 29 5:28:00 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".





(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )