[QtMoko] build error

Ricardo Martinez oscar2357 at gmail.com
Thu Jun 10 19:09:44 CEST 2010


Hi all,

I'm getting the following error when trying to build Qtmoko on Ubuntu-Lucid:

/home/ricardo/qtmoko/qtmoko/src/3rdparty/applications/omhacks/omhacks/battery.c:32:
error: ‘PATH_MAX’ undeclared here (not in a function)

make: *** [all] Error 1
ricardo at thnkpd-lnx:~/qtmoko/build$

Should I be doing something wrong?, the procedure I followed is:

sudo apt-get install g++
sudo apt-get install qt4-qmake libqt4-dev
sudo apt-get install dfu-util
cd /tmp/
wget http://qtextended.org/downloads/toolchains/arm920t-eabi.tgz
tar -xzf arm920t-eabi.tgz
sudo mv ./opt/toolchains /opt
rm -rf ./opt
cd ~
mkdir qtmoko
cd qtmoko/
clone git://github.com/radekp/qtmoko.git
cd qtmoko/
git submodule init
git submodule update
mkdir build
cd build/
../qtmoko/configure -device neo -D _FORTIFY_SOURCE=0 -rtti -confirm-license
make

Thanks,
Ricardo



More information about the community mailing list