This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

run decode module errors in dm6467 development environment dvsdk1.4.0 and related software

Hi, friends

According to the spruf88c.pdf.I setuped up all the softwares in the default paths.And make the rules.make file‘s paths information in keeping with the fact paths. When I use the make command to run  the /home/xwh/dvsdk_1_40_02_33/dvsdk_demos_1_40_00_18/dm6467/decode ,a lot of  errors as bellows,could you give me some advises to solve the problems, thanks .

[xwh@localhost ~]$ cd /home/xwh/dvsdk_1_40_02_33/dvsdk_demos_1_40_00_18/dm6467/decode
[xwh@localhost decode]$ make
Compiling audio.o from audio.c..
audio.c:12:21: xdc/std.h: No such file or directory
audio.c:14:30: ti/sdo/ce/Engine.h: No such file or directory
audio.c:15:36: ti/sdo/ce/audio/auddec.h: No such file or directory
audio.c:17:31: ti/sdo/dmai/Pause.h: No such file or directory
audio.c:18:31: ti/sdo/dmai/Sound.h: No such file or directory
audio.c:19:32: ti/sdo/dmai/Buffer.h: No such file or directory
audio.c:20:32: ti/sdo/dmai/Loader.h: No such file or directory
audio.c:21:36: ti/sdo/dmai/Rendezvous.h: No such file or directory
audio.c:22:33: ti/sdo/dmai/ce/Adec.h: No such file or directory
In file included from decode.h:15,
                 from audio.c:24:
