Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. cd src/ && make -f Makefile
  2. make[1]: Entering directory `/home/saman/5.0.1/serialPortSrc/qtserialport/src'
  3. cd serialport/ && make -f Makefile
  4. make[2]: Entering directory `/home/saman/5.0.1/serialPortSrc/qtserialport/src/serialport'
  5. make[2]: Nothing to be done for `first'.
  6. make[2]: Leaving directory `/home/saman/5.0.1/serialPortSrc/qtserialport/src/serialport'
  7. make[1]: Leaving directory `/home/saman/5.0.1/serialPortSrc/qtserialport/src'
  8. cd examples/ && make -f Makefile
  9. make[1]: Entering directory `/home/saman/5.0.1/serialPortSrc/qtserialport/examples'
  10. cd cenumerator/ && make -f Makefile
  11. make[2]: Entering directory `/home/saman/5.0.1/serialPortSrc/qtserialport/examples/cenumerator'
  12. g++ -Wl,-O1 -o cenumerator main.o -L/usr/lib/i386-linux-gnu -lQtGui -lQtCore -lpthread
  13. main.o: In function `QList<QSerialPortInfo>::free(QListData::Data*) [clone .isra.1]':
  14. main.cpp:(.text+0x47): undefined reference to `QSerialPortInfo::~QSerialPortInfo()'
  15. main.o: In function `QList<QSerialPortInfo>::detach_helper(int)':
  16. main.cpp:(.text._ZN5QListI15QSerialPortInfoE13detach_helperEi[QList<QSerialPortInfo>::detach_helper(int)]+0x68): undefined reference to `QSerialPortInfo::QSerialPortInfo(QSerialPortInfo const&)'
  17. main.cpp:(.text._ZN5QListI15QSerialPortInfoE13detach_helperEi[QList<QSerialPortInfo>::detach_helper(int)]+0xc3): undefined reference to `QSerialPortInfo::~QSerialPortInfo()'
  18. main.o: In function `main':
  19. main.cpp:(.text.startup+0x5e): undefined reference to `QSerialPortInfo::availablePorts()'
  20. main.cpp:(.text.startup+0x10f): undefined reference to `QSerialPortInfo::isBusy() const'
  21. main.cpp:(.text.startup+0x16b): undefined reference to `QSerialPortInfo::hasProductIdentifier() const'
  22. main.cpp:(.text.startup+0x1bb): undefined reference to `QSerialPortInfo::hasVendorIdentifier() const'
  23. main.cpp:(.text.startup+0x212): undefined reference to `QSerialPortInfo::manufacturer() const'
  24. main.cpp:(.text.startup+0x24a): undefined reference to `QSerialPortInfo::description() const'
  25. main.cpp:(.text.startup+0x282): undefined reference to `QSerialPortInfo::systemLocation() const'
  26. main.cpp:(.text.startup+0x2ba): undefined reference to `QSerialPortInfo::portName() const'
  27. main.cpp:(.text.startup+0x644): undefined reference to `QSerialPortInfo::productIdentifier() const'
  28. main.cpp:(.text.startup+0x674): undefined reference to `QSerialPortInfo::vendorIdentifier() const'
  29. collect2: ld returned 1 exit status
  30. make[2]: *** [cenumerator] Error 1
  31. make[2]: Leaving directory `/home/saman/5.0.1/serialPortSrc/qtserialport/examples/cenumerator'
  32. make[1]: *** [sub-cenumerator-make_default-ordered] Error 2
  33. make[1]: Leaving directory `/home/saman/5.0.1/serialPortSrc/qtserialport/examples'
  34. make: *** [sub-examples-make_default-ordered] Error 2
  35.  
  36. ~/Qt5x.x.x/5.x.x/gcc_64/bin/qmake ~/yourqtprojectfolder/pilotnavigator/qtplayground-qtserialport/qtserialport.pro
  37. make
  38.  
  39. sudo make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement