After I finished program in Ubuntu, I want to compile the program for gunstix.
In the beginning, I copied the qwt-5.2.1 folder to my build machine (fc13). When I do
$ make distcleamcd src/ && make -f Makefile distclean
make: Entering directory `/build/czhang/qt-everywhere-opensource-src-4.7.0/projects/qwt-5.2.1/src'
make: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
make: Leaving directory `/build/czhang/qt-everywhere-opensource-src-4.7.0/projects/qwt-5.2.1/src'
make: *** [sub-src-distclean-ordered] Error 2
I tried many time. It looks like the "distcleam" command is not working very well. The qwt-5.2.1 folder is copied from Ubuntu machine. That means it has already been build for i386 system. The "distcleam" command supposes to clean all make files, and return to original file.
The easiest way to fix is download qwt source file to FC13, copy folder to:
$ qmake qwt.pro
rm -f libqwt_designer_plugin.so
/build/czhang/overo-oe/tmp/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lQtDesigner
collect2: ld returned 1 exit status
make: *** [plugins/designer/libqwt_designer_plugin.so] Error 1
make: Leaving directory `/build/czhang/qt-everywhere-opensource-src-4.7.0/projects/qwt-5.2.1/designer'
make: *** [sub-designer-make_default-ordered] Error 2
It tried to install qwt plugin for qt-designer.
We can disable it by comment out make option in 'qwtconfig.pri'
Do not need "make install". This command install qwt library to current machine. I am not going to run the program in my FC13.
Next, compile m4.pro and copy m4 and qwt library to gumstix.
$ rsync -av email@example.com:///build/czhang/qt-everywhere-opensour