Layer23- transceiver make command error

Bastien Baranoff bastienbaranoff at gmail.com
Wed May 22 16:15:15 UTC 2019


Hello I was able to reproduce the bug to compile transceiver don't go in
/root/trx/src/host/layer23/src/transceiver make fails here
Rather than that do the following go to root folder
# git clone https://github.com/osmocom/osmocom-bb trx

# cd trx/src
# nano target/firmware/Makefile (tx enable...)
# git checkout jolly/testing
# make HOST_layer23_CONFARGS=--enable-transceiver

Le mer. 22 mai 2019 à 09:18, Bilguun Tugs <infibiti16 at gmail.com> a écrit :

>
> Im following this article. These errors given. I wanna do this command.
>
> https://bastienbaranoff.wordpress.com/2018/08/10/gsm-base-station-with-two-osmocom-bb-compatible-phones-on-kali-rolling/
>
> *Shell #3*
> # cd trx/src/host/layer23/src/transceiver/
> # sudo ./transceiver -a [YOUR ARFCN FOUND WITH RSSI] -2 -r 99
> This command doesnt work in trx folder. (kali 18.1)
>
>
>
> rot at kali:~/trx/src/host/layer23/src/transceiver# make
>   CCLD     transceiver
> /usr/bin/ld: gmsk.o: in function `osmo_gmsk_free':
> /root/trx/src/host/layer23/src/transceiver/gmsk.c:83: undefined reference
> to `osmo_cxvec_free'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:85:
> undefined reference to `osmo_cxvec_free'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:87:
> undefined reference to `osmo_cxvec_free'
> /usr/bin/ld: gmsk.o: in function `osmo_gmsk_generate_pulse':
> /root/trx/src/host/layer23/src/transceiver/gmsk.c:110: undefined reference
> to `osmo_cxvec_alloc'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:123:
> undefined reference to `expf'
> /usr/bin/ld: gmsk.o: in function `osmo_gmsk_generate_rotation_tables':
> /root/trx/src/host/layer23/src/transceiver/gmsk.c:145: undefined reference
> to `osmo_cxvec_alloc'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:146:
> undefined reference to `osmo_cxvec_alloc'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:153:
> undefined reference to `cexp'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:153:
> undefined reference to `cexp'
> /usr/bin/ld: gmsk.o: in function `osmo_gmsk_generate_pulse':
> /root/trx/src/host/layer23/src/transceiver/gmsk.c:128: undefined reference
> to `sqrtf'
> /usr/bin/ld: gmsk.o: in function `osmo_gmsk_modulate_burst':
> /root/trx/src/host/layer23/src/transceiver/gmsk.c:209: undefined reference
> to `osmo_cxvec_alloc'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:227:
> undefined reference to `osmo_cxvec_convolve'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:230:
> undefined reference to `osmo_cxvec_free'
> /usr/bin/ld: gmsk.o: in function `osmo_gmsk_trainseq_generate':
> /root/trx/src/host/layer23/src/transceiver/gmsk.c:256: undefined reference
> to `osmo_cxvec_correlate'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:260:
> undefined reference to `osmo_cxvec_peak_energy_find'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:265:
> undefined reference to `osmo_cxvec_free'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gmsk.c:272:
> undefined reference to `osmo_cxvec_free'
> /usr/bin/ld: gmsk.o: in function `osmo_gmsk_trainseq_free':
> /root/trx/src/host/layer23/src/transceiver/gmsk.c:286: undefined reference
> to `osmo_cxvec_free'
> /usr/bin/ld: gsm_ab.o: in function `gsm_ab_detect':
> /root/trx/src/host/layer23/src/transceiver/gsm_ab.c:53: undefined
> reference to `osmo_cxvec_correlate'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gsm_ab.c:57:
> undefined reference to `osmo_cxvec_peak_energy_find'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gsm_ab.c:67:
> undefined reference to `osmo_cxvec_free'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gsm_ab.c:67:
> undefined reference to `osmo_cxvec_free'
> /usr/bin/ld: gsm_ab.o: in function `gsm_ab_demodulate':
> /root/trx/src/host/layer23/src/transceiver/gsm_ab.c:90: undefined
> reference to `osmo_cxvec_scale'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/gsm_ab.c:91:
> undefined reference to `osmo_cxvec_delay'
> /usr/bin/ld: demod.o: in function `gsm_ab_ind_process':
> /root/trx/src/host/layer23/src/transceiver/demod.c:51: undefined reference
> to `osmo_cxvec_alloc'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/demod.c:62:
> undefined reference to `osmo_cxvec_sig_normalize'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/demod.c:70:
> undefined reference to `cabsf'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/demod.c:76:
> undefined reference to `cabsf'
> /usr/bin/ld: /root/trx/src/host/layer23/src/transceiver/demod.c:101:
> undefined reference to `osmo_cxvec_free'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:360: transceiver] Error 1
>
> How to build transceiver file ?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20190522/87653b2d/attachment.html>


More information about the baseband-devel mailing list