From luca.bongiorni1 at studenti.unimi.it Fri Oct 7 16:59:41 2011 From: luca.bongiorni1 at studenti.unimi.it (Luca Bongiorni) Date: Fri, 07 Oct 2011 18:59:41 +0200 Subject: U-RFX board: someone has already tried it? In-Reply-To: References: Message-ID: <7660caec1c74.4e8f4c1d@studenti.unimi.it> Hi all, i was wondering if to buy one U-RFX, with the aim of testing it with various projects. Considering that:? - are fully compatible with USRP [1]; - are seen as the useful WBX; - i don't have yet a WBX... that would be the perfect substitute for the WBX (imho). Someone has already tried it? Impressions?! [1]?http://www.ruby-forum.com/topic/1266576 Cheers, Luca. P.S.: I apologize for the cross-posting.? From wang918 at gmail.com Mon Oct 10 04:07:47 2011 From: wang918 at gmail.com (Eddy) Date: Mon, 10 Oct 2011 12:07:47 +0800 Subject: About speech decode... Message-ID: <000601cc8702$306547d0$912fd770$@gmail.com> Dear All.. Finally I can use OSMOCOM-Tetra to decode some Tetra signal by Wireshark. But I have met some problems when speech decode the files on the mailing list. 1. It's always show "0 Channel Frames processed ie 0 Speech Frame" message when I input a bits file(whatever converting from OSMOCOM-Tetra or download from the mailing list providing) to "cdecoder" program.(Of course it will output a useless "blank file".) 2. I tried to input the sample bits files into "sdecoder" program and it can convert a PCM file. If I use some playback programs include aplay(-f S16_LE) to play the PCM file, there's no any readable speech. Does anyone can help me to check this? I don't know what point I missed. Thank a lot! Best Regards Eddy. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fe8769 at gmail.com Sun Oct 16 12:27:10 2011 From: fe8769 at gmail.com (fe8769) Date: Sun, 16 Oct 2011 14:27:10 +0200 Subject: request for improvement Message-ID: hello here are some requests for improvement on osmotetra : 1- after tetra-rx out to console : the way to see who is calling who ? source ID , target ID ,individual call ,TMO , .... 2- real time listening -traffic.out acting as a Fifo thanks -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From laforge at gnumonks.org Sun Oct 16 17:14:01 2011 From: laforge at gnumonks.org (Harald Welte) Date: Sun, 16 Oct 2011 19:14:01 +0200 Subject: request for improvement In-Reply-To: References: Message-ID: <20111016171401.GD2396@prithivi.gnumonks.org> On Sun, Oct 16, 2011 at 02:27:10PM +0200, fe8769 wrote: > hello > > here are some requests for improvement on osmotetra : I can send you many more requests for improvement. Will you please implement all of them for me? It's a community project, after all. Regards, Harald -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From laforge at gnumonks.org Sun Oct 16 17:50:28 2011 From: laforge at gnumonks.org (Harald Welte) Date: Sun, 16 Oct 2011 19:50:28 +0200 Subject: [ANNOUNCE] First OsmocomGMR code release Message-ID: <20111016175028.GE2396@prithivi.gnumonks.org> First Osmocom GMR code release As some of the readers may already know, a couple of Osmocom developers have been working on a new sub-project: OsmocomGMR. The primary goal of this project is to provide a reusable and clean implementation of the various layers of GMR-1. What is GMR-1 ? Well, it stands for "GEO Mobile Radio" and it's a set of specifications describing a satellite based mobile phone network heavily inspired from GSM. One of the major commercial operators of GMR-1 technology is "Thuraya", providing coverage over Europe/Africa/Asia/Australia. So far the implementation focused on the lowest layers: * Physical layer with FCCH sync and demodulation support for * pi4-CBPSK and pi4-CQPSK bursts. * Channel coding layer (scrambling/puncturing/convolutional coding/crc/interleaving/...) And some ancillary tools to exploit those: * A good capture tool to listen to particular ARFCN(s) and channelize them properly * Wireshark support (BCCH only so far) The first 'demo application' using all of the above provides functionalities similar to what airprobe is for GSM: An air interface protocol analyzer that goes all the way from capturing data off-the-air to sending packets to wireshark for analysis. Limited to BCCH only currently but this will evolve with time. Development was mainly done by Sylvain Munaut, with help from Dimitri Stolnikov (early signal captures and his great capture tool), Harald Welte (initiating the project) and Steve Margraf (testing different setup and antenna ideas). If you'd like to know more, you are encourated to read the wiki (http://gmr.osmocom.org/) and join the mailing list (http://lists.osmocom.org/mailman/listinfo/gmr) -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From sinager at tarapippo.net Mon Oct 24 17:38:25 2011 From: sinager at tarapippo.net (sinager at tarapippo.net) Date: Mon, 24 Oct 2011 19:38:25 +0200 Subject: osmo-tetra make error Message-ID: Hi, I just upgraded my box to Ubuntu 11.10 and successfully compiled GNURadio 3.4.2, however I'm unable to build osmo-tetra (output below). I had it working on my Ubuntu 10.10 box with GNURadio 3.1 or 3.2 (can't remember exactly now). The latest libosmocore has been compiled and installed. Trying to get closer to the issue I also experimented with the libosmocore/osmo-tetra source versions available when I made the successful install, but I'm getting the same error. I'm not sure whether I'm simply missing some step or I'm facing an incompatibility. Any hint? Thanks S sinager at SIRAD:~/osmo-tetra/src$ make cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c conv_enc_test.c -o conv_enc_test.o conv_enc_test.c: In function ?main?: conv_enc_test.c:310:11: warning: unused variable ?out? [-Wunused-variable] conv_enc_test.c:309:6: warning: unused variable ?err? [-Wunused-variable] cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c testpdu.c -o testpdu.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c phy/tetra_burst_sync.c -o phy/tetra_burst_sync.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c phy/tetra_burst.c -o phy/tetra_burst.o phy/tetra_burst.c: In function ?tetra_burst_rx_cb?: phy/tetra_burst.c:316:2: warning: enumeration value ?TETRA_TRAIN_NORM_3? not handled in switch [-Wswitch] phy/tetra_burst.c:316:2: warning: enumeration value ?TETRA_TRAIN_EXT? not handled in switch [-Wswitch] ar r libosmo-tetra-phy.a phy/tetra_burst_sync.o phy/tetra_burst.o ar: creating libosmo-tetra-phy.a cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/tetra_conv_enc.c -o lower_mac/tetra_conv_enc.o lower_mac/tetra_conv_enc.c:34:14: warning: ?dump_state? defined but not used [-Wunused-function] cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/tch_reordering.c -o lower_mac/tch_reordering.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_tdma.c -o tetra_tdma.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/tetra_scramb.c -o lower_mac/tetra_scramb.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/tetra_rm3014.c -o lower_mac/tetra_rm3014.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/tetra_interleave.c -o lower_mac/tetra_interleave.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/crc_simple.c -o lower_mac/crc_simple.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_common.c -o tetra_common.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/viterbi.c -o lower_mac/viterbi.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/viterbi_cch.c -o lower_mac/viterbi_cch.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/viterbi_tch.c -o lower_mac/viterbi_tch.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c lower_mac/tetra_lower_mac.c -o lower_mac/tetra_lower_mac.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_upper_mac.c -o tetra_upper_mac.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_mac_pdu.c -o tetra_mac_pdu.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_llc_pdu.c -o tetra_llc_pdu.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_llc.c -o tetra_llc.o tetra_llc.c: In function ?tllc_defrag_out?: tetra_llc.c:95:3: warning: implicit declaration of function ?tun_alloc? [-Wimplicit-function-declaration] tetra_llc.c:106:1: warning: no return statement in function returning non-void [-Wreturn-type] tetra_llc.c: In function ?rx_tm_sdu?: tetra_llc.c:121:2: warning: enumeration value ?TLLC_PDUT_DEC_UNKNOWN? not handled in switch [-Wswitch] tetra_llc.c:121:2: warning: enumeration value ?TLLC_PDUT_DEC_ALX_ACK? not handled in switch [-Wswitch] tetra_llc.c:121:2: warning: enumeration value ?TLLC_PDUT_DEC_ALX_RNR? not handled in switch [-Wswitch] cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_mle_pdu.c -o tetra_mle_pdu.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_mm_pdu.c -o tetra_mm_pdu.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_cmce_pdu.c -o tetra_cmce_pdu.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_sndcp_pdu.c -o tetra_sndcp_pdu.o cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tetra_gsmtap.c -o tetra_gsmtap.o tetra_gsmtap.c: In function ?tetra_gsmtap_sendmsg?: tetra_gsmtap.c:66:3: warning: implicit declaration of function ?gsmtap_sendmsg? [-Wimplicit-function-declaration] tetra_gsmtap.c: In function ?tetra_gsmtap_init?: tetra_gsmtap.c:75:2: warning: implicit declaration of function ?gsmtap_source_init? [-Wimplicit-function-declaration] tetra_gsmtap.c:75:8: warning: assignment makes pointer from integer without a cast [enabled by default] tetra_gsmtap.c:78:2: warning: implicit declaration of function ?gsmtap_source_add_sink? [-Wimplicit-function-declaration] tetra_gsmtap.c:73:6: warning: unused variable ?fd? [-Wunused-variable] cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c tuntap.c -o tuntap.o ar r libosmo-tetra-mac.a lower_mac/tetra_conv_enc.o lower_mac/tch_reordering.o tetra_tdma.o lower_mac/tetra_scramb.o lower_mac/tetra_rm3014.o lower_mac/tetra_interleave.o lower_mac/crc_simple.o tetra_common.o lower_mac/viterbi.o lower_mac/viterbi_cch.o lower_mac/viterbi_tch.o lower_mac/tetra_lower_mac.o tetra_upper_mac.o tetra_mac_pdu.o tetra_llc_pdu.o tetra_llc.o tetra_mle_pdu.o tetra_mm_pdu.o tetra_cmce_pdu.o tetra_sndcp_pdu.o tetra_gsmtap.o tuntap.o ar: creating libosmo-tetra-mac.a cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. `pkg-config --libs libosmocore 2> /dev/null` -losmocore -o conv_enc_test conv_enc_test.o testpdu.o libosmo-tetra-phy.a libosmo-tetra-mac.a conv_enc_test.o: In function `decode_schf': /home/sinager/osmo-tetra/src/conv_enc_test.c:59: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:62: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:65: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:69: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:71: undefined reference to `osmo_ubit_dump' conv_enc_test.o:/home/sinager/osmo-tetra/src/conv_enc_test.c:84: more undefined references to `osmo_ubit_dump' follow conv_enc_test.o: In function `build_ndb_schf': /home/sinager/osmo-tetra/src/conv_enc_test.c:106: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:110: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:115: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:125: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:129: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:134: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:140: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:147: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:149: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:153: undefined reference to `osmo_ubit_dump' conv_enc_test.o: In function `decode_sb1': /home/sinager/osmo-tetra/src/conv_enc_test.c:166: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:169: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:172: undefined reference to `osmo_ubit_dump' conv_enc_test.o:/home/sinager/osmo-tetra/src/conv_enc_test.c:176: more undefined references to `osmo_ubit_dump' follow conv_enc_test.o: In function `build_sb': /home/sinager/osmo-tetra/src/conv_enc_test.c:222: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:226: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:231: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:241: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:245: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:250: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:257: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:262: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:267: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:277: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:281: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:289: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:296: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:298: undefined reference to `osmo_ubit_dump' /home/sinager/osmo-tetra/src/conv_enc_test.c:302: undefined reference to `osmo_ubit_dump' conv_enc_test.o: In function `main': /home/sinager/osmo-tetra/src/conv_enc_test.c:338: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:339: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:342: undefined reference to `osmo_pbit2ubit' /home/sinager/osmo-tetra/src/conv_enc_test.c:343: undefined reference to `osmo_pbit2ubit' testpdu.o: In function `testpdu_init': /home/sinager/osmo-tetra/src/testpdu.c:43: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:44: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:45: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:46: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:47: undefined reference to `bitvec_set_uint' testpdu.o:/home/sinager/osmo-tetra/src/testpdu.c:48: more undefined references to `bitvec_set_uint' follow testpdu.o: In function `testpdu_init': /home/sinager/osmo-tetra/src/testpdu.c:50: undefined reference to `bitvec_set_bit' /home/sinager/osmo-tetra/src/testpdu.c:51: undefined reference to `bitvec_set_bit' /home/sinager/osmo-tetra/src/testpdu.c:52: undefined reference to `bitvec_set_bit' /home/sinager/osmo-tetra/src/testpdu.c:54: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:55: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:56: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:57: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:58: undefined reference to `bitvec_set_bit' /home/sinager/osmo-tetra/src/testpdu.c:59: undefined reference to `osmo_hexdump' /home/sinager/osmo-tetra/src/testpdu.c:67: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:68: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:69: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:70: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:71: undefined reference to `bitvec_set_uint' testpdu.o:/home/sinager/osmo-tetra/src/testpdu.c:72: more undefined references to `bitvec_set_uint' follow testpdu.o: In function `testpdu_init': /home/sinager/osmo-tetra/src/testpdu.c:73: undefined reference to `bitvec_set_bit' /home/sinager/osmo-tetra/src/testpdu.c:74: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:75: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:76: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:77: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:78: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:79: undefined reference to `bitvec_set_bit' /home/sinager/osmo-tetra/src/testpdu.c:80: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:81: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:82: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:84: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:85: undefined reference to `bitvec_set_uint' testpdu.o:/home/sinager/osmo-tetra/src/testpdu.c:86: more undefined references to `bitvec_set_uint' follow testpdu.o: In function `testpdu_init': /home/sinager/osmo-tetra/src/testpdu.c:87: undefined reference to `osmo_hexdump' /home/sinager/osmo-tetra/src/testpdu.c:93: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:95: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:96: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:97: undefined reference to `bitvec_set_uint' /home/sinager/osmo-tetra/src/testpdu.c:98: undefined reference to `osmo_hexdump' libosmo-tetra-mac.a(viterbi_cch.o): In function `conv_cch_decode': /home/sinager/osmo-tetra/src/lower_mac/viterbi_cch.c:63: undefined reference to `osmo_conv_decode_init' /home/sinager/osmo-tetra/src/lower_mac/viterbi_cch.c:65: undefined reference to `osmo_conv_decode_scan' /home/sinager/osmo-tetra/src/lower_mac/viterbi_cch.c:66: undefined reference to `osmo_conv_decode_finish' /home/sinager/osmo-tetra/src/lower_mac/viterbi_cch.c:68: undefined reference to `osmo_conv_decode_get_output' /home/sinager/osmo-tetra/src/lower_mac/viterbi_cch.c:70: undefined reference to `osmo_conv_decode_deinit' collect2: ld returned 1 exit status make: *** [conv_enc_test] Errore 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From 246tnt at gmail.com Mon Oct 24 19:22:21 2011 From: 246tnt at gmail.com (Sylvain Munaut) Date: Mon, 24 Oct 2011 21:22:21 +0200 Subject: osmo-tetra make error In-Reply-To: References: Message-ID: > I'm not sure whether I'm simply missing some step or I'm facing an > incompatibility. > Any hint? They messed with the linker in 11.10 ... search the net, there is a bunch of report. Cheers, Sylvain From sinager at tarapippo.net Sat Oct 29 15:59:41 2011 From: sinager at tarapippo.net (sinager at tarapippo.net) Date: Sat, 29 Oct 2011 17:59:41 +0200 Subject: osmo-tetra make error In-Reply-To: References: =?iso-8859-1?q?=3CLTKZO1=248B4DA6E41E0A85E40FDB77D7CC47EBF6=40aruba?= =?iso-8859-1?q?=2Eit=3E_=3CCAHL=2Bj09JxMF=3DGeN7AWtLOyeuEqRZWA48U8=2B?= =?iso-8859-1?q?No28n5O2JJQdYPQ=40mail=2Egmail=2Ecom=3E?= Message-ID: Hi, I eventually managed to build,In case anyone else is affected by the same issue, here is how I modified the Makefile. All the bestStefano ? ? -----cut here-----CFLAGS=-g -O0 -WallCPIPPO=-I/usr/local/include/osmocom/core/ -I/usr/local/include/ -I.#LDFLAGS=-L/usr/local/lib -losmocoreall: conv_enc_test crc_test tetra-rx float_to_bits tunctl%.o: %.c??? $(CC) $(CFLAGS) -c $^ -o $@ $(CPIPPO)libosmo-tetra-phy.a: phy/tetra_burst_sync.o phy/tetra_burst.o??? $(AR) r $@ $^libosmo-tetra-mac.a: lower_mac/tetra_conv_enc.o lower_mac/tch_reordering.o tetra_tdma.o lower_mac/tetra_scramb.o lower_mac/tetra_rm3014.o lower_mac/tetra_interleave.o lower_mac/crc_simple.o tetra_common.o lower_mac/viterbi.o lower_mac/viterbi_cch.o lower_mac/viterbi_tch.o lower_mac/tetra_lower_mac.o tetra_upper_mac.o tetra_mac_pdu.o tetra_llc_pdu.o tetra_llc.o tetra_mle_pdu.o tetra_mm_pdu.o tetra_cmce_pdu.o tetra_sndcp_pdu.o tetra_gsmtap.o tuntap.o??? $(AR) r $@ $^float_to_bits: float_to_bits.ocrc_test: crc_test.o tetra_common.o libosmo-tetra-mac.a??? $(CC) $(CFLAGS) -o $@ $^ -L/usr/local/lib -losmocore $(CPIPPO)tetra-rx: tetra-rx.o libosmo-tetra-phy.a libosmo-tetra-mac.a??? $(CC) $(CFLAGS) -o $@ $^ -L/usr/local/lib -losmocore $(CPIPPO)conv_enc_test: conv_enc_test.o testpdu.o libosmo-tetra-phy.a libosmo-tetra-mac.a??? $(CC) $(CFLAGS) -o $@ $^ -L/usr/local/lib -losmocore $(CPIPPO)tunctl: tunctl.oclean:??? @rm -f tunctl float_to_bits crc_test tetra-rx conv_enc_test *.o phy/*.o lower_mac/*.o *.a-----cut here--- ? ? ? Da: "Sylvain Munaut" 246tnt at gmail.com A: "sinager at tarapippo.net" sinager at tarapippo.net Cc: tetra at lists.osmocom.org Data: Mon, 24 Oct 2011 21:22:21 +0200 Oggetto: Re: osmo-tetra make error > > I'm not sure whether I'm simply missing some step or I'm facing an > > incompatibility. > > Any hint? > > They messed with the linker in 11.10 ... search the net, there is a > bunch of report. > > Cheers, > > Sylvain -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.huemer at xx.vu Sun Oct 30 15:36:11 2011 From: alexander.huemer at xx.vu (Alexander Huemer) Date: Sun, 30 Oct 2011 16:36:11 +0100 Subject: osmo-tetra make error In-Reply-To: References: Message-ID: <20111030153611.GC21663@de.xx.vu> Hi, I don't use Ubuntu myself, but from what I got told in the last days I got the impression that what happens is just an "enforcement" of what should have been done ever since. -> put libraries after objects after sources when using gcc. I tried the attached patch in a ubuntu 11.10 amd64 VM and got executables. No more testing was done though. Kind regards, -Alexander Huemer From alexander.huemer at xx.vu Sun Oct 30 15:29:45 2011 From: alexander.huemer at xx.vu (Alexander Huemer) Date: Sun, 30 Oct 2011 15:29:45 +0000 Subject: [PATCH] fix ordering of gcc food in Makefile Message-ID: --- src/Makefile | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 38263b9..f6ff0fc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ CFLAGS=-g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -LDFLAGS=`pkg-config --libs libosmocore 2> /dev/null` -losmocore +LDLIBS=`pkg-config --libs libosmocore 2> /dev/null` -losmocore all: conv_enc_test crc_test tetra-rx float_to_bits tunctl @@ -19,7 +19,6 @@ crc_test: crc_test.o tetra_common.o libosmo-tetra-mac.a tetra-rx: tetra-rx.o libosmo-tetra-phy.a libosmo-tetra-mac.a conv_enc_test: conv_enc_test.o testpdu.o libosmo-tetra-phy.a libosmo-tetra-mac.a - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ tunctl: tunctl.o -- 1.7.5.4 --vkogqOf2sHV7VnPd-- From laforge at gnumonks.org Sun Oct 30 19:28:22 2011 From: laforge at gnumonks.org (Harald Welte) Date: Sun, 30 Oct 2011 20:28:22 +0100 Subject: osmo-tetra make error In-Reply-To: <20111030153611.GC21663@de.xx.vu> References: <20111030153611.GC21663@de.xx.vu> Message-ID: <20111030192822.GI7438@prithivi.gnumonks.org> On Sun, Oct 30, 2011 at 04:36:11PM +0100, Alexander Huemer wrote: > I tried the attached patch in a ubuntu 11.10 amd64 VM and got > executables. No more testing was done though. thanks, merged. -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)