You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These libraries are cmake based and depends on boost. I Initially downloaded boost by apt-get and mounted my PI rootfs at /mnt as /mnt/rpi_rootfs. This however had problems when I tried to link them to the application as the toolchain had a different gcc version from that used to compile boost. I downloaded boost source and cross compiled it with the toolchain. I compiled the above libs by linking boost. I could also compile my QT application. At runtime however, I'm now getting this strange error -
20:37:24: Starting /home/pi/InfotainmentCluster/bin/InfotainmentCluster...
QML debugging is enabled. Only use this in a safe environment.
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
FT_New_Face failed with index 0 : 1
libpng warning: bKGD: invalid
2018-07-24 12:29:09.568359 [info] Parsed vsomeip configuration in 0ms
2018-07-24 12:29:09.569341 [info] Default configuration module loaded.
2018-07-24 12:29:09.569465 [info] Initializing vsomeip application "".
2018-07-24 12:29:09.569945 [warning] Routing Manager seems to be inactive. Taking over...
2018-07-24 12:29:09.570410 [warning] unlink failed for /tmp/vsomeip-f. Client identifier 0xf can't be reused!
2018-07-24 12:29:09.570477 [warning] unlink failed for /tmp/vsomeip-10. Client identifier 0x10 can't be reused!
2018-07-24 12:29:09.570534 [warning] unlink failed for /tmp/vsomeip-11. Client identifier 0x11 can't be reused!
2018-07-24 12:29:09.570603 [warning] unlink failed for /tmp/vsomeip-13. Client identifier 0x13 can't be reused!
2018-07-24 12:29:09.570742 [warning] unlink failed for /tmp/vsomeip-1b. Client identifier 0x1b can't be reused!
2018-07-24 12:29:09.570812 [warning] unlink failed for /tmp/vsomeip-1d. Client identifier 0x1d can't be reused!
2018-07-24 12:29:09.570946 [info] SOME/IP client identifier configured. Using 002f (was: 0000)
2018-07-24 12:29:09.571064 [info] No routing manager configured. Using auto-configuration.
2018-07-24 12:29:09.571099 [info] Instantiating routing manager [Host].
2018-07-24 12:29:09.571397 [error] routing_manager_stub::init_endpoint unlink failed (/tmp/vsomeip-0): Operation not permitted
2018-07-24 12:29:09.571761 [info] init_routing_endpoint Routing endpoint at /tmp/vsomeip-0
2018-07-24 12:29:09.572781 [error] Server endpoint creation failed (3)
2018-07-24 12:29:09.572847 [error] routing_manager_stub::init_routing_endpoint Client ID: 0: acceptor bind: Address already in use
2018-07-24 12:29:09.573129 [info] Client [2f] is connecting to [0] at /tmp/vsomeip-0
2018-07-24 12:29:09.573225 [info] Service Discovery enabled. Trying to load module.
2018-07-24 12:29:09.575122 [info] Service Discovery module loaded.
2018-07-24 12:29:09.575757 [info] Application(unnamed, 2f) is initialized (11, 100).
2018-07-24 12:29:09.576370 [info] Starting vsomeip application "" using 2 threads
2018-07-24 12:29:09.576546 [info] REGISTER EVENT(002f): [0040.5676.84d0:is_provider=false]
2018-07-24 12:29:09.576722 [info] REQUEST(002f): [0040.5676:1.4294967295]
2018-07-24 12:29:09.576846 [info] shutdown thread id from application: 002f () is: 6daff440 TID: 19554
2018-07-24 12:29:09.576933 [info] main dispatch thread id from application: 002f () is: 6e2ff440 TID: 19553
2018-07-24 12:29:09.577210 [error] routing_manager_stub::init_endpoint unlink failed (/tmp/vsomeip-0): Operation not permitted
2018-07-24 12:29:09.577339 [info] init_routing_endpoint Routing endpoint at /tmp/vsomeip-0
2018-07-24 12:29:09.577613 [error] Server endpoint creation failed (3)
2018-07-24 12:29:09.577672 [error] routing_manager_stub::init_routing_endpoint Client ID: 0: acceptor bind: Address already in use
terminate called after throwing an instance of '__gnu_cxx::__concurrence_lock_error'
what(): __gnu_cxx::__concurrence_lock_error
2018-07-24 12:29:09.577882 [info] Watchdog is disabled!
20:37:26: Process killed by signal
I couldn't find much help elsewhere for this particular issue. I'm cross compiling the above 3 library using a toolchain file
Since the default CMakeList.txt uses find_package for finding boost, I'm overriding them from the toolchain file using my custom boost include and lib path. Can someone please shed some light into what I'm doing wrong ??
My target uses a stretch with gcc/g++ 6.3.0. My host is Ubuntu16-04.
This is the ldd result on my QT application
I have set the rpath to /usr/QTLibs. However I can see that libstdc++.so is the one that is coming with the system. I believe this is not the one that the application used for linking (not sure) as the toolchain also provides a libstdc++.so and libc.so.
The text was updated successfully, but these errors were encountered:
I'm trying to cross compile a QT based application that depends on a few libraries -
These libraries are cmake based and depends on boost. I Initially downloaded boost by apt-get and mounted my PI rootfs at
/mnt
as/mnt/rpi_rootfs
. This however had problems when I tried to link them to the application as the toolchain had a different gcc version from that used to compile boost. I downloaded boost source and cross compiled it with the toolchain. I compiled the above libs by linking boost. I could also compile my QT application. At runtime however, I'm now getting this strange error -I couldn't find much help elsewhere for this particular issue. I'm cross compiling the above 3 library using a toolchain file
Since the default CMakeList.txt uses find_package for finding boost, I'm overriding them from the toolchain file using my custom boost include and lib path. Can someone please shed some light into what I'm doing wrong ??
My target uses a stretch with gcc/g++ 6.3.0. My host is Ubuntu16-04.
This is the ldd result on my QT application
I have set the rpath to
/usr/QTLibs
. However I can see thatlibstdc++.so
is the one that is coming with the system. I believe this is not the one that the application used for linking (not sure) as the toolchain also provides alibstdc++.so
andlibc.so
.The text was updated successfully, but these errors were encountered: