hushanxue / android-lighthouse

Automatically exported from code.google.com/p/android-lighthouse
0 stars 0 forks source link

moc_qabstractanimation.cpp: Syntax error: word unexpected (expecting ")") #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm having problems compiling android-lighthouse.

==
/home/max/android-lighthouse/bin/moc -DQT_SHARED -DQT_NO_CORESERVICES 
-DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII 
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS 
-DQT_USE_FAST_CONCATENATION -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG 
-I../../mkspecs/android-g++ -I. -I../../include -I../../include/QtCore 
-I.rcc/release-shared -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src 
-I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared 
-I/home/max/qadk-r4/build/platforms/android-8/arch-arm/usr/include 
-I/home/max/qadk-r4/build/platforms/android-8/arch-arm/usr/include/core 
animation/qabstractanimation.h -o .moc/release-shared/moc_qabstractanimation.cpp
/home/max/android-lighthouse/bin/moc: 1: Syntax error: word unexpected 
(expecting ")")
make[1]: *** [.moc/release-shared/moc_qabstractanimation.cpp] Error 2
make[1]: Leaving directory `/home/max/android-lighthouse/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
==

System is Ubuntu 10.10 64-bit.
ia32-libs package has been installed, other 32-bit dependencies fetched with 
getlibs.

Original issue reported on code.google.com by maxnet...@gmail.com on 4 Nov 2010 at 5:41

GoogleCodeExporter commented 9 years ago
Problem seems to be related to "dash", which is the default shell in Ubunutu.
Error went away after doing "ln -sf bash /bin/sh"

Original comment by maxnet...@gmail.com on 4 Nov 2010 at 10:43

GoogleCodeExporter commented 9 years ago
Thanks, is good to know.

Original comment by taipanro...@gmail.com on 10 Nov 2010 at 3:31