Forums - Failed to compile telephony-lib

1 post / 0 new
Failed to compile telephony-lib
seongeui.kim
Join Date: 20 Aug 18
Posts: 1
Posted: Tue, 2018-08-28 17:03

Description:  Dear QCT,

I tried to create installer before start to create a sample appliczation  using telematics APIs.
It failed to run command to create platform Telematics SDK with below initial steps.

Is there any solution to compile telephony-lib?
(Additionally, it normally compiled with same manual with MDM 9x50 source.)

>>snaptel-sdk/doxy/user_guide/linux_platform_sdk.dox
1. repo init and sync the sources
$ repo init -q -u git://codeaurora.org/quic/le/le/manifest.git -b release -m caf_AU_LINUX_EMBEDDED_LE.UM.1.3.R5_TARGET_ALL.01.66.121.xml
$ repo sync -c --no-tags -j 50 --force-sync

2. Update Telux and Telephony libs
Add the following lines at the end of poky/build/conf/local.conf:
CORE_IMAGE_EXTRA_INSTALL += "telephony-lib"
CORE_IMAGE_EXTRA_INSTALL += "telux"

3. Setup the build environment and Build and install the Yocto Platform SDK --> Error: Function failed: do_compile
$ cd poky/
$ source build/conf/set_bb_env.sh
$ bitbake core-image-minimal -c do_populate_sdk

>> log.do_complie (poky\build\tmp-glibc\work\cortexa8hf-vfp-neon-oe-linux-gnueabi\telephony-lib\1.0-r0\temp\log.do_compile)
/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.2.0/ld: error: undefined symbol 'so_stub_for_psdk' referenced in expression
/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.2.0/ld: error: undefined symbol 'sysroots' referenced in expression
/poky/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/5.2.0/ld: error: div by zero
...
collect2: error: ld returned 1 exit status
WARNING: /poky/build/tmp-glibc/work/cortexa8hf-vfp-neon-oe-linux-gnueabi/telephony-lib/1.0-r0/temp/run.do_compile.30867:1 exit 1 from
arm-oe-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/poky/build/tmp-glibc/sysroots/mdm9650-2k -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -shared -Wall -fPIC -DFNAME=so_stub_for_libtelux_tel stubs.c \@libtelux_tel.sym -o libtelux_tel.so
ERROR: Function failed: do_compile

Thanks,
Seongeui

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.