Problems with installing the utilities with qmake & make

Issue #28 new
Thomas created an issue

Hello,

I wanted to install module & utility today on my laptop (P65xHP with Linux Mint 18.2). I pulled it via git, then tried to install as the readme stated. Module installed without problems. But when I got to "make" the utility I ran into an error I didn't understand. I first thought that there is a c++ library missing, but I can't find a library named "QFile". I got no clue anymore what could be wrong, so some help would be nice.

#!
~/clevo-xsm-wmi/utility $ qmake
~/clevo-xsm-wmi/utility $ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -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
In file included from main.cpp:20:0:
mainwindow.h:26:17: fatal error: QFile: Datei oder Verzeichnis nicht gefunden
compilation terminated.
Makefile:212: die Regel für Ziel „main.o“ scheiterte
make: *** [main.o] Fehler 1

my uname -a: Linux happycamper-P65xHP 4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Regards, Thomas

Comments (2)

  1. Thomas reporter

    Hi Chris,

    Thank you for the info, the python UI works fine for me. But I have a new issue now. Apparently the module was not installed correctly as the UI stated it was not loaded. I then tried to "make && sudo make install" the module from the testing branch, but it failed with an error:

    make -C /lib/modules/4.8.0-53-generic/build M=/home/happycamper/clevo-xsm-wmi/module modules_install
    make[1]: Verzeichnis „/usr/src/linux-headers-4.8.0-53-generic“ wird betreten
      INSTALL /home/happycamper/clevo-xsm-wmi/module/clevo-xsm-wmi.ko
    At main.c:158:
    - SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
    - SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
    sign-file: certs/signing_key.pem: No such file or directory
      DEPMOD  4.8.0-53-generic
    make[1]: Verzeichnis „/usr/src/linux-headers-4.8.0-53-generic“ wird verlassen
    

    I couldn't find out why this happens, so I tried a solution from a different thread (https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi/issues/8/ubuntu-1604-when-sudo-make-install-to). Now the UI says the kernel module loads upon boot, but when I change settings nothing happens and when I unload then load the module it throws out an error:

    insmod: ERROR: could not load module clevo_xsm_wmi: No such file or directory
    

    Do you have some help for me for this problem too?

    Regards, Thomas

    edit: Should I close this issue and open another?

  2. Log in to comment