../demo.h:41: error: parse error before "Int"
../demo.h:41: warning: no semicolon at end of struct or union
../demo.h:42: warning: type defaults to `int' in declaration of `frames'
../demo.h:42: warning: data definition has no type or storage class
../demo.h:43: error: parse error before "videoBytesProcessed"
../demo.h:43: warning: type defaults to `int' in declaration of `videoBytesProcessed'
../demo.h:43: warning: data definition has no type or storage class
../demo.h:44: error: parse error before "soundBytesProcessed"
../demo.h:44: warning: type defaults to `int' in declaration of `soundBytesProcessed'
../demo.h:44: warning: data definition has no type or storage class
../demo.h:45: error: parse error before "samplingFrequency"
../demo.h:45: warning: type defaults to `int' in declaration of `samplingFrequency'
../demo.h:45: warning: data definition has no type or storage class
../demo.h:46: error: parse error before "imageWidth"
../demo.h:46: warning: type defaults to `int' in declaration of `imageWidth'
../demo.h:46: warning: data definition has no type or storage class
../demo.h:47: error: parse error before "imageHeight"
../demo.h:47: warning: type defaults to `int' in declaration of `imageHeight'
../demo.h:47: warning: data definition has no type or storage class
../demo.h:49: error: parse error before '}' token
../demo.h:49: warning: type defaults to `int' in declaration of `GlobalData'
../demo.h:49: warning: data definition has no type or storage class
../demo.h:54: error: parse error before "gbl"
../demo.h:54: warning: type defaults to `int' in declaration of `gbl'
../demo.h:54: warning: data definition has no type or storage class
../demo.h:57: error: parse error before "gblGetQuit"
../demo.h:58: warning: return type defaults to `int'
../demo.h: In function `gblGetQuit':
../demo.h:59: error: `Int' undeclared (first use in this function)
../demo.h:59: error: (Each undeclared identifier is reported only once
../demo.h:59: error: for each function it appears in.)
../demo.h:59: error: parse error before "quit"
../demo.h:61: error: request for member `mutex' in something not a structure or union
../demo.h:62: error: `quit' undeclared (first use in this function)
../demo.h:62: error: request for member `quit' in something not a structure or union
../demo.h:63: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:68: error: parse error before "gblSetQuit"
../demo.h:69: warning: return type defaults to `int'
../demo.h: In function `gblSetQuit':
../demo.h:70: error: request for member `mutex' in something not a structure or union
../demo.h:71: error: request for member `quit' in something not a structure or union
../demo.h:72: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:75: error: parse error before "gblGetAndResetFrames"
../demo.h:76: warning: return type defaults to `int'
../demo.h: In function `gblGetAndResetFrames':
../demo.h:77: error: `Int' undeclared (first use in this function)
../demo.h:77: error: parse error before "frames"
../demo.h:79: error: request for member `mutex' in something not a structure or union
../demo.h:80: error: request for member `frames' in something not a structure or union
../demo.h:81: error: request for member `frames' in something not a structure or union
../demo.h:82: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:87: error: parse error before "gblIncFrames"
../demo.h:88: warning: return type defaults to `int'
../demo.h: In function `gblIncFrames':
../demo.h:89: error: request for member `mutex' in something not a structure or union
../demo.h:90: error: request for member `frames' in something not a structure or union
../demo.h:91: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:94: error: parse error before "gblGetAndResetVideoBytesProcessed"
../demo.h:95: warning: return type defaults to `int'
../demo.h: In function `gblGetAndResetVideoBytesProcessed':
../demo.h:96: error: `Int' undeclared (first use in this function)
../demo.h:96: error: parse error before "videoBytesProcessed"
../demo.h:98: error: request for member `mutex' in something not a structure or union
../demo.h:99: error: request for member `videoBytesProcessed' in something not a structure or union
../demo.h:100: error: request for member `videoBytesProcessed' in something not a structure or union
../demo.h:101: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:106: error: parse error before "gblIncVideoBytesProcessed"
../demo.h:106: error: parse error before "videoBytesProcessed"
../demo.h:107: warning: return type defaults to `int'
../demo.h: In function `gblIncVideoBytesProcessed':
../demo.h:108: error: request for member `mutex' in something not a structure or union
../demo.h:109: error: request for member `videoBytesProcessed' in something not a structure or union
../demo.h:110: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:113: error: parse error before "gblGetAndResetSoundBytesProcessed"
../demo.h:114: warning: return type defaults to `int'
../demo.h: In function `gblGetAndResetSoundBytesProcessed':
../demo.h:115: error: `Int' undeclared (first use in this function)
../demo.h:115: error: parse error before "soundBytesProcessed"
../demo.h:117: error: request for member `mutex' in something not a structure or union
../demo.h:118: error: request for member `soundBytesProcessed' in something not a structure or union
../demo.h:119: error: request for member `soundBytesProcessed' in something not a structure or union
../demo.h:120: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:125: error: parse error before "gblIncSoundBytesProcessed"
../demo.h:125: error: parse error before "soundBytesProcessed"
../demo.h:126: warning: return type defaults to `int'
../demo.h: In function `gblIncSoundBytesProcessed':
../demo.h:127: error: request for member `mutex' in something not a structure or union
../demo.h:128: error: request for member `soundBytesProcessed' in something not a structure or union
../demo.h:129: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:132: error: parse error before "gblGetSamplingFrequency"
../demo.h:133: warning: return type defaults to `int'
../demo.h: In function `gblGetSamplingFrequency':
../demo.h:134: error: `Int' undeclared (first use in this function)
../demo.h:134: error: parse error before "samplingFrequency"
../demo.h:136: error: request for member `mutex' in something not a structure or union
../demo.h:137: error: request for member `samplingFrequency' in something not a structure or union
../demo.h:138: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:143: error: parse error before "gblSetSamplingFrequency"
../demo.h:143: error: parse error before "samplingFrequency"
../demo.h:144: warning: return type defaults to `int'
../demo.h: In function `gblSetSamplingFrequency':
../demo.h:145: error: request for member `mutex' in something not a structure or union
../demo.h:146: error: request for member `samplingFrequency' in something not a structure or union
../demo.h:147: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:150: error: parse error before "gblGetImageWidth"
../demo.h:151: warning: return type defaults to `int'
../demo.h: In function `gblGetImageWidth':
../demo.h:152: error: `Int' undeclared (first use in this function)
../demo.h:152: error: parse error before "imageWidth"
../demo.h:154: error: request for member `mutex' in something not a structure or union
../demo.h:155: error: request for member `imageWidth' in something not a structure or union
../demo.h:156: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:161: error: parse error before "gblSetImageWidth"
../demo.h:161: error: parse error before "imageWidth"
../demo.h:162: warning: return type defaults to `int'
../demo.h: In function `gblSetImageWidth':
../demo.h:163: error: request for member `mutex' in something not a structure or union
../demo.h:164: error: request for member `imageWidth' in something not a structure or union
../demo.h:165: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:168: error: parse error before "gblGetImageHeight"
../demo.h:169: warning: return type defaults to `int'
../demo.h: In function `gblGetImageHeight':
../demo.h:170: error: `Int' undeclared (first use in this function)
../demo.h:170: error: parse error before "imageHeight"
../demo.h:172: error: request for member `mutex' in something not a structure or union
../demo.h:173: error: request for member `imageHeight' in something not a structure or union
../demo.h:174: error: request for member `mutex' in something not a structure or union
../demo.h: At top level:
../demo.h:179: error: parse error before "gblSetImageHeight"
../demo.h:179: error: parse error before "imageHeight"
../demo.h:180: warning: return type defaults to `int'
../demo.h: In function `gblSetImageHeight':
../demo.h:181: error: request for member `mutex' in something not a structure or union
../demo.h:182: error: request for member `imageHeight' in something not a structure or union
../demo.h:183: error: request for member `mutex' in something not a structure or union
In file included from audio.c:25:
audio.h: At top level:
audio.h:24: error: parse error before "Rendezvous_Handle"
audio.h:24: warning: no semicolon at end of struct or union
audio.h:25: warning: type defaults to `int' in declaration of `hRendezvousCleanup'
audio.h:25: warning: data definition has no type or storage class
audio.h:26: error: parse error before "hRendezvousLoop"
audio.h:26: warning: type defaults to `int' in declaration of `hRendezvousLoop'
audio.h:26: warning: data definition has no type or storage class
audio.h:27: error: parse error before "hPauseProcess"
audio.h:27: warning: type defaults to `int' in declaration of `hPauseProcess'
audio.h:27: warning: data definition has no type or storage class
audio.h:29: error: parse error before '*' token
audio.h:29: warning: type defaults to `int' in declaration of `audioFile'
audio.h:29: warning: data definition has no type or storage class
audio.h:30: error: parse error before '*' token
audio.h:30: warning: type defaults to `int' in declaration of `engineName'
audio.h:30: warning: data definition has no type or storage class
audio.h:31: error: parse error before "loop"
audio.h:31: warning: type defaults to `int' in declaration of `loop'
audio.h:31: warning: data definition has no type or storage class
audio.h:32: warning: type defaults to `int' in declaration of `AudioEnv'
audio.h:32: warning: data definition has no type or storage class
audio.h:35: error: parse error before '*' token
audio.h:35: error: parse error before '*' token
audio.h:35: warning: type defaults to `int' in declaration of `audioThrFxn'
audio.h:35: warning: data definition has no type or storage class
audio.c:27: error: parse error before '*' token
audio.c:27: warning: type defaults to `int' in declaration of `algs'
audio.c:29: warning: initialization from incompatible pointer type
audio.c:29: warning: data definition has no type or storage class
audio.c:34: error: parse error before '*' token
audio.c:34: error: parse error before '*' token
audio.c:35: warning: return type defaults to `int'
audio.c: In function `audioThrFxn':
audio.c:36: error: `envp' undeclared (first use in this function)
audio.c:36: error: parse error before ')' token
audio.c:37: error: `Void' undeclared (first use in this function)
audio.c:37: error: `status' undeclared (first use in this function)
audio.c:37: error: parse error before ')' token
audio.c:38: error: `Sound_Attrs' undeclared (first use in this function)
audio.c:39: error: `Buffer_Attrs' undeclared (first use in this function)
audio.c:40: error: `Loader_Attrs' undeclared (first use in this function)
audio.c:41: error: `AUDDEC_Params' undeclared (first use in this function)
audio.c:42: error: `AUDDEC_DynamicParams' undeclared (first use in this function)
audio.c:43: error: `Engine_Handle' undeclared (first use in this function)
audio.c:44: error: `Sound_Handle' undeclared (first use in this function)
audio.c:45: error: `Loader_Handle' undeclared (first use in this function)
audio.c:46: error: `Adec_Handle' undeclared (first use in this function)
audio.c:47: error: `Buffer_Handle' undeclared (first use in this function)
audio.c:51: error: `hEngine' undeclared (first use in this function)
audio.c:51: warning: implicit declaration of function `Engine_open'
audio.c:55: error: parse error before ')' token
audio.c:59: error: `hAd' undeclared (first use in this function)
audio.c:59: warning: implicit declaration of function `Adec_create'
audio.c:59: error: `params' undeclared (first use in this function)
audio.c:59: error: `dynParams' undeclared (first use in this function)
audio.c:64: error: parse error before ')' token
audio.c:68: error: `hOutBuf' undeclared (first use in this function)
audio.c:68: warning: implicit declaration of function `Buffer_create'
audio.c:68: warning: implicit declaration of function `Adec_getOutBufSize'
audio.c:68: error: `bAttrs' undeclared (first use in this function)
audio.c:72: error: parse error before ')' token
audio.c:76: error: `lAttrs' undeclared (first use in this function)
audio.c:76: warning: implicit declaration of function `Adec_getInBufSize'
audio.c:82: error: `hLoader' undeclared (first use in this function)
audio.c:82: warning: implicit declaration of function `Loader_create'
audio.c:86: error: parse error before ')' token
audio.c:90: warning: implicit declaration of function `Rendezvous_meet'
audio.c:93: warning: implicit declaration of function `Loader_prime'
audio.c:93: error: `hInBuf' undeclared (first use in this function)
audio.c:96: warning: implicit declaration of function `Adec_process'
audio.c:98: error: parse error before ')' token
audio.c:102: warning: implicit declaration of function `Adec_getSampleRate'
audio.c:105: error: `sAttrs' undeclared (first use in this function)
audio.c:106: error: `hSound' undeclared (first use in this function)
audio.c:106: warning: implicit declaration of function `Sound_create'
audio.c:110: error: parse error before ')' token
audio.c:115: warning: implicit declaration of function `Buffer_getNumBytesUsed'
audio.c:118: warning: implicit declaration of function `Sound_write'
audio.c:120: error: parse error before ')' token
audio.c:124: warning: implicit declaration of function `Pause_test'
audio.c:127: warning: implicit declaration of function `Loader_getFrame'
audio.c:129: error: parse error before ')' token
audio.c:133: warning: implicit declaration of function `Buffer_getUserPtr'
audio.c:133: warning: comparison between pointer and integer
audio.c:140: warning: implicit declaration of function `Adec_delete'
audio.c:147: error: parse error before ')' token
audio.c:155: error: parse error before ')' token
audio.c:162: error: parse error before ')' token
audio.c:168: warning: implicit declaration of function `Rendezvous_force'
audio.c:170: warning: implicit declaration of function `Pause_off'
audio.c:177: warning: implicit declaration of function `Loader_delete'
audio.c:185: warning: implicit declaration of function `Sound_delete'
audio.c:189: warning: implicit declaration of function `Buffer_delete'
audio.c:193: warning: implicit declaration of function `Engine_close'
make: *** [audio.o] Error 1
[xwh@localhost decode]$