Why are you using ftell() and fseek()? I thought those are used for FILE
streams. Where would this file I/O go to? Those two are not listed in the C
Compiler and Library Manual, so would assume they have not been implemented
in
AD's DSP version of C. Don't use your "regular" ANSI C
manual/book for
programming thse DSPs, check through the one for the DSP you have.
Marcell
On Wed, 16 Jan 2002 23:06:00 -0800 (PST) wrote: > Hi,
>
> I am simulating my application through file I/O in VDSP++ 2.0 for the
> ADSP-21160M with stdio supoprt enabled, and have #include <stdio.h>,
Among
> other functions I am using fseek and ftell, but the linker gives me
this:
> [Error li2007] symbol '_ftell' referenced in file
'C:\JAIME\TESIS\TESIS
> MP3\FILTERBANK\DEBUG\FILTERBANK.DOJ' could not be resolved [Error
li2007]
> symbol '_fseek' referenced in file 'C:\JAIME\TESIS\TESIS
> MP3\FILTERBANK\DEBUG\FILTERBANK.DOJ' could not be resolved What should
I
> do? Thanks
Reply by Hariharan●January 17, 20022002-01-17
hi
I too had the same problem....
I went through the library functions and found that fseek and ftell were
not defined in the stdio library....
Can anyone suggest some alternative for these functons???
bye
hari
--
Hariharan
Sasken Communication Technologies Ltd.,
Bangalore.
Ph : 5355501 Extn : 4278.
E-mail :
----- Original Message -----
From: Jaime Andres Aranguren Cardona <>
To: <>; <>
Sent: Thursday, January 17, 2002 12:36 PM
Subject: [adsp] VDSP++ ftell and fseek error!
> Hi,
>
> I am simulating my application trhough file I/O in VDSP++ 2.0 for the ADSP-21160M with stdio supoprt enabled, and have #include
<stdio.h>, Among
other functions I am using fseek and ftell, but the linker gives me this: >
> [Error li2007] symbol '_ftell' referenced in file
'C:\JAIME\TESIS\TESIS MP3\FILTERBANK\DEBUG\FILTERBANK.DOJ' could not be resolved > [Error li2007] symbol '_fseek'
referenced in file 'C:\JAIME\TESIS\TESIS MP3\FILTERBANK\DEBUG\FILTERBANK.DOJ' could not be resolved >
> What should I do?
>
> Thanks
>
> Jaime Andr Aranguren Cardona
>
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the
author of this message will receive your answer. You need to do a "reply
all" if
you want your answer to be distributed to the entire group. >
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3
> ">http://docs.yahoo.com/info/terms/
Reply by Jaime Andres Aranguren Cardona●January 17, 20022002-01-17
Hi,
I am simulating my application trhough file I/O in VDSP++ 2.0 for the
ADSP-21160M with stdio supoprt enabled, and have #include <stdio.h>, Among
other
functions I am using fseek and ftell, but the linker gives me this:
[Error li2007] symbol '_ftell' referenced in file
'C:\JAIME\TESIS\TESIS
MP3\FILTERBANK\DEBUG\FILTERBANK.DOJ' could not be resolved
[Error li2007] symbol '_fseek' referenced in file
'C:\JAIME\TESIS\TESIS
MP3\FILTERBANK\DEBUG\FILTERBANK.DOJ' could not be resolved