这是第一个编译错误, 看起来是因为找不到asm/errno.h导致的。在Ubuntu上,这个文件通常是包含在linux-libc-dev这个package里,可以通过"sudo apt-get install linux-libc-dev"安装。
make[1]: 正在进入目录 `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src/moc'
g++ -c -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/include -Wno-unused -Wno-parentheses -pipe -O2 -Wall -W -DNO_DEBUG -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_BUILDING_MOC -I../../include -I../tools -I. -o mocgen.o mocgen.cpp
In file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from ../tools/qfiledefs_p.h:68,
from moc.y:67:
/usr/include/linux/errno.h:4:23: asm/errno.h: 没有那个文件或目录
y.tab.c: In function `int yyparse()':
y.tab.c:3175: warning: label `yyerrlab' defined but not used
mocgen.cpp: At global scope:
mocgen.cpp:4: warning: 'yyrcsid' defined but not used
make[1]: *** [mocgen.o] 错误 1
make[1]:正在离开目录 `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src/moc'