Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,924 Members 44,955 Now Online
XDA Developers Android and Mobile Development Forum

[FIX] heimdall-frontend: symbol lookup error: heimdall-frontend: undefined symbol: _Z

Tip us?
 
iMil
Old
#1  
iMil's Avatar
Junior Member - OP
Thanks Meter 9
Posts: 19
Join Date: Mar 2012
Location: Paris
Default [FIX] heimdall-frontend: symbol lookup error: heimdall-frontend: undefined symbol: _Z

Debian packages for heimdall-frontend from official Heimdall website fail under Debian GNU/Linux Squeeze with the following message:

Code:
heimdall-frontend: symbol lookup error: heimdall-frontend: undefined symbol: _ZN9QListData11detach_growEPii
When trying to detect the device. This is due to a missing symbol in Debian's qt4.

Here's how to rebuild the frontend using Heimdall source code:

0. Install what's needed to build qt code

Code:
$ sudo apt-get build-essential
$ sudo apt-get install qt4-qmake
$ sudo apt-get install libqt4-dev
1. Fetch heimdall sources from GitHub (sorry no link, not allowed to post them yet)

2. Uncompress the obtained source

Code:
tar zxvf Benjamin-Dobell-Heimdall-v1.3.1-0-gfbbed42.tar.gz
3. Build libpit

Code:
$ cd Benjamin-Dobell-Heimdall-fbbed42/libpit/
$ ./configure
$ make
4. Build heimdall-frontend

cd to ../heimdall-frontend/. You'll need to modify a qt4.7 incompatible function, in Source/Packaging.cpp, modify:

Code:
toMSecsSinceEpoch
to
Code:
toTime_t
And then type

Code:
make
You should now have a functionnal heimdall-frontend located in ../Linux.

And if you're too lazy to build it yourself, here's a i386 / Debian Squeeze version as an attachement

Enjoy.
Attached Files
File Type: bz2 heimdall-frontend.bz2 - [Click for QR Code] (97.1 KB, 252 views)
The Following 3 Users Say Thank You to iMil For This Useful Post: [ Click to Expand ]
 
davidmore
Old
(Last edited by davidmore; 17th March 2012 at 03:47 PM.)
#2  
davidmore's Avatar
Senior Member
Thanks Meter 605
Posts: 322
Join Date: Dec 2007
Location: Venice
a great job. Thank you very much.
I recompiled heimdall-frontend after changed value in Packaging.cpp and all works fine.
You are a very big linux programmer :)
** When someone--anyone--help you, give a THANK!
__________________________________________________ __________________
Phone1: Huawei G510 | ROM & KERNEL: DMORE.Rom.Kernel
Phone2: Samsung Galaxy S GT-I9000 | DMORE.I9000.Kernel | ROM: DMORE.Rom
Tablet: Nexus 7 Google-Asus | ROM: default | KERNEL: DMORE.N7.Kernel
 
Hardly Captivated
Old
#3  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Apr 2012
Location: Atlanta
Default Thanks...

Thanks for the post on the fix; however, following the instructions, I have a snag.
Downloaded the Heimdall 1.3.1 source (GithubDOTcom/Benjamin-Dobell/Heimdall/zipball/v1.3.1)
Uncompressed it
cd heimdall/Benjamin-Dobell-Heimdall-fbbed42/libpit
./configure
make (got a libpit-1.3.a) as root
cd ../../Benjamin-Dobell-Heimdall-fbbed42/heimdall-frontend
vi Source/Packaging.cpp
:%s/toMSecsSinceEpoch/toTime_t/g
:wq

pwd
/home/user/heimdall/Benjamin-Dobell-Heimdall-fbbed42/heimdall-frontend

But I see no configure or make files for the frontend. What have I missed?

Thanks again.
 
bambam1978
Old
(Last edited by bambam1978; 17th May 2012 at 12:40 AM.)
#4  
Senior Member
Thanks Meter 36
Posts: 358
Join Date: Dec 2010
Very first command "sudo apt-get build-essential" Gives me the following error
E: Invalid operation build-essential

Now what?

Please help thanks

k got past that did the first step now im lost!!
 
