Loading ...
Sorry, an error occurred while loading the content.

Re: [FCDevelopment] Digest Number 137

Expand Messages
  • Darren Long
    I should add, it s all 32-bit at my end Darren
    Message 1 of 4 , Jan 10, 2012
    • 0 Attachment
      I should add, it's all 32-bit at my end

      Darren

      On 10 Jan 2012, at 20:35, Darren Long <darren.long@...> wrote:

       

      Hi again.

      I've just built qthid 3.1 from git source on the netbook and it seems to be working ok for me. I've just done a quick functional check using baudline to show the spectrum and it seems to have tuned to the frequency ok.

      Just to confirm, this is built with Nokia's QT SDK  4.7.4 on Crunchbang Statler which is effectively Debian Squeeze. FCD FW is 18.09.

      Cheers

      Darren, G0HWW


      On 10 Jan 2012, at 16:19, alejo d <alejoduque@...> wrote:

       

      Hi Darren, many thanks for your reply,

      You are right, it all looks like it compiled OK but i get random segfaults when qthid is opened.
      I have tried to explain the issue to the developer of the software but i guess i've been just an annoyance.
      (no user, no cry! :D ) 

      a week ago i was told this:

      Reply
       Alex Csete 6 days ago

      Ok, now it makes more sense: It builds fine but crashes at runtime. Note that the "frequency hopping" code was indeed causing crash on linux so I removed it again from the latest code in the git repository.

      First and foremost, I would recommend you to try to build and execute the latest official release 3.1. If it builds and runs fine we would at least know that your installation is fine and it is indeed changes in the qthid code that cause crashes.

      In order to get debug information in qthid you can try the following:
      - Ensure that the selected target id "Debug" and not release (one of the buttons in the lower left corner)
      - Execute qthid within the qtcreator debugger (the run button in the lower left corner with the little bug on it)

      ---


      I've sent some debug info but got no answer yet and the git sources have not been updated yet, last one happened on:  csete authored January 01, 2012

      so I guess I will just have to wait and see if some other debian wheezy users hit the same wall.

      I had compiled many times the git sources under (X)(K)Bubuntu but after their latest version I had no other option than migrating to debian. Where i have compiled many other qt applications and even got wine from git so to use spectravue to control the FCD.

      I have to be quick on setting the freq before qthid segfaults, and this happens with the latest stable binary version also.

      So yes, in my experience qthid compiles under ubuntu but not under debian.. for sure is something related to versions.. i will try getting the sources from Nokia.

      Again many thanks for your help Darren.
      73



        




      On Tue, Jan 10, 2012 at 10:25 AM, <FCDevelopment@...> wrote:
      There are 2 messages in this issue.

      Topics in this digest:

      1.1. Re: failing to compile qthid (from git sources) under debian stable
         From: g0hww

      2.1. Re: Gqrx problem
         From: g0hww


      Messages
      ________________________________________________________________________
      1.1. Re: failing to compile qthid (from git sources) under debian stable
         Posted by: "g0hww" darren.long@... g0hww
         Date: Mon Jan 9, 2012 10:19 pm

      Hi,

      I've not actually compiled qthid on Debian Squeeze myself, but I have just compiled all of gnuradio and gqrx and that all built OK on Crunchbang Linux, which is a derivative of Debian Squeeze. To do this, I had to get the QT SDK installer direct from Nokia and installed QT 4.7 that way.

      Anyway, to the point.  Are you sure your build failed?  In the build output in your post I see a bunch of warnings, but no errors, and the last few lines:
      ---
      g++ -m64 -o qthid mainwindow.o main.o fcd.o freqctrl.o iqbalance.o fcddiagram.o firmware.o dockifgain.o hid-libusb.o moc_mainwindow.o moc_freqctrl.o moc_iqbalance.o moc_fcddiagram.o moc_firmware.o moc_dockifgain.o qrc_qthid.o -L/usr/lib -lusb-1.0 -lQtGui -lQtCore -lpthread

      make: Leaving directory `/home/alejo/sat-a-ware/funcube/qthid_git'

      Exited with code 0.
      ---

      show the object files being linked into the binary and make returning success.  I'd be tempted to think that it all worked.

      What makes you think otherwise?

      Cheers,

      Darren, G0HWW


      --- In FCDevelopment@..., "le_lectro" <alejoduque@...> wrote:
      >
      > hi all, im looking for some guidelines and help on getting to compile qthid under debian x86_64
      >
      > my current libqt4 version is: 4:4.7.3-5  (It failed to compile with versions 4.6 under aka sid).
      >
      > sudo aptitude show libqt4-dev
      > Package: libqt4-dev
      > State: installed
      > Automatically installed: no
      > Version: 4:4.7.3-5
      > Priority: optional
      > Section: libdevel
      > Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@...>
      > Uncompressed Size: 19.6 M
      > Depends: libqt4-dbus (= 4:4.7.3-5), libqt4-declarative (= 4:4.7.3-5), libqt4-designer (= 4:4.7.3-5), libqt4-help
      >          (= 4:4.7.3-5), libqt4-network (= 4:4.7.3-5), libqt4-qt3support (= 4:4.7.3-5), libqt4-script (=
      >          4:4.7.3-5), libqt4-scripttools (= 4:4.7.3-5), libqt4-sql (= 4:4.7.3-5), libqt4-svg (= 4:4.7.3-5),
      >          libqt4-test (= 4:4.7.3-5), libqt4-xml (= 4:4.7.3-5), libqt4-xmlpatterns (= 4:4.7.3-5), libqtcore4 (=
      >          4:4.7.3-5), libqtgui4 (= 4:4.7.3-5), qt4-linguist-tools (= 4:4.7.3-5), qt4-qmake (= 4:4.7.3-5), libc6
      >          (>= 2.3), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.1.4)
      > Recommends: libqt4-opengl-dev (= 4:4.7.3-5), libqtwebkit-dev (>= 2.0~)
      > Suggests: firebird2.1-dev, libmysqlclient-dev, libpq-dev, libsqlite0-dev, libsqlite3-dev, qt4-dev-tools,
      >           qt4-doc, unixodbc-dev
      > Breaks: libqt4-opengl-dev (< 4.4.0-2), libqtwebkit-dev (< 2.0~)
      > Replaces: libqt4-opengl-dev (< 4.4.0-2), libqtwebkit-dev (< 2.0~)
      > Description: Qt 4 development files
      >  Qt is a cross-platform C++ application framework. Qt's primary feature is its rich set of widgets that provide
      >  standard GUI functionality.
      >
      >  This package contains the header development files and development programs used for building Qt 4
      >  applications.
      > Homepage: http://qt.nokia.com/
      >
      > When i try to build all, under qtcreator i get this errors:
      >
      > mainwindow.cpp:568: warning: variable `fwVer' set but not used [-Wunused-but-set-variable]
      >
      > freqctrl.cpp:639: warning: variable `digchar' set but not used [-Wunused-but-set-variable]
      >
      > hid-libusb.c:337: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      >
      > hid-libusb.c:720: warning: variable `num_devs' set but not used [-Wunused-but-set-variable]
      >
      > hid-libusb.c:1088: warning: unused parameter `dev' [-Wunused-parameter]
      >
      >
      > here is the full log based on the most recent git sources taken from here https://github.com/csete/qthid:
      >
      > Running build steps for project qthid...
      > Starting: /usr/bin/qmake-qt4 /home/alejo/sat-a-ware/funcube/qthid_git/qthid.pro -spec linux-g++-64 -r CONFIG+=debug
      > Exited with code 0.
      > Starting: /usr/bin/make -w
      > make: Entering directory `/home/alejo/sat-a-ware/funcube/qthid_git'
      > /usr/bin/uic-qt4 iqbalance.ui -o ui_iqbalance.h
      > /usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
      > /usr/bin/uic-qt4 fcddiagram.ui -o ui_fcddiagram.h
      > /usr/bin/uic-qt4 firmware.ui -o ui_firmware.h
      > /usr/bin/uic-qt4 dockifgain.ui -o ui_dockifgain.h
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o mainwindow.o mainwindow.cpp
      > mainwindow.cpp: In member function `void MainWindow::enableControls()':
      > mainwindow.cpp:611:11: warning: variable `fwVer' set but not used [-Wunused-but-set-variable]
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o main.o main.cpp
      > gcc -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o fcd.o fcd.c
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o freqctrl.o freqctrl.cpp
      > freqctrl.cpp: In member function `void CFreqCtrl::DrawDigits(QPainter&)':
      > freqctrl.cpp:639:6: warning: variable `digchar' set but not used [-Wunused-but-set-variable]
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o iqbalance.o iqbalance.cc
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o fcddiagram.o fcddiagram.cpp
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o firmware.o firmware.cpp
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o dockifgain.o dockifgain.cpp
      > gcc -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o hid-libusb.o hid-libusb.c
      > hid-libusb.c: In function `get_usb_string':
      > hid-libusb.c:337:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      > hid-libusb.c: In function `hid_open_path':
      > hid-libusb.c:720:10: warning: variable `num_devs' set but not used [-Wunused-but-set-variable]
      > hid-libusb.c: In function `hid_error':
      > hid-libusb.c:1088:68: warning: unused parameter `dev' [-Wunused-parameter]
      > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. mainwindow.h -o moc_mainwindow.cpp
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp
      > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. freqctrl.h -o moc_freqctrl.cpp
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_freqctrl.o moc_freqctrl.cpp
      > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. iqbalance.h -o moc_iqbalance.cpp
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_iqbalance.o moc_iqbalance.cpp
      > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. fcddiagram.h -o moc_fcddiagram.cpp
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_fcddiagram.o moc_fcddiagram.cpp
      > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. firmware.h -o moc_firmware.cpp
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_firmware.o moc_firmware.cpp
      > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. dockifgain.h -o moc_dockifgain.cpp
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_dockifgain.o moc_dockifgain.cpp
      > /usr/bin/rcc -name qthid qthid.qrc -o qrc_qthid.cpp
      > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o qrc_qthid.o qrc_qthid.cpp
      > g++ -m64 -o qthid mainwindow.o main.o fcd.o freqctrl.o iqbalance.o fcddiagram.o firmware.o dockifgain.o hid-libusb.o moc_mainwindow.o moc_freqctrl.o moc_iqbalance.o moc_fcddiagram.o moc_firmware.o moc_dockifgain.o qrc_qthid.o -L/usr/lib -lusb-1.0 -lQtGui -lQtCore -lpthread
      > make: Leaving directory `/home/alejo/sat-a-ware/funcube/qthid_git'
      > Exited with code 0.
      >
      >
      > Is there anyone out there running this software under debian?
      >
      > TIA,
      > /a
      >







      Messages in this topic (2)
      ________________________________________________________________________
      ________________________________________________________________________
      2.1. Re: Gqrx problem
         Posted by: "g0hww" darren.long@... g0hww
         Date: Mon Jan 9, 2012 11:37 pm

      I've been having this issue persistently on an EEE-901 netbook running
      Crunchbang Linux Statler distro (a derivative of Debian Squeeze).

      The FCD seems to work  on the netbook OK with gnuradio-companion, but I
      get the stream of "aUaO" characters, the occasional "I/Q: nan/nan" and a
      pretty pink waterfall in gqrx. I can run gnuradio-companion immediately
      after failing with gqrx and its all good.

      Running "cat /proc/asound/cards" shows the FCD on hw:1 as expected.

      I've got it all working on a Ubuntu 10.04 machine including gqrx, so I'm
      familiar enough with  the process.  I've been building gqrx from git in
      QT-Creator.

      The netbook didn't formerly have pulseaudio installed.  I satisfied the
      build deps by installing it, but otherwise have done nothing special to
      configure pulse on the netbook.

      Can you offer any clues?  If you're making changes to gqrx to mitigate
      this issue, and need beta testers, I'd be happy to help.

      Cheers,

      Darren, G0HWW



      --- In FCDevelopment@..., Simon Kennedy <simon@...> wrote:
      >
      > Hi Alex,
      >
      > unfortunately it doesn't disappear after a reboot here, but the
      problem
      > with the FCD taking device 0 is annoying because it seems that other
      > programs, like Quisk, expect the output sound device to be on hw:0. It
      > seems like an entry in a file in /etc/modprobe.d can fix that but I
      > haven't looked into it enough to work out how.
      >
      > I look forward to your new audio backend.
      >
      > Simon.
      >
      > On 17/11/11 17:24, Alexandru Csete wrote:
      > >
      > > Hi Simon,
      > >
      > > Concerning the audio overrun (aOaO...) issue, I have seen it a few
      > > times on a laptop but it always disappears after reboot. I suspect
      it
      > > is a hardware and/or driver issue but I don't have sufficient info
      to
      > > find out more about it.
      > >
      > > I am working on a new audio backend for gqrx which will hopefully
      > > eliminate both the aO issue and the problem with changing device
      names.
      > >
      > > Alex
      > >
      > >
      >







      Messages in this topic (4)





      ------------------------------------------------------------------------
      Yahoo! Groups Links

      <*> To visit your group on the web, go to:
         http://uk.groups.yahoo.com/group/FCDevelopment/

      <*> Your email settings:
         Digest Email  | Traditional

      <*> To change settings online go to:
         http://uk.groups.yahoo.com/group/FCDevelopment/join
         (Yahoo! ID required)

      <*> To change settings via email:
         FCDevelopment-normal@...
         FCDevelopment-fullfeatured@...

      <*> To unsubscribe from this group, send an email to:
         FCDevelopment-unsubscribe@...

      <*> Your use of Yahoo! Groups is subject to:
         http://uk.docs.yahoo.com/info/terms.html

      ------------------------------------------------------------------------




      --
      http://trueque.labsurlab.co/
      https://n-1.cc/pg/profile/alejo

    • Alexandru Csete
      Thanks for the report Darren. Now, Alejo... I ve told you last time that I have rolled back some changes that were causing qthid to crash. So please, instead
      Message 2 of 4 , Jan 10, 2012
      • 0 Attachment
        Thanks for the report Darren.

        Now, Alejo... I've told you last time that I have rolled back some changes that were causing qthid to crash. So please, instead of speculating when the code was last updated, just go ahead and get the latest code from the repository. If you don't know how to do it with git, you can always get the latest code as a .zip or .tar.gz from github: https://github.com/csete/qthid/downloads
        You'll see that it will generate a file called csete-qthid-v3.1-26-g91cb1a85.tar.gz, meaning that it is 4 commits ahead of v3.1-22-g67ddac88 which you used to generate the crash report.

        Also please ensure that any binaries from the previous builds are removed, best is to remove the qthid-build-desktop directory before you load the updated qthid.pro in qtcreator.

        Alex


        On Tue, Jan 10, 2012 at 9:35 PM, Darren Long <darren.long@...> wrote:


        Hi again.

        I've just built qthid 3.1 from git source on the netbook and it seems to be working ok for me. I've just done a quick functional check using baudline to show the spectrum and it seems to have tuned to the frequency ok.

        Just to confirm, this is built with Nokia's QT SDK  4.7.4 on Crunchbang Statler which is effectively Debian Squeeze. FCD FW is 18.09.

        Cheers

        Darren, G0HWW


        On 10 Jan 2012, at 16:19, alejo d <alejoduque@...> wrote:

         

        Hi Darren, many thanks for your reply,

        You are right, it all looks like it compiled OK but i get random segfaults when qthid is opened.
        I have tried to explain the issue to the developer of the software but i guess i've been just an annoyance.
        (no user, no cry! :D ) 

        a week ago i was told this:

        Reply
         Alex Csete 6 days ago

        Ok, now it makes more sense: It builds fine but crashes at runtime. Note that the "frequency hopping" code was indeed causing crash on linux so I removed it again from the latest code in the git repository.

        First and foremost, I would recommend you to try to build and execute the latest official release 3.1. If it builds and runs fine we would at least know that your installation is fine and it is indeed changes in the qthid code that cause crashes.

        In order to get debug information in qthid you can try the following:
        - Ensure that the selected target id "Debug" and not release (one of the buttons in the lower left corner)
        - Execute qthid within the qtcreator debugger (the run button in the lower left corner with the little bug on it)

        ---


        I've sent some debug info but got no answer yet and the git sources have not been updated yet, last one happened on:  csete authored January 01, 2012

        so I guess I will just have to wait and see if some other debian wheezy users hit the same wall.

        I had compiled many times the git sources under (X)(K)Bubuntu but after their latest version I had no other option than migrating to debian. Where i have compiled many other qt applications and even got wine from git so to use spectravue to control the FCD.

        I have to be quick on setting the freq before qthid segfaults, and this happens with the latest stable binary version also.

        So yes, in my experience qthid compiles under ubuntu but not under debian.. for sure is something related to versions.. i will try getting the sources from Nokia.

        Again many thanks for your help Darren.
        73



          




        On Tue, Jan 10, 2012 at 10:25 AM, <FCDevelopment@...> wrote:
        There are 2 messages in this issue.

        Topics in this digest:

        1.1. Re: failing to compile qthid (from git sources) under debian stable
           From: g0hww

        2.1. Re: Gqrx problem
           From: g0hww


        Messages
        ________________________________________________________________________
        1.1. Re: failing to compile qthid (from git sources) under debian stable
           Posted by: "g0hww" darren.long@... g0hww
           Date: Mon Jan 9, 2012 10:19 pm

        Hi,

        I've not actually compiled qthid on Debian Squeeze myself, but I have just compiled all of gnuradio and gqrx and that all built OK on Crunchbang Linux, which is a derivative of Debian Squeeze. To do this, I had to get the QT SDK installer direct from Nokia and installed QT 4.7 that way.

        Anyway, to the point.  Are you sure your build failed?  In the build output in your post I see a bunch of warnings, but no errors, and the last few lines:
        ---
        g++ -m64 -o qthid mainwindow.o main.o fcd.o freqctrl.o iqbalance.o fcddiagram.o firmware.o dockifgain.o hid-libusb.o moc_mainwindow.o moc_freqctrl.o moc_iqbalance.o moc_fcddiagram.o moc_firmware.o moc_dockifgain.o qrc_qthid.o -L/usr/lib -lusb-1.0 -lQtGui -lQtCore -lpthread

        make: Leaving directory `/home/alejo/sat-a-ware/funcube/qthid_git'

        Exited with code 0.
        ---

        show the object files being linked into the binary and make returning success.  I'd be tempted to think that it all worked.

        What makes you think otherwise?

        Cheers,

        Darren, G0HWW


        --- In FCDevelopment@..., "le_lectro" <alejoduque@...> wrote:
        >
        > hi all, im looking for some guidelines and help on getting to compile qthid under debian x86_64
        >
        > my current libqt4 version is: 4:4.7.3-5  (It failed to compile with versions 4.6 under aka sid).
        >
        > sudo aptitude show libqt4-dev
        > Package: libqt4-dev
        > State: installed
        > Automatically installed: no
        > Version: 4:4.7.3-5
        > Priority: optional
        > Section: libdevel
        > Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@...>
        > Uncompressed Size: 19.6 M
        > Depends: libqt4-dbus (= 4:4.7.3-5), libqt4-declarative (= 4:4.7.3-5), libqt4-designer (= 4:4.7.3-5), libqt4-help
        >          (= 4:4.7.3-5), libqt4-network (= 4:4.7.3-5), libqt4-qt3support (= 4:4.7.3-5), libqt4-script (=
        >          4:4.7.3-5), libqt4-scripttools (= 4:4.7.3-5), libqt4-sql (= 4:4.7.3-5), libqt4-svg (= 4:4.7.3-5),
        >          libqt4-test (= 4:4.7.3-5), libqt4-xml (= 4:4.7.3-5), libqt4-xmlpatterns (= 4:4.7.3-5), libqtcore4 (=
        >          4:4.7.3-5), libqtgui4 (= 4:4.7.3-5), qt4-linguist-tools (= 4:4.7.3-5), qt4-qmake (= 4:4.7.3-5), libc6
        >          (>= 2.3), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.1.4)
        > Recommends: libqt4-opengl-dev (= 4:4.7.3-5), libqtwebkit-dev (>= 2.0~)
        > Suggests: firebird2.1-dev, libmysqlclient-dev, libpq-dev, libsqlite0-dev, libsqlite3-dev, qt4-dev-tools,
        >           qt4-doc, unixodbc-dev
        > Breaks: libqt4-opengl-dev (< 4.4.0-2), libqtwebkit-dev (< 2.0~)
        > Replaces: libqt4-opengl-dev (< 4.4.0-2), libqtwebkit-dev (< 2.0~)
        > Description: Qt 4 development files
        >  Qt is a cross-platform C++ application framework. Qt's primary feature is its rich set of widgets that provide
        >  standard GUI functionality.
        >
        >  This package contains the header development files and development programs used for building Qt 4
        >  applications.
        > Homepage: http://qt.nokia.com/
        >
        > When i try to build all, under qtcreator i get this errors:
        >
        > mainwindow.cpp:568: warning: variable `fwVer' set but not used [-Wunused-but-set-variable]
        >
        > freqctrl.cpp:639: warning: variable `digchar' set but not used [-Wunused-but-set-variable]
        >
        > hid-libusb.c:337: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        >
        > hid-libusb.c:720: warning: variable `num_devs' set but not used [-Wunused-but-set-variable]
        >
        > hid-libusb.c:1088: warning: unused parameter `dev' [-Wunused-parameter]
        >
        >
        > here is the full log based on the most recent git sources taken from here https://github.com/csete/qthid:
        >
        > Running build steps for project qthid...
        > Starting: /usr/bin/qmake-qt4 /home/alejo/sat-a-ware/funcube/qthid_git/qthid.pro -spec linux-g++-64 -r CONFIG+=debug
        > Exited with code 0.
        > Starting: /usr/bin/make -w
        > make: Entering directory `/home/alejo/sat-a-ware/funcube/qthid_git'
        > /usr/bin/uic-qt4 iqbalance.ui -o ui_iqbalance.h
        > /usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
        > /usr/bin/uic-qt4 fcddiagram.ui -o ui_fcddiagram.h
        > /usr/bin/uic-qt4 firmware.ui -o ui_firmware.h
        > /usr/bin/uic-qt4 dockifgain.ui -o ui_dockifgain.h
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o mainwindow.o mainwindow.cpp
        > mainwindow.cpp: In member function `void MainWindow::enableControls()':
        > mainwindow.cpp:611:11: warning: variable `fwVer' set but not used [-Wunused-but-set-variable]
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o main.o main.cpp
        > gcc -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o fcd.o fcd.c
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o freqctrl.o freqctrl.cpp
        > freqctrl.cpp: In member function `void CFreqCtrl::DrawDigits(QPainter&)':
        > freqctrl.cpp:639:6: warning: variable `digchar' set but not used [-Wunused-but-set-variable]
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o iqbalance.o iqbalance.cc
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o fcddiagram.o fcddiagram.cpp
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o firmware.o firmware.cpp
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o dockifgain.o dockifgain.cpp
        > gcc -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o hid-libusb.o hid-libusb.c
        > hid-libusb.c: In function `get_usb_string':
        > hid-libusb.c:337:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        > hid-libusb.c: In function `hid_open_path':
        > hid-libusb.c:720:10: warning: variable `num_devs' set but not used [-Wunused-but-set-variable]
        > hid-libusb.c: In function `hid_error':
        > hid-libusb.c:1088:68: warning: unused parameter `dev' [-Wunused-parameter]
        > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. mainwindow.h -o moc_mainwindow.cpp
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp
        > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. freqctrl.h -o moc_freqctrl.cpp
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_freqctrl.o moc_freqctrl.cpp
        > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. iqbalance.h -o moc_iqbalance.cpp
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_iqbalance.o moc_iqbalance.cpp
        > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. fcddiagram.h -o moc_fcddiagram.cpp
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_fcddiagram.o moc_fcddiagram.cpp
        > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. firmware.h -o moc_firmware.cpp
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_firmware.o moc_firmware.cpp
        > /usr/bin/moc-qt4 -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. dockifgain.h -o moc_dockifgain.cpp
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_dockifgain.o moc_dockifgain.cpp
        > /usr/bin/rcc -name qthid qthid.qrc -o qrc_qthid.cpp
        > g++ -c -m64 -pipe -g -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_WEBKIT -DVERSION="\"v3.1-26-g91cb1a85\"" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o qrc_qthid.o qrc_qthid.cpp
        > g++ -m64 -o qthid mainwindow.o main.o fcd.o freqctrl.o iqbalance.o fcddiagram.o firmware.o dockifgain.o hid-libusb.o moc_mainwindow.o moc_freqctrl.o moc_iqbalance.o moc_fcddiagram.o moc_firmware.o moc_dockifgain.o qrc_qthid.o -L/usr/lib -lusb-1.0 -lQtGui -lQtCore -lpthread
        > make: Leaving directory `/home/alejo/sat-a-ware/funcube/qthid_git'
        > Exited with code 0.
        >
        >
        > Is there anyone out there running this software under debian?
        >
        > TIA,
        > /a
        >







        Messages in this topic (2)
        ________________________________________________________________________
        ________________________________________________________________________
        2.1. Re: Gqrx problem
           Posted by: "g0hww" darren.long@... g0hww
           Date: Mon Jan 9, 2012 11:37 pm

        I've been having this issue persistently on an EEE-901 netbook running
        Crunchbang Linux Statler distro (a derivative of Debian Squeeze).

        The FCD seems to work  on the netbook OK with gnuradio-companion, but I
        get the stream of "aUaO" characters, the occasional "I/Q: nan/nan" and a
        pretty pink waterfall in gqrx. I can run gnuradio-companion immediately
        after failing with gqrx and its all good.

        Running "cat /proc/asound/cards" shows the FCD on hw:1 as expected.

        I've got it all working on a Ubuntu 10.04 machine including gqrx, so I'm
        familiar enough with  the process.  I've been building gqrx from git in
        QT-Creator.

        The netbook didn't formerly have pulseaudio installed.  I satisfied the
        build deps by installing it, but otherwise have done nothing special to
        configure pulse on the netbook.

        Can you offer any clues?  If you're making changes to gqrx to mitigate
        this issue, and need beta testers, I'd be happy to help.

        Cheers,

        Darren, G0HWW



        --- In FCDevelopment@..., Simon Kennedy <simon@...> wrote:
        >
        > Hi Alex,
        >
        > unfortunately it doesn't disappear after a reboot here, but the
        problem
        > with the FCD taking device 0 is annoying because it seems that other
        > programs, like Quisk, expect the output sound device to be on hw:0. It
        > seems like an entry in a file in /etc/modprobe.d can fix that but I
        > haven't looked into it enough to work out how.
        >
        > I look forward to your new audio backend.
        >
        > Simon.
        >
        > On 17/11/11 17:24, Alexandru Csete wrote:
        > >
        > > Hi Simon,
        > >
        > > Concerning the audio overrun (aOaO...) issue, I have seen it a few
        > > times on a laptop but it always disappears after reboot. I suspect
        it
        > > is a hardware and/or driver issue but I don't have sufficient info
        to
        > > find out more about it.
        > >
        > > I am working on a new audio backend for gqrx which will hopefully
        > > eliminate both the aO issue and the problem with changing device
        names.
        > >
        > > Alex
        > >
        > >
        >







        Messages in this topic (4)





        ------------------------------------------------------------------------
        Yahoo! Groups Links

        <*> To visit your group on the web, go to:
           http://uk.groups.yahoo.com/group/FCDevelopment/

        <*> Your email settings:
           Digest Email  | Traditional

        <*> To change settings online go to:
           http://uk.groups.yahoo.com/group/FCDevelopment/join
           (Yahoo! ID required)

        <*> To change settings via email:
           FCDevelopment-normal@...
           FCDevelopment-fullfeatured@...

        <*> To unsubscribe from this group, send an email to:
           FCDevelopment-unsubscribe@...

        <*> Your use of Yahoo! Groups is subject to:
           http://uk.docs.yahoo.com/info/terms.html

        ------------------------------------------------------------------------




        --
        http://trueque.labsurlab.co/
        https://n-1.cc/pg/profile/alejo




      Your message has been successfully submitted and will be delivered to recipients shortly.