Hi all I asked this question some time back and still waiting for some help. As someone who is trying very hard to learn about Osmocom surly there is someone interested in helping me. If not I don't see the point of having this mailing list. We all have to start somewhere. Tom I am trying to build osmocombb using GwmB7UGK.c file. When I run MAKE I get the following errors. # make CC app_ccch_scan.o app_ccch_scan.c:74:1: warning: useless storage class specifier in empty declaration [enabled by default] app_ccch_scan.c:79:1: warning: useless storage class specifier in empty declaration [enabled by default] app_ccch_scan.c: In function ‘dump_bcch’: app_ccch_scan.c:213:29: error: ‘CCCH_MODE_NON_COMBINED2’ undeclared (first use in this function) app_ccch_scan.c:213:29: note: each undeclared identifier is reported only once for each function it appears in app_ccch_scan.c:216:29: error: ‘CCCH_MODE_NON_COMBINED4’ undeclared (first use in this function) app_ccch_scan.c:219:29: error: ‘CCCH_MODE_NON_COMBINED6’ undeclared (first use in this function) app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’: app_ccch_scan.c:315:39: warning: unused variable ‘ra’ [-Wunused-variable] app_ccch_scan.c:315:24: warning: unused variable ‘chan_req_mask’ [-Wunused-variable] app_ccch_scan.c:315:10: warning: unused variable ‘chan_req_val’ [-Wunused-variable] app_ccch_scan.c: In function ‘fillField’: app_ccch_scan.c:711:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] app_ccch_scan.c: In function ‘process_tch_efr’: app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20 in format [-Wformat] app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20 in format [-Wformat] app_ccch_scan.c:778:4: warning: pointer targets in passing argument 1 of ‘tch_deinterleave’ differ in signedness [-Wpointer-sign] app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type ‘sbit_t *’ app_ccch_scan.c:780:4: warning: pointer targets in passing argument 1 of ‘tch_deinterleave’ differ in signedness [-Wpointer-sign] app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type ‘sbit_t *’ app_ccch_scan.c:787:3: warning: implicit declaration of function ‘osmo_conv_decode’ [-Wimplicit-function-declaration] app_ccch_scan.c:732:9: warning: unused variable ‘steal_bit’ [-Wunused-variable] app_ccch_scan.c:731:10: warning: unused variable ‘bursts’ [-Wunused-variable] app_ccch_scan.c:730:21: warning: variable ‘length’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c:730:10: warning: unused variable ‘bid’ [-Wunused-variable] app_ccch_scan.c:730:6: warning: variable ‘ul’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c:729:21: warning: unused variable ‘lch_idx’ [-Wunused-variable] app_ccch_scan.c:729:17: warning: variable ‘tn’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c:729:10: warning: variable ‘cbits’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c:726:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c: In function ‘process_tch_fr’: app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20 in format [-Wformat] app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20 in format [-Wformat] app_ccch_scan.c:887:4: warning: pointer targets in passing argument 1 of ‘tch_deinterleave’ differ in signedness [-Wpointer-sign] app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type ‘sbit_t *’ app_ccch_scan.c:889:4: warning: pointer targets in passing argument 1 of ‘tch_deinterleave’ differ in signedness [-Wpointer-sign] app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type ‘sbit_t *’ app_ccch_scan.c:841:89: warning: unused variable ‘EFRAMR’ [-Wunused-variable] app_ccch_scan.c:841:76: warning: unused variable ‘EFRBits’ [-Wunused-variable] app_ccch_scan.c:841:9: warning: unused variable ‘steal_bit’ [-Wunused-variable] app_ccch_scan.c:840:10: warning: unused variable ‘bursts’ [-Wunused-variable] app_ccch_scan.c:839:21: warning: variable ‘length’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c:839:10: warning: unused variable ‘bid’ [-Wunused-variable] app_ccch_scan.c:839:6: warning: variable ‘ul’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c:838:21: warning: unused variable ‘lch_idx’ [-Wunused-variable] app_ccch_scan.c:838:17: warning: variable ‘tn’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c:838:10: warning: variable ‘cbits’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c:835:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c: In function ‘local_burst_decode’: app_ccch_scan.c:1049:29: error: ‘struct gsm48_ass_cmd’ has no member named ‘chan_mode’ app_ccch_scan.c:1038:40: warning: unused variable ‘ra’ [-Wunused-variable] app_ccch_scan.c:1038:25: warning: unused variable ‘chan_req_mask’ [-Wunused-variable] app_ccch_scan.c:1038:11: warning: unused variable ‘chan_req_val’ [-Wunused-variable] app_ccch_scan.c:1037:11: warning: unused variable ‘ch_type’ [-Wunused-variable] app_ccch_scan.c:943:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c: In function ‘ccch_tn_decode’: app_ccch_scan.c:1261:14: warning: assignment makes pointer from integer without a cast [enabled by default] app_ccch_scan.c:1203:17: warning: unused variable ‘lch_idx’ [-Wunused-variable] app_ccch_scan.c:1200:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c: In function ‘layer3_rx_burst’: app_ccch_scan.c:1302:10: warning: variable ‘rx_dbm’ set but not used [-Wunused-but-set-variable] app_ccch_scan.c: At top level: app_ccch_scan.c:109:1: warning: ‘gen_filename’ defined but not used [-Wunused-function] make: *** [app_ccch_scan.o] Error 1 Tom
Hi,
I asked this question some time back and still waiting for some help. As someone who is trying very hard to learn about Osmocom surly there is someone interested in helping me. If not I don't see the point of having this mailing list. We all have to start somewhere.
Anything not from the master branch is not supported
I have no idea where you found where you got that GwmB7UGK.c file but it's _obviously_ broken beyond belief and doesn't stand a chance in hell of compiling.
Cheers,
Sylvain
On Sat, Dec 20, 2014 at 09:11:19PM +0000, tom wrote:
Hi all
Good Evening,
I am trying to build osmocombb using GwmB7UGK.c file.
I don't know what GwmB7UGK.c is. According to our jenkins installation all of OsmocomBB is building just fine. The amount of compiler warnings you get look unusually high.
kind regards holger
baseband-devel@lists.osmocom.org