Skelli
Old
#5  
Junior Member
Thanks Meter 4
Posts: 23
Join Date: Dec 2011
"sudo apt-get install build-essential" and not "sudo apt-get build-essential"
The Following User Says Thank You to Skelli For This Useful Post: [ Click to Expand ]
 
bambam1978
Old
(Last edited by bambam1978; 27th May 2012 at 11:25 PM.)
#6  
Senior Member
Thanks Meter 36
Posts: 358
Join Date: Dec 2010
Quote:
Originally Posted by Skelli View Post
"sudo apt-get install build-essential" and not "sudo apt-get build-essential"
ok so now im stuck on #3. i instead used heimdall 1.1.1 and uncompressed that here i'll copy and paste what i have done so you can help me go from there. starting with the unpacking of heimdall 1.1.1
"$ tar zxvf Benjamin-Dobell-Heimdall-47faaf0.tar.gz
heimdall/
heimdall/source/
heimdall/m4/
heimdall/doc-pak/
heimdall/autom4te.cache/
heimdall-frontend/
heimdall-frontend/doc-pak/
heimdall-frontend/Source/
libusb-1.0/
libusb-1.0/msvc/
libusb-1.0/m4/
libusb-1.0/libusb/
libusb-1.0/examples/
libusb-1.0/doc/
libusb-1.0/autom4te.cache/
libusb-1.0/libusb/os/
Linux/
OSX/
OSX/heimdall.kext/
OSX/heimdall.kext/Contents/
Win32/
Win32/Drivers/
heimdall/postremove-pak
heimdall/postinstall-pak
heimdall/missing
heimdall/ltmain.sh
heimdall/install-sh
heimdall/heimdall.vcxproj.filters
heimdall/heimdall.vcxproj
heimdall/description-pak
heimdall/depcomp
heimdall/configure.ac
heimdall/configure
heimdall/config.sub
heimdall/config.h.in~
heimdall/config.h.in
heimdall/config.guess
heimdall/autogen.sh
heimdall/aclocal.m4
heimdall/Makefile.in
heimdall/Makefile.am
heimdall/LICENSE
heimdall/60-heimdall-galaxy-s.rules
heimdall/source/main.cpp
heimdall/source/SendFilePartResponse.h
heimdall/source/SendFilePartPacket.h
heimdall/source/ResponsePacket.h
heimdall/source/ReceiveFilePartPacket.h
heimdall/source/RebootDevicePacket.h
heimdall/source/PitFileResponse.h
heimdall/source/PitFilePacket.h
heimdall/source/Packet.h
heimdall/source/OutboundPacket.h
heimdall/source/InterfaceManager.h
heimdall/source/InterfaceManager.cpp
heimdall/source/InboundPacket.h
heimdall/source/Heimdall.h
heimdall/source/FlashPartPitFilePacket.h
heimdall/source/FlashPartFileTransferPacket.h
heimdall/source/FileTransferPacket.h
heimdall/source/EndPhoneFileTransferPacket.h
heimdall/source/EndModemFileTransferPacket.h
heimdall/source/EndFileTransferPacket.h
heimdall/source/DumpResponse.h
heimdall/source/DumpPartPitFilePacket.h
heimdall/source/DumpPartFileTransferPacket.h
heimdall/source/DeviceInfoResponse.h
heimdall/source/DeviceInfoPacket.h
heimdall/source/ControlPacket.h
heimdall/source/BridgeManager.h
heimdall/source/BridgeManager.cpp
heimdall/source/BeginDumpPacket.h
heimdall/m4/lt~obsolete.m4
heimdall/m4/ltversion.m4
heimdall/m4/ltsugar.m4
heimdall/m4/ltoptions.m4
heimdall/m4/libtool.m4
heimdall/doc-pak/README
heimdall/doc-pak/LICENSE
heimdall/autom4te.cache/traces.1
heimdall/autom4te.cache/traces.0
heimdall/autom4te.cache/requests
heimdall/autom4te.cache/output.1
heimdall/autom4te.cache/output.0
heimdall-frontend/mainwindow.ui
heimdall-frontend/mainwindow.qrc
heimdall-frontend/heimdall-frontend.vcxproj.filters
heimdall-frontend/heimdall-frontend.vcxproj
heimdall-frontend/heimdall-frontend.pro
heimdall-frontend/heimdall-frontend.pri
heimdall-frontend/description-pak
heimdall-frontend/aboutform.ui
heimdall-frontend/Qt4VSPropertySheet.props
heimdall-frontend/doc-pak/README
heimdall-frontend/doc-pak/LICENSE
heimdall-frontend/Source/mainwindow.h
heimdall-frontend/Source/mainwindow.cpp
heimdall-frontend/Source/main.cpp
heimdall-frontend/Source/aboutform.h
heimdall-frontend/Source/aboutform.cpp
libusb-1.0/missing
libusb-1.0/ltmain.sh.orig
libusb-1.0/ltmain.sh
libusb-1.0/libusb-1.0.pc.in
libusb-1.0/libtool-nls.diff
libusb-1.0/install-sh
libusb-1.0/depcomp
libusb-1.0/configure.ac
libusb-1.0/configure
libusb-1.0/config.sub
libusb-1.0/config.h.in
libusb-1.0/config.guess
libusb-1.0/compile
libusb-1.0/autogen.sh
libusb-1.0/aclocal.m4
libusb-1.0/_testing.test
libusb-1.0/_libusb_static_2010.vcxproj
libusb-1.0/_libusb_static_2008.vcxproj.filters
libusb-1.0/_libusb_static_2008.vcproj
libusb-1.0/_libusb_dll_2008.vcproj
libusb-1.0/_libusb_2008.sln
libusb-1.0/_bump.sh
libusb-1.0/_bm.sh
libusb-1.0/_bd.cmd
libusb-1.0/_README.txt
libusb-1.0/TODO
libusb-1.0/THANKS
libusb-1.0/README
libusb-1.0/PORTING
libusb-1.0/NEWS
libusb-1.0/Makefile.in
libusb-1.0/Makefile.am
libusb-1.0/INSTALL_WIN.txt
libusb-1.0/INSTALL
libusb-1.0/COPYING
libusb-1.0/AUTHORS
libusb-1.0/.gitattributes
libusb-1.0/msvc/xusb_sources
libusb-1.0/msvc/xusb.vcproj
libusb-1.0/msvc/xusb.dsp
libusb-1.0/msvc/stdint.h
libusb-1.0/msvc/lsusb_sources
libusb-1.0/msvc/lsusb.vcproj
libusb-1.0/msvc/lsusb.dsp
libusb-1.0/msvc/libusb_static.vcproj
libusb-1.0/msvc/libusb_static.dsp
libusb-1.0/msvc/libusb_sources
libusb-1.0/msvc/libusb_dll.vcproj
libusb-1.0/msvc/libusb_dll.dsp
libusb-1.0/msvc/libusb.sln
libusb-1.0/msvc/libusb.dsw
libusb-1.0/msvc/inttypes.h
libusb-1.0/msvc/ddk_build.cmd
libusb-1.0/msvc/config.h
libusb-1.0/m4/lt~obsolete.m4
libusb-1.0/m4/ltversion.m4
libusb-1.0/m4/ltsugar.m4
libusb-1.0/m4/ltoptions.m4
libusb-1.0/m4/libtool.m4
libusb-1.0/libusb/sync.c
libusb-1.0/libusb/libusbi.h
libusb-1.0/libusb/libusb_version.h.in
libusb-1.0/libusb/libusb_version.h
libusb-1.0/libusb/libusb.h
libusb-1.0/libusb/libusb-1.0.rc
libusb-1.0/libusb/libusb-1.0.def
libusb-1.0/libusb/io.c
libusb-1.0/libusb/descriptor.c
libusb-1.0/libusb/core.c
libusb-1.0/libusb/Makefile.in
libusb-1.0/libusb/Makefile.am
libusb-1.0/examples/xusb.c
libusb-1.0/examples/lsusb.c
libusb-1.0/examples/dpfp_threaded.c
libusb-1.0/examples/dpfp.c
libusb-1.0/examples/_xusb_2008.vcproj
libusb-1.0/examples/_lsusb_2008.vcproj
libusb-1.0/examples/Makefile.in
libusb-1.0/examples/Makefile.am
libusb-1.0/doc/doxygen.cfg.in
libusb-1.0/doc/Makefile.in
libusb-1.0/doc/Makefile.am
libusb-1.0/autom4te.cache/traces.1
libusb-1.0/autom4te.cache/traces.0
libusb-1.0/autom4te.cache/requests
libusb-1.0/autom4te.cache/output.1
libusb-1.0/autom4te.cache/output.0
libusb-1.0/libusb/os/windows_usb.h
libusb-1.0/libusb/os/windows_usb.c
libusb-1.0/libusb/os/threads_windows.h
libusb-1.0/libusb/os/threads_windows.c
libusb-1.0/libusb/os/threads_posix.h
libusb-1.0/libusb/os/poll_windows.h
libusb-1.0/libusb/os/poll_windows.c
libusb-1.0/libusb/os/poll_posix.h
libusb-1.0/libusb/os/linux_usbfs.h
libusb-1.0/libusb/os/linux_usbfs.c
libusb-1.0/libusb/os/darwin_usb.h
libusb-1.0/libusb/os/darwin_usb.c
Linux/README
OSX/install-kext.sh
OSX/README.txt
OSX/heimdall.kext/Contents/Info.plist
Win32/README.txt
Win32/Drivers/zadig.exe
msvc2010.sln
README
chris@chris-laptop:~$"

