DSPRelated.com
Forums

could not open source file

Started by murs...@yahoo.com April 10, 2006
I have started to study with Dr. Rulph Chassaing's new book
I have solved the first problem myself. The rule is(for now): copy related files where u insert source files.

Now I have following problem. I have searched that many people get same warnings but there is no reply. Pls help all of us(ex. 1.1 of R. Chassaing's DSP and Appl. with C6713 and C6416 DSK):

............
............

>> warning: creating output section .vecs without SECTIONS specification
>> warning: Detected a near (.bss section relative) data reference to the symbol
_DSK6713_AIC23_codecdatahandle defined in section .far. The
reference occurs in
C:\CCStudio_v3.1\MyProjects\myfirst\Debug\c6713dskinit.obj, section
.text, SPC offset 00000058. Either make the symbol near data by
placing it in the .bss section, or make the references to the
symbol far. For C/C++ code use 'far' or 'near' modifiers on the
type definition of the symbol or compile with the --mem_model:data
switch.
Build Complete,
0 Errors, 2 Warnings, 0 Remarks.

mursel onder wrote:
I could not manage to apply first example of the R. Chassaing's book (C6416&C6713). The problem is:

"sine8_led.c", line 4: fatal error: could not open source file "dsk6713_aic23.h"

"C6713dskinit.h", line 3: fatal error: could not open source file "dsk6713.h"

I have tried different ways to include related .h files. But I have no result. I need help. Tnx a lot. (I have dsk6713)

m...@yahoo.com wrote:
I have started to study with Dr. Rulph Chassaing's new book

---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
mursel onder wrote: I have solved the first problem myself. The rule is(for now): copy related files where u insert source files.

Now I have following problem. I have searched that many people get same warnings but there is no reply. Pls help all of us(ex. 1.1 of R. Chassaing's DSP and Appl. with C6713 and C6416 DSK):

............
............

>> warning: creating output section .vecs without SECTIONS specification
>> warning: Detected a near (.bss section relative) data reference to the symbol
_DSK6713_AIC23_codecdatahandle defined in section .far. The
reference occurs in
C:\CCStudio_v3.1\MyProjects\myfirst\Debug\c6713dskinit.obj, section
.text, SPC offset 00000058. Either make the symbol near data by
placing it in the .bss section, or make the references to the
symbol far. For C/C++ code use 'far' or 'near' modifiers on the
type definition of the symbol or compile with the --mem_model:data
switch.
Build Complete,
0 Errors, 2 Warnings, 0 Remarks.

mursel onder wrote:
I could not manage to apply first example of the R. Chassaing's book (C6416&C6713). The problem is:

"sine8_led.c", line 4: fatal error: could not open source file "dsk6713_aic23.h"

"C6713dskinit.h", line 3: fatal error: could not open source file "dsk6713.h"

I have tried different ways to include related .h files. But I have no result. I need help. Tnx a lot. (I have dsk6713)

m...@yahoo.com wrote:
I have started to study with Dr. Rulph Chassaing's new book

---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

---------------------------------

---------------------------------
Blab-away for as little as 1/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
I have solved the second problem myself, by setting

Build Options-->Compiler-->Category-Advanced-->
Memory Model== Far(--mem_model:data)