Hi Prasad,
Regarding cross compilation we have some queries 1. We are able to cross compile libosmocore commit 8649d57f507d359c99a89654aac7e19ce22db282 and some of later versions using local >talloc files, but there is a dependency of talloc library in latest version. Let us know which talloc version to pick and any specific procedure to cross compile talloc source.
New libosmocore requires talloc version > 2.0.1. I followed instruction here https://wiki.samba.org/index.php/Waf#cross-compiling to cross-compile talloc 2.0.8
export CC=~/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-gcc ./configure --cross-compile --cross-answers=arm.txt --hostcc=arm-none-linux-gnueabi-gcc --disable-python --prefix=$SYSROOT/usr make make install
NOTE: Replace UNKNOWN to OK in arm.txt until the configuration has no error
- We see that there is ARM cross compiler described at http://bb.osmocom.org/trac/wiki/GnuArmToolchain. Let us know if this is usable with NURAN boards.
I have never tried this compiler yet.
- There is an error while linking osmo-pcu arm-none-linux-gnueabi/bin/ld: ./.libs/libgprs.a(gprs_bssgp_pcu.o): undefined reference to symbol 'tlv_parse@@LIBOSMOGSM_1.0' /home/pkaup/osmo/latest/libosmocore/src/gsm/.libs/libosmogsm.so: error adding symbols: DSO missing from command line
And the final linking command for osmo-pcu is echo " CXXLD " osmo-pcu;/bin/bash ../libtool --silent --tag=CXX --mode=link arm-none-linux-gnueabi-g++ -march=armv5te -marm -mthumb-interwork -Wall -ldl -pthread -O2 -pipe -g >-feliminate-unused-debug-types -fpermissive -lrt -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o osmo-pcu pcu_main.o libgprs.la >/home/pkaup/osmo/latest/libosmocore/src/gb/.libs/libosmogb.so /home/pkaup/osmo/latest/libosmocore/src/.libs/libosmocore.so >/home/pkaup/osmo/latest/libosmocore/src/gsm/.libs/libosmogsm.so As I see, tlv_parse is part of libosmogsm which is getting linked. Can you let me know the final linking command (corresponding output as above of "make -n" in your setup ) so that I can cross-verify ?
Please see attachment.
Minh-Quang Nguyen
Concepteur logiciel | Software designer GSM/Network
T. 418 914-7484 x2296 | 1 855 914-7484 | F. 418 914-9477 2150, Cyrille-Duquet, Québec (Québec) G1N 2G3 CANADA
minh-quang.nguyen@nutaq.com www.nutaq.com
QUEBEC MONTREAL NEW YORK
Facebook Twitter LinkedIn YouTube
-----Original Message----- From: Prasad Kaup [mailto:Prasad.Kaup@radisys.com] Sent: Tuesday, March 29, 2016 11:48 AM To: Minh-Quang Nguyen; Neels Hofmeyr; osmocom-net-gprs@lists.osmocom.org Cc: Saurabh Sharan; Yves Godin; Abhinav Pragya Rishi Subject: RE: Regarding integration of NURAN L1 1.0
Hi Minh-Quang Nguyen, Thanks for the information. We are able to connect to the board and execute the commands.
Regarding cross compilation we have some queries 1. We are able to cross compile libosmocore commit 8649d57f507d359c99a89654aac7e19ce22db282 and some of later versions using local talloc files, but there is a dependency of talloc library in latest version. Let us know which talloc version to pick and any specific procedure to cross compile talloc source.
2. We see that there is ARM cross compiler described at http://bb.osmocom.org/trac/wiki/GnuArmToolchain. Let us know if this is usable with NURAN boards.
3. There is an error while linking osmo-pcu arm-none-linux-gnueabi/bin/ld: ./.libs/libgprs.a(gprs_bssgp_pcu.o): undefined reference to symbol 'tlv_parse@@LIBOSMOGSM_1.0' /home/pkaup/osmo/latest/libosmocore/src/gsm/.libs/libosmogsm.so: error adding symbols: DSO missing from command line
And the final linking command for osmo-pcu is echo " CXXLD " osmo-pcu;/bin/bash ../libtool --silent --tag=CXX --mode=link arm-none-linux-gnueabi-g++ -march=armv5te -marm -mthumb-interwork -Wall -ldl -pthread -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -lrt -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o osmo-pcu pcu_main.o libgprs.la /home/pkaup/osmo/latest/libosmocore/src/gb/.libs/libosmogb.so /home/pkaup/osmo/latest/libosmocore/src/.libs/libosmocore.so /home/pkaup/osmo/latest/libosmocore/src/gsm/.libs/libosmogsm.so
As I see, tlv_parse is part of libosmogsm which is getting linked. Can you let me know the final linking command (corresponding output as above of "make -n" in your setup ) so that I can cross-verify ?
Regards Prasad