now what cd .. am i trying to get to to build libpit?
Here's the result of trying what I thought might work.
"chris@chris-laptop:~$ cd Benjamin-Dobell-Heimdall-47faaf0/libpit/
bash: cd: Benjamin-Dobell-Heimdall-47faaf0/libpit/: No such file or directory"


Thanks a lot for your help I really appreciate it.
 
Benjamin Dobell
Old
#7  
Recognized Developer
Thanks Meter 559
Posts: 842
Join Date: Jul 2010
Location: Melbourne

 
DONATE TO ME
Heimdall 1.1.1 doesn't have libpit, so you can safely skip that part. However, I see no valid reason why anyone would use Heimdall 1.1.1 over 1.3.1.
Heimdall - Open-Source Cross-Platform Galaxy S Firmware Flashing Software
[LISTING] Firmware with Fixed (OS X Compatible) Secondary Bootloader (Sbl.bin)
The Junkheap Experimental Device Donations

If any of my work interests you and you'd like to support me or help cover the cost of development, donations are very much appreciated.

Google Plus: +Benjamin Dobell
The Following User Says Thank You to Benjamin Dobell For This Useful Post: [ Click to Expand ]
 
bambam1978
Old
(Last edited by bambam1978; 29th May 2012 at 05:35 PM.)
#8  
Senior Member
Thanks Meter 36
Posts: 358
Join Date: Dec 2010
Quote:
Originally Posted by Benjamin Dobell View Post
Heimdall 1.1.1 doesn't have libpit, so you can safely skip that part. However, I see no valid reason why anyone would use Heimdall 1.1.1 over 1.3.1.
You say i can skip that part but i still get the error. I think i'll take your advice and try the 1.3.1 and see if i have better luck with that.

