[hpsdr] Also problems with HPSDRProgrammer

Sid Boyce g3vbv at blueyonder.co.uk
Thu Feb 3 05:10:26 PST 2011


On 03/02/11 12:34, Stijn Nestra wrote:
> ***** High Performance Software Defined Radio Discussion List *****
>
> 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
> _______________________________________________
> HPSDR Discussion List
> To post msg: hpsdr at openhpsdr.org
> Subscription help:
> http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
> HPSDR web page: http://openhpsdr.org
> Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/
>
It seems you need libpcap-dev/libpcap0.8-dev. This is Ubuntu 11.10 and 
may be different revisions are needed for 10.04.
root at sdrbox:/usr/src/XXX# grep pcap_findalldevs /usr/include/pcap/*
/usr/include/pcap/pcap.h:int    pcap_findalldevs(pcap_if_t **, char *);
root at sdrbox:/usr/src/XXX# dpkg -S /usr/include/pcap/pcap.h
libpcap0.8-dev: /usr/include/pcap/pcap.h

Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


 1296738626.0


More information about the Hpsdr mailing list