Hi all,
I'm trying to develop sound technology applications with Easy VR Dev. Tool. but when i try to compile c files inculding fluentchip library utilities, i get the error: Undefined extern name. I include the required header file "techlib.h" but i can not solve this problem. Can anybody hepl me pls?
thanks
Unresolved Extern Name Error
Re: Unresolved Extern Name Error
Hi,
Unfortunately, Fluent chip library has been changed since our compiler release so there could be some problems (with distributed examples, not the compiler), considering that they did not maintain backward compatibility with earlier version. If you can, please, send me the code that is giving you trouble and I'll see what's the problem.
Unfortunately, Fluent chip library has been changed since our compiler release so there could be some problems (with distributed examples, not the compiler), considering that they did not maintain backward compatibility with earlier version. If you can, please, send me the code that is giving you trouble and I'll see what's the problem.
-
- Posts: 10
- Joined: 18 Jun 2006 16:34
Dear srdjan,
I've written this simple code to test the FluentChip library with MikroC:
d:\sensory\fc_2_0_10\lib
and the include path is:
d:\sensory\fc_2_0_10\include.
When I build the project i get the error:
"Undefined extern name 'ARMS_LENGHT' in module startup"
"Undefined extern name 'BAUD_COUNT' in module startup"
......
and the same error with different extern names. I wish u can show a way to solve this problem.
Thanks...
QandA
I've written this simple code to test the FluentChip library with MikroC:
Th file fc4128.mco object file is included in the project object files. The Fluentchip version I've downloaded is FC_2_0_10. fc4128.mco file is from FC_2_0_10\lib folder. The paths of the project are:#include<techlib.h>
#define TIMEOUT 2
uchar error;
void main()
{
_InitCollection();
error = _MakeTmpltSd(TIMEOUT,2,2);
}
d:\sensory\fc_2_0_10\lib
and the include path is:
d:\sensory\fc_2_0_10\include.
When I build the project i get the error:
"Undefined extern name 'ARMS_LENGHT' in module startup"
"Undefined extern name 'BAUD_COUNT' in module startup"
......
and the same error with different extern names. I wish u can show a way to solve this problem.
Thanks...
QandA
-
- Posts: 10
- Joined: 18 Jun 2006 16:34
Unresolved Extern Name Error
I have a related issue to this posting, any help is appreciated.
I am trying to run the project sdf from the csamples folder and I am getting the following error:
"Undefined extern name 'SNDTBL_SD_PATGEN' in module 'SDF'
The line of code where the error occurs is:
// Speech table definitions
far cdata *sound_table = &SNDTBL_SD_PATGEN;
It seems like there are some external parameters that need to be defined with an address and the MicroC Compiler does not define them. How and where is this table defined? How do I access this table?
I tried setting a constant memory address for SNDTBL_SD_PATGEN (0x96) and it will compile and create the hex file, however, there is no sound. Please help.
Thanks,
Ivan
I am trying to run the project sdf from the csamples folder and I am getting the following error:
"Undefined extern name 'SNDTBL_SD_PATGEN' in module 'SDF'
The line of code where the error occurs is:
// Speech table definitions
far cdata *sound_table = &SNDTBL_SD_PATGEN;
It seems like there are some external parameters that need to be defined with an address and the MicroC Compiler does not define them. How and where is this table defined? How do I access this table?
I tried setting a constant memory address for SNDTBL_SD_PATGEN (0x96) and it will compile and create the hex file, however, there is no sound. Please help.
Thanks,
Ivan
Re: Unresolved Extern Name Error
Hi Ivanaom,
Here is the solution to your problem.
Here is the solution to your problem.
Hello,
Here is my code:
#include <techlib.h>
void main(void){
_SysBeep(50);
}
I have the same "undefined extern name '_SysBeep' in module" error despite I have included all the paths you mentionned in the previous posts.
C:\Sensory\FC2_0_11\include\
C:\Sensory\FC2_0_11\source\memory\24xxx\
C:\Sensory\FC2_0_11\lib\
C:\Sensory\FC2_0_11\source\
and
C:\Sensory\FC2_0_11\include\
C:\Sensory\FC2_0_11\source\memory\24xxx\
I have tried with both 1.0.0.7 and 2.0 releases of mikroC.
Do you have any idea of what is going on?
Thanks in advance for your help
Jimmy
Here is my code:
#include <techlib.h>
void main(void){
_SysBeep(50);
}
I have the same "undefined extern name '_SysBeep' in module" error despite I have included all the paths you mentionned in the previous posts.
C:\Sensory\FC2_0_11\include\
C:\Sensory\FC2_0_11\source\memory\24xxx\
C:\Sensory\FC2_0_11\lib\
C:\Sensory\FC2_0_11\source\
and
C:\Sensory\FC2_0_11\include\
C:\Sensory\FC2_0_11\source\memory\24xxx\
I have tried with both 1.0.0.7 and 2.0 releases of mikroC.
Do you have any idea of what is going on?
Thanks in advance for your help
Jimmy