edit- So do I still need to build front end? If so how exactly?
 
dabl8
Old
#9  
Senior Member
Thanks Meter 49
Posts: 236
Join Date: Jan 2011
How have you managed with version 1.3? And have you tried the pre-compiled binary in the original post? If you are still having problems, I would suggest the terminal. If you tell us which files you want to flash , we can tell you what the terminal command is.
The Following User Says Thank You to dabl8 For This Useful Post: [ Click to Expand ]
 
bambam1978
Old
(Last edited by bambam1978; 2nd June 2012 at 01:13 PM.)
#10  
Senior Member
Thanks Meter 36
Posts: 358
Join Date: Dec 2010
Quote:
Originally Posted by dabl8 View Post
How have you managed with version 1.3? And have you tried the pre-compiled binary in the original post? If you are still having problems, I would suggest the terminal. If you tell us which files you want to flash , we can tell you what the terminal command is.
ok here is something that might make things easier, I just did a fresh install of xubuntu 10.04-2 and havent attempted to install heimdall on it yet I would ultimately like to install heimdall 1.1.1 (because im used to it) If I have to install 1.3 then so be it, but again would like 1.1.1. So if you can give me the commands for terminal to install heimdall suite 1.1.1 from scratch you will get a thanks for every post you put on here with commands. Thanks a lot for replying and I look forward to getting heimdall back on here.

THANKS!!!!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes