[hpsdr] Also problems with HPSDRProgrammer

Stijn Nestra pe1rks at xs4all.nl
Thu Feb 3 04:34:41 PST 2011


Since Metis is coming closer and closer, I began starting to get ready 
for it.
I am using Ubuntu 10.04 64-bit and have the following problems:
If I install the 64-bit deb package and start HPSDRProgrammer I get the 
following message and then it dies:

"eth0" "48:5B:39:1D:E2:52" "192.168.2.1"
./HPSDRProgrammer: symbol lookup error: ./HPSDRProgrammer: undefined 
symbol: _ZN9QListData11detach_growEPii

If I go the repository and try to built HPSDRProgrammer I first got a 
lot of messages that directed me to a missing pcap.h, after that I 
installed libpcap-dev.
Now the messages regarding a missing pcap.h are gone but it still won't 
compile properly, I get the following messages:

Running build steps for project HPSDRProgrammer...
Configuration unchanged, skipping qmake step.
Starting: "/usr/bin/make" -w
make: Map 
'/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop' 
wordt binnengegaan
g++ -m64 -Wl,-rpath,/home/stijn/qtsdk-2010.05/qt/lib -o HPSDRProgrammer 
main.o mainwindow.o Interfaces.o RawReceiveThread.o DiscoveryThread.o 
ReceiveThread.o Metis.o AboutDialog.o moc_mainwindow.o 
moc_RawReceiveThread.o moc_DiscoveryThread.o moc_ReceiveThread.o 
moc_AboutDialog.o    -L/home/stijn/qtsdk-2010.05/qt/lib -lQtGui 
-L/home/stijn/qtsdk-2010.05/qt/lib -L/usr/X11R6/lib64 -lQtNetwork 
-lQtCore -lpthread
mainwindow.o: In function `MainWindow::bootloaderProgram()':
make: Map 
'/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop' 
wordt verlaten
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:243: 
undefined reference to `pcap_open_live'
mainwindow.o: In function `MainWindow::bootloaderErase()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:330: 
undefined reference to `pcap_open_live'
mainwindow.o: In function `MainWindow::getMAC()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:400: 
undefined reference to `pcap_open_live'
mainwindow.o: In function `MainWindow::getIP()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:448: 
undefined reference to `pcap_open_live'
mainwindow.o: In function `MainWindow::setIP()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:506: 
undefined reference to `pcap_open_live'
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:545: 
undefined reference to `pcap_sendpacket'
mainwindow.o: In function `MainWindow::sendRawCommand(unsigned char)':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:650: 
undefined reference to `pcap_sendpacket'
mainwindow.o: In function `MainWindow::sendRawData()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:745: 
undefined reference to `pcap_sendpacket'
mainwindow.o: In function `MainWindow::sendJTAGData()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:803: 
undefined reference to `pcap_sendpacket'
mainwindow.o: In function `MainWindow::sendJTAGFlashData()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:859: 
undefined reference to `pcap_sendpacket'
mainwindow.o: In function `MainWindow::jtagInterrogate()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:1224: 
undefined reference to `pcap_open_live'
mainwindow.o: In function `MainWindow::jtagBootloaderProgram()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:1375: 
undefined reference to `pcap_open_live'
mainwindow.o: In function `MainWindow::jtagFlashProgram()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/mainwindow.cpp:1440: 
undefined reference to `pcap_open_live'
Interfaces.o: In function `Interfaces':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/Interfaces.cpp:67: 
undefined reference to `pcap_findalldevs'
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/Interfaces.cpp:67: 
undefined reference to `pcap_findalldevs'
RawReceiveThread.o: In function `RawReceiveThread::run()':
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/RawReceiveThread.cpp:53: 
undefined reference to `pcap_next'
/home/stijn/N6LYT/ghpsdr3/trunk/src/HPSDRProgrammer-build-desktop/../HPSDRProgrammer/RawReceiveThread.cpp:115: 
undefined reference to `pcap_close'
collect2: ld returned 1 exit status
make: *** [HPSDRProgrammer] Fout 1
The process "/usr/bin/make" exited with code %2.
Error while building project HPSDRProgrammer (target: Desktop)
When executing build step 'Make'

I have the feeling that I am still missing some key components, can 
somebody tell me what all the dependencies are that need to be fulfilled?

Sincerely,

Stijn PE1RKS



More information about the Hpsdr mailing list