Hi all. I created a program with qtembedded for mini6410 board, but the error is occurring undefined symbol: _ZTI11QMainWindow. running the command FILE ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped already tried many things but I am newbie with linux, someone could help please!
undefined symbol: _ZTI11QMainWindow
Did you compile the library and your application with the same compiler? C++ name mangeling may change from version to version.
davef thanks for your help! with comand readelf -A <file> received the following data this is what is causing the error? ******************************************** Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed ******************************************** Version needs section '.gnu.version_r' contains 3 entries: Addr: 0x0000000000009b68 Offset: 0x001b68 Link: 5 (.dynstr) 000000: Version: 1 File: libgcc_s.so.1 Cnt: 1 0x0010: Name: GCC_3.5 Flags: none Version: 5 0x0020: Version: 1 File: libc.so.6 Cnt: 1 0x0030: Name: GLIBC_2.4 Flags: none Version: 3 0x0040: Version: 1 File: libstdc++.so.6 Cnt: 2 0x0050: Name: CXXABI_1.3 Flags: none Version: 4 0x0060: Name: GLIBCXX_3.4 Flags: none Version: 2 Notes at offset 0x00000148 with length 0x00000020: Owner Data size Description GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag) OS: Linux, ABI: 2.6.14 Attribute Section: aeabi File Attributes Tag_CPU_name: "4T" Tag_CPU_arch: v4T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align_needed: 8-byte Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: int Full File log - http://www.4shared.com/file/tvcVbT1G/Log.html
Juergen, I created the tools based on this tutorial http://www.sereno-labs.com/Qt_4.8.3_installation_procedure_FriendlyARM_m... Many thanks
The Mini2440 uses an S3C2440 SoC, which contains an ARMv4T core. The Mini6410 comes with an S3C6410 SoC, which contains an ARMv6ZK core. Diego: welcome to the world of binary copy here and there, build something with one toolchain, something different with a different toolchain, copy everything together and hope it will run. Maybe it will. Most of the time it wont. If you want to develop your own application and keep your frustration level low, start with one of the available cross build systems. They will provide you with a consistent root filesystem for your target. Its harder to start, because you must first learn how to use and configure these kind of tools. But its really worth the effort.