From tomei9dl at gmail.com Fri Dec 12 11:23:20 2014 From: tomei9dl at gmail.com (tom mc loughlin) Date: Fri, 12 Dec 2014 11:23:20 +0000 Subject: ccch_scan.c Message-ID: Hi all 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomei9dl at gmail.com Sat Dec 20 21:11:00 2014 From: tomei9dl at gmail.com (tom) Date: Sat, 20 Dec 2014 21:11:00 +0000 Subject: Same MAKE problem Message-ID: <5495E5E4.9040701@gmail.com> 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 From tomei9dl at gmail.com Sat Dec 20 21:11:19 2014 From: tomei9dl at gmail.com (tom) Date: Sat, 20 Dec 2014 21:11:19 +0000 Subject: Same MAKE problem Message-ID: <5495E5F7.40204@gmail.com> 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 From 246tnt at gmail.com Sun Dec 21 08:38:46 2014 From: 246tnt at gmail.com (Sylvain Munaut) Date: Sun, 21 Dec 2014 09:38:46 +0100 Subject: Same MAKE problem In-Reply-To: <5495E5F7.40204@gmail.com> References: <5495E5F7.40204@gmail.com> Message-ID: 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 From holger at freyther.de Mon Dec 22 18:51:13 2014 From: holger at freyther.de (Holger Hans Peter Freyther) Date: Mon, 22 Dec 2014 19:51:13 +0100 Subject: Same MAKE problem In-Reply-To: <5495E5F7.40204@gmail.com> References: <5495E5F7.40204@gmail.com> Message-ID: <20141222185113.GA14675@xiaoyu.lan> 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 From bhagavathula.ravisharan at gmail.com Tue Dec 30 07:31:29 2014 From: bhagavathula.ravisharan at gmail.com (Ravi Sharan) Date: Tue, 30 Dec 2014 13:01:29 +0530 Subject: SB detect error while making a call in osmocomBB Message-ID: Hello, I am playing with osmocomBB on Arch Linux, branched off from jolly/handover. I am running the osmocomBB firmware by chainloading the layer1 onto Motorola C115(and layer23 on host PC, obviously). Everything works fine (location update, normal cell selection and re-selection) while in Idle mode. As soon as the phone enters the dedicated mode (ex: the moment I make a call or receive an indication about an incoming call), I notice that the layer1 starts complaining about erroneous detection of Synchronization Burst (SB) from the neighboring-cells, making the mobile stick to a single ARFCN throughout the call. As soon as the mobile leaves dedicated mode, the layer1 stops complaining about SB detect error and resumes with cell-selection and re-selection normally. I dug up the layer1/prim_fbsb.c code off the same branch and came to two conclusions (though I am unable to find out what the actual cause to this problem is): - Either the TPU is programmed to detect information from different timeslot using l1s_rx_win_ctrl(). I make this assumption because, while the layer1 complains about SB detect error, layer23 complains about bad frame with >= 70 bit errors in the frame. - Or, l1s_neigh_sb_resp() is receiving the correct frame and ending up in a bad CRC check with the received SCH burst header (all 11 times !). I have tested the osmocomBB firmware with both openBTS network setup and public, licensed networks and have come to these conclusions, as the errors were occurring in both the cases. You can find the error logs in here and here (these logs are based of public networks). Thanks in advance, any help is appreciated. -- Ravi Sharan B A G. -------------- next part -------------- An HTML attachment was scrubbed... URL: