Hi Pau
Much appreciate your response. I did update the version of libtalloc and I can confirm it is available after running the following; tyrus@the-jedi-council:~/osmocom-bb/src$ strings /usr/lib/libtalloc.so.2.1.10 | grep _talloc_zero_array _talloc_zero_array _talloc_zero_array
However, the same error persists at the same break point.
On Thu, Aug 24, 2017 at 7:21 PM, Pau Espin Pedrol pespin@sysmocom.de wrote:
On 24/08/17 18:03, ty wrote:
Thanks Harald for your quick response. I just updated the libosmocore version and run make again, this time with a different error.
usr/bin/ld: main.o: undefined reference to symbol '_talloc_zero_array@ @TALLOC_2.0.2' //usr/lib/i386-linux-gnu/libtalloc.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:388: recipe for target 'bcch_scan' failed
I've tried adding the math library to configure.ac http://configure.ac but it still fails.
It seems the libtalloc installed in your host pc is too old.
I have libtalloc.2.1.10 and the symbol is there: $ strings /usr/lib/libtalloc.so.2.1.10 | grep _talloc_zero_array _talloc_zero_array
Please make sure the libtalloc in your system has that symbol in, otherwise update it to a newer version. You can check through git log to see when was that symbol added, and infer from that which minimum libtalloc verison you need. I guess we should be checking that during configure time in osmocom-bb.
--
- Pau Espin Pedrol pespin@sysmocom.de http://www.sysmocom.de/
=======================================================================
- sysmocom - systems for mobile communications GmbH
- Alt-Moabit 93
- 10559 Berlin, Germany
- Sitz / Registered office: Berlin, HRB 134158 B
- Geschaeftsfuehrer / Managing Director: Harald Welte