Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

makepkg on qt-demos -- plugandpaint

By: Alir3z4 on Nov 26th, 2011  |  syntax: Bash  |  size: 3.30 KB  |  views: 65  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. cd plugandpaint/ && /usr/bin/qmake /home/alireza/dev/sources/qt-demos/src/qt-everywhere-opensource-src-4.7.4/examples/tools/plugandpaint/plugandpaint.pro -o Makefile
  2. cd plugandpaint/ && make -f Makefile
  3. make[2]: Entering directory `/home/alireza/dev/sources/qt-demos/src/qt-everywhere-opensource-src-4.7.4/examples/tools/plugandpaint'
  4. g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o main.o main.cpp
  5. g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o mainwindow.o mainwindow.cpp
  6. g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o paintarea.o paintarea.cpp
  7. g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o plugindialog.o plugindialog.cpp
  8. /usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. mainwindow.h -o moc_mainwindow.cpp
  9. g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o moc_mainwindow.o moc_mainwindow.cpp
  10. /usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. paintarea.h -o moc_paintarea.cpp
  11. g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o moc_paintarea.o moc_paintarea.cpp
  12. /usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. plugindialog.h -o moc_plugindialog.cpp
  13. g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -o moc_plugindialog.o moc_plugindialog.cpp
  14. g++ -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -Wl,-O1 -o plugandpaint main.o mainwindow.o paintarea.o plugindialog.o moc_mainwindow.o moc_paintarea.o moc_plugindialog.o    -L/usr/lib -L/examples/tools/plugandpaint/plugins -lpnp_basictools -lQtGui -lQtCore -lpthread
  15. /usr/bin/ld: cannot find -lpnp_basictools
  16. collect2: ld returned 1 exit status
  17. make[2]: *** [plugandpaint] Error 1
  18. make[2]: Leaving directory `/home/alireza/dev/sources/qt-demos/src/qt-everywhere-opensource-src-4.7.4/examples/tools/plugandpaint'
  19. make[1]: *** [sub-plugandpaint-make_default-ordered] Error 2
  20. make[1]: Leaving directory `/home/alireza/dev/sources/qt-demos/src/qt-everywhere-opensource-src-4.7.4/examples/tools'
  21. make: *** [sub-tools-make_default] Error 2
  22. ==> ERROR: A failure occurred in build().
  23.    Aborting...
  24. [alireza@ArchLinux qt-demos]$
  25.  
  26.