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

Re: failing to compile qthid (from git sources) under debian stable and testing

Expand Messages
  • g0hww
    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,
    Message 1 of 2 , Jan 9, 2012
    View Source
    • 0 Attachment
      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
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.