Hello,
I'm trying to build the pjsua2-test-app for arm and I encounter an error :
arm-openstlinux_weston-linux-gnueabi-ld:
/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjsip/build/../src/pjsua2/account.cpp:1089:
undefined reference to `__dso_handle'
Where should be defined __dso_handle and why I'm getting this error?
Thank you.
Félix.
./configure $CONFIGURE_FLAGS --disable-sdl --disable-ffmpeg
--disable-v412 --disable-openh264 --disable-libwebrtc
with CONFIGURE_FLAGS =
--target=arm-openstlinux_weston-linux-gnueabi
--host=arm-openstlinux_weston-linux-gnueabi --build=x86_64-linux
--with-libtool-sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi
the output:
make[1] : on entre dans le répertoire
« /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjsip/build »
if test ! -d ../bin; then mkdir -p ../bin; fi
arm-openstlinux_weston-linux-gnueabi-ld
--sysroot=/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi
-o ../bin/pjsua2-test-arm-openstlinux_weston-linux-gnueabi \
output/pjsua2-test-arm-openstlinux_weston-linux-gnueabi/main.o
-L/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjlib/lib
-L/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjlib-util/lib
-L/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjnath/lib
-L/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjmedia/lib
-L/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjsip/lib
-L/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/third_party/lib
-lv4l2 -lv4l2 -lpjsua2-arm-openstlinux_weston-linux-gnueabi
-lstdc++ -lpjsua-arm-openstlinux_weston-linux-gnueabi
-lpjsip-ua-arm-openstlinux_weston-linux-gnueabi
-lpjsip-simple-arm-openstlinux_weston-linux-gnueabi
-lpjsip-arm-openstlinux_weston-linux-gnueabi
-lpjmedia-codec-arm-openstlinux_weston-linux-gnueabi
-lpjmedia-arm-openstlinux_weston-linux-gnueabi
-lpjmedia-videodev-arm-openstlinux_weston-linux-gnueabi
-lpjmedia-audiodev-arm-openstlinux_weston-linux-gnueabi
-lpjmedia-arm-openstlinux_weston-linux-gnueabi
-lpjnath-arm-openstlinux_weston-linux-gnueabi
-lpjlib-util-arm-openstlinux_weston-linux-gnueabi
-lsrtp-arm-openstlinux_weston-linux-gnueabi
-lresample-arm-openstlinux_weston-linux-gnueabi
-lgsmcodec-arm-openstlinux_weston-linux-gnueabi
-lspeex-arm-openstlinux_weston-linux-gnueabi
-lilbccodec-arm-openstlinux_weston-linux-gnueabi
-lg7221codec-arm-openstlinux_weston-linux-gnueabi
-lyuv-arm-openstlinux_weston-linux-gnueabi
-lpj-arm-openstlinux_weston-linux-gnueabi -luuid -lm -lrt -lpthread
-lasound -lv4l2 --entry main -lc -lgcc_eh -lgcc
-L/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi/usr/lib/arm-openstlinux_weston-linux-gnueabi/8.2.0
arm-openstlinux_weston-linux-gnueabi-ld:
/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjsip/lib/libpjsua2-arm-openstlinux_weston-linux-gnueabi.a(account.o):
in function `pj::Account::findBuddy(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, pj::FindBuddyMatch*) const':
/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjsip/build/../src/pjsua2/account.cpp:1089:
undefined reference to `__dso_handle'
arm-openstlinux_weston-linux-gnueabi-ld:
/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjsip/build/../src/pjsua2/account.cpp:1089:
undefined reference to `__dso_handle'
arm-openstlinux_weston-linux-gnueabi-ld:
../bin/pjsua2-test-arm-openstlinux_weston-linux-gnueabi: hidden symbol
`__dso_handle' isn't defined
arm-openstlinux_weston-linux-gnueabi-ld: final link failed: bad value
/local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/build/rules.mak:124:
recipe for target
'../bin/pjsua2-test-arm-openstlinux_weston-linux-gnueabi' failed
make[1]: *** [../bin/pjsua2-test-arm-openstlinux_weston-linux-gnueabi]
Error 1
make[1] : on quitte le répertoire
« /local/STM32MP15-Ecosystem-v1.0.0/Developer-Package/Lab-DeveloperPackage/pjproject-2.9/pjsip/build »
Makefile:284: recipe for target
'pjsua2-test-arm-openstlinux_weston-linux-gnueabi' failed
make: *** [pjsua2-test-arm-openstlinux_weston-linux-gnueabi] Error 2
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org