What steps will reproduce the problem?
1.Download maemo SDK from maemo.org
2.Download sunpinyin source
3.build with dpkg-build
What is the expected output? What do you see instead?
g++ -o src/portability.o -c -O2 -pipe -DHAVE_CONFIG_H
-DSUNPINYIN_DATA_DIR='"/usr/lib/sunpinyin/data"' -I. -Isrc -Isrc/lexicon
-Isrc/pinyin -Isrc/config -Isrc/ime-core -Isrc/slm -Isrc/slm/slminfo
-Isrc/slm/mmseg -Isrc/slm/slmprune -Isrc/slm/tools -Isrc/slm/getWordFreq
-Isrc/slm/slmseg -Isrc/slm/tslmendian -Isrc/slm/slmbuild -Isrc/slm/ids2ngram
-Isrc/slm/thread -Isrc/slm/tslmpack -Isrc/slm/tslminfo src/portability.cpp
In file included from src/portability.cpp:39:
./config.h:93:3: error: #error can not detect the endianness!
scons: *** [src/portability.o] Error 1
scons: building terminated because of errors.
make: *** [debian/stamp-scons-build] Error 2
What version of the product are you using? On what operating system?
sunpinyin 2.0.2,fedora 14
Original issue reported on code.google.com by snnn119 on 3 Nov 2010 at 5:44
Original issue reported on code.google.com by
snnn119
on 3 Nov 2010 at 5:44