ccch_scan.c

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

tom mc loughlin tomei9dl at gmail.com
Fri Dec 12 11:23:20 UTC 2014


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: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20141212/d94a2775/attachment.htm>


More information about the baseband-devel mailing list