|
|
BLFS-GCC4安装kdebase-3.4.2时make出错,提示如下:
Making all in joystick
make[3]: Entering directory `/home/28/kdebase-3.4.2/kcontrol/joystick'
/usr/bin/moc ./joystick.h -o joystick.moc
/bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.-I. -I../.. -I/usr/include/qt -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o joystick.lo joystick.cpp
In file included from joydevice.h:26,
from joystick.cpp:29:
/usr/include/linux/joystick.h:142:2: error: #error Unexpected BITS_PER_LONG
/usr/include/linux/joystick.h:131: error: '__s64' does not name a type
/usr/include/linux/joystick.h:132: error: '__s64' does not name a type
make[3]: *** [joystick.lo] Error 1
make[3]: Leaving directory `/home/28/kdebase-3.4.2/kcontrol/joystick'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/28/kdebase-3.4.2/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/28/kdebase-3.4.2'
make: *** [all] Error 2
求助如何解决? |
|