Export to GitHub

android-lighthouse - issue #49

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


Posted on Nov 4, 2010 by Happy Elephant

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.

Comment #1

Posted on Nov 4, 2010 by Happy Elephant

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

Comment #2

Posted on Nov 10, 2010 by Swift Horse

Thanks, is good to know.

Status: Fixed

Labels:
Type-Defect Priority-Medium