<div dir="ltr"><div><div><div>Hi all<br></div>I am trying to build osmocombb using GwmB7UGK.c file.<br></div>When I run MAKE I get the following errors.<br># make<br>  CC     app_ccch_scan.o<br>app_ccch_scan.c:74:1: warning: useless storage class specifier in empty declaration [enabled by default]<br>app_ccch_scan.c:79:1: warning: useless storage class specifier in empty declaration [enabled by default]<br>app_ccch_scan.c: In function ‘dump_bcch’:<br>app_ccch_scan.c:213:29: error: ‘CCCH_MODE_NON_COMBINED2’ undeclared (first use in this function)<br>app_ccch_scan.c:213:29: note: each undeclared identifier is reported only once for each function it appears in<br>app_ccch_scan.c:216:29: error: ‘CCCH_MODE_NON_COMBINED4’ undeclared (first use in this function)<br>app_ccch_scan.c:219:29: error: ‘CCCH_MODE_NON_COMBINED6’ undeclared (first use in this function)<br>app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:<br>app_ccch_scan.c:315:39: warning: unused variable ‘ra’ [-Wunused-variable]<br>app_ccch_scan.c:315:24: warning: unused variable ‘chan_req_mask’ [-Wunused-variable]<br>app_ccch_scan.c:315:10: warning: unused variable ‘chan_req_val’ [-Wunused-variable]<br>app_ccch_scan.c: In function ‘fillField’:<br>app_ccch_scan.c:711:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]<br>app_ccch_scan.c: In function ‘process_tch_efr’:<br>app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20 in format [-Wformat]<br>app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20 in format [-Wformat]<br>app_ccch_scan.c:778:4: warning: pointer targets in passing argument 1 of ‘tch_deinterleave’ differ in signedness [-Wpointer-sign]<br>app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type ‘sbit_t *’<br>app_ccch_scan.c:780:4: warning: pointer targets in passing argument 1 of ‘tch_deinterleave’ differ in signedness [-Wpointer-sign]<br>app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type ‘sbit_t *’<br>app_ccch_scan.c:787:3: warning: implicit declaration of function ‘osmo_conv_decode’ [-Wimplicit-function-declaration]<br>app_ccch_scan.c:732:9: warning: unused variable ‘steal_bit’ [-Wunused-variable]<br>app_ccch_scan.c:731:10: warning: unused variable ‘bursts’ [-Wunused-variable]<br>app_ccch_scan.c:730:21: warning: variable ‘length’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c:730:10: warning: unused variable ‘bid’ [-Wunused-variable]<br>app_ccch_scan.c:730:6: warning: variable ‘ul’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c:729:21: warning: unused variable ‘lch_idx’ [-Wunused-variable]<br>app_ccch_scan.c:729:17: warning: variable ‘tn’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c:729:10: warning: variable ‘cbits’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c:726:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c: In function ‘process_tch_fr’:<br>app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20 in format [-Wformat]<br>app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20 in format [-Wformat]<br>app_ccch_scan.c:887:4: warning: pointer targets in passing argument 1 of ‘tch_deinterleave’ differ in signedness [-Wpointer-sign]<br>app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type ‘sbit_t *’<br>app_ccch_scan.c:889:4: warning: pointer targets in passing argument 1 of ‘tch_deinterleave’ differ in signedness [-Wpointer-sign]<br>app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type ‘sbit_t *’<br>app_ccch_scan.c:841:89: warning: unused variable ‘EFRAMR’ [-Wunused-variable]<br>app_ccch_scan.c:841:76: warning: unused variable ‘EFRBits’ [-Wunused-variable]<br>app_ccch_scan.c:841:9: warning: unused variable ‘steal_bit’ [-Wunused-variable]<br>app_ccch_scan.c:840:10: warning: unused variable ‘bursts’ [-Wunused-variable]<br>app_ccch_scan.c:839:21: warning: variable ‘length’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c:839:10: warning: unused variable ‘bid’ [-Wunused-variable]<br>app_ccch_scan.c:839:6: warning: variable ‘ul’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c:838:21: warning: unused variable ‘lch_idx’ [-Wunused-variable]<br>app_ccch_scan.c:838:17: warning: variable ‘tn’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c:838:10: warning: variable ‘cbits’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c:835:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c: In function ‘local_burst_decode’:<br>app_ccch_scan.c:1049:29: error: ‘struct gsm48_ass_cmd’ has no member named ‘chan_mode’<br>app_ccch_scan.c:1038:40: warning: unused variable ‘ra’ [-Wunused-variable]<br>app_ccch_scan.c:1038:25: warning: unused variable ‘chan_req_mask’ [-Wunused-variable]<br>app_ccch_scan.c:1038:11: warning: unused variable ‘chan_req_val’ [-Wunused-variable]<br>app_ccch_scan.c:1037:11: warning: unused variable ‘ch_type’ [-Wunused-variable]<br>app_ccch_scan.c:943:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c: In function ‘ccch_tn_decode’:<br>app_ccch_scan.c:1261:14: warning: assignment makes pointer from integer without a cast [enabled by default]<br>app_ccch_scan.c:1203:17: warning: unused variable ‘lch_idx’ [-Wunused-variable]<br>app_ccch_scan.c:1200:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c: In function ‘layer3_rx_burst’:<br>app_ccch_scan.c:1302:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable]<br>app_ccch_scan.c: At top level:<br>app_ccch_scan.c:109:1: warning: ‘gen_filename’ defined but not used [-Wunused-function]<br>make: *** [app_ccch_scan.o] Error 1<br></div>Tom<br></div>