Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
|
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és Aranguren Cardona |
|
|
|
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és Aranguren Cardona > > > _____________________________________ > /groups.php3 |
|
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 |