undefined extern name

General discussion on RSC-4x mikroC.
Post Reply
Author
Message
glucaizzo
Posts: 1
Joined: 12 May 2008 10:39

undefined extern name

#1 Post by glucaizzo » 13 May 2008 17:56

Hi, i've a problem bulding a simpl easy vr-stamp application. I receive the compiler error:

undefined extern name "SNDTBL_SI_PATGEN"

the files: SI_PATGEN.MCO, mem24xx-400khz.mcl, fc4128zws.mcl, config.mca are included in the project.

the include and project search paths are the followings:

g:\sensory\test (the project main folder)
g:\sensory\FC3_0_7\lib
g:\sensory\FC3_0_7\include
g:\sensory\FC3_0_7\source\memory\24xx\
g:\sensory\FC3_0_7\source

here main code:

#include "speech\si_patgen.h"
#include <techlib.h>

void main(void)
{
_PlaySnd(SND_newproblem, (long)&SNDTBL_SI_PATGEN, SX_FULL_VOL);
}

here si_patgen.h file header (these files are generated by quicksyntesis):

// external declaration of sound table:
extern near cdata SNDTBL_SI_PATGEN;

// external declarations of addresses of sounds for direct access:
extern far cdata SX_newproblem;

// constants defining sounds as entries in the sound table:
#define SND_newproblem

please help
i'm blocked !!

regards
gianluca izzo

Post Reply

Return to “RSC-4x mikroC General”