segmentation fault
-
@Milav said in segmentation fault:
sorry i dont know why this ldd cmd is not there in target device
This is not unusual. On limited devices manufacturers usually remove everything not needed when using the device.
Is "file" command there? -
@jsulm said in segmentation fault:
This is not unusual. On limited devices manufacturers usually remove everything not needed when using the device.
Is "file" command there?Okay no problem.
actually "file" cmd also not in target device.
but in desktop pc i have "file" cmd so i execute file cmd with binary application file.
here i have show output of that .
tdp0009@tdp0009-desktop:~$ file qt-mosquitto qt-mosquitto: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 2.6.32, not stripped
i think you got your answer from above result.
-
@Milav said in segmentation fault:
32-bit LSB executable, ARM, EABI5
Looks good if that's what your target device CPU is
-
@jsulm said in segmentation fault:
ldd /opt/milav/qt-mosquitto
hello ,
i explore and find some of the cmd for ldd.
here i have show the output for ldd qt-mosquitto/
Shared library: [libmosquittopp.so.1] 0x00000001 (NEEDED) Shared library: [libmosquitto.so.1] 0x00000001 (NEEDED) Shared library: [libdl.so.2] 0x00000001 (NEEDED) Shared library: [librt.so.1] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libstdc++.so.6] 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x00000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x00000001 (NEEDED) Shared library: [ld-linux-armhf.so.3]
hope now you got your answer.
-
@Milav said in segmentation fault:
the difference between host pc and Embedded target board is only QT source.
Host pc => qmake (qt version 5.4.0 )
Embedded target => qmake (qt version 4.8.7)You should have stated these settings from the very beginning... :-)
Anyway, could it be possible that you build Qt 4.8.7 for PC (host) and build your example again with that Qt version and run in PC to see what happens.