Skip to content

Instantly share code, notes, and snippets.

@metaphys
Created November 22, 2011 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metaphys/1385926 to your computer and use it in GitHub Desktop.
Save metaphys/1385926 to your computer and use it in GitHub Desktop.
rbutil commpilation problem
jean-louis@debian:~/rockbox-devtree/rockbox/rbutil/rbutilqt$ make
/usr/bin/lrelease -silent /home/jean-louis/rockbox-devtree/rockbox/rbutil/rbutilqt/rbutilqt.pro
Project MESSAGE: Qt version used: 4.7.3
Project MESSAGE: Rockbox Base dir: /home/jean-louis/rockbox-devtree/rockbox/rbutil/rbutilqt /home/jean-louis/rockbox-devtree/rockbox
Project MESSAGE: release
Warning: dropping duplicate messages in '/home/jean-louis/rockbox-devtree/rockbox/rbutil/rbutilqt/lang/rbutil_ru.qm'
(try -verbose for more info).
gcc -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DNODEBUG -DRBUTIL -D_LARGEFILE64_SOURCE -DLIBUSB1 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Iirivertools -Iquazip -Izlib -Ibase -I../ipodpatcher -I../sansapatcher -I../../tools/rbspeex -I../../tools -Ibuild/moc -Ibuild/ui -o build/o/mkimxboot.o ../mkimxboot/mkimxboot.c
../mkimxboot/mkimxboot.c: In function ‘patch_std_zero_host_play’:
../mkimxboot/mkimxboot.c:183:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
../mkimxboot/mkimxboot.c:183:9: note: use option -std=c99 or -std=gnu99 to compile your code
../mkimxboot/mkimxboot.c:198:17: error: redefinition of ‘i’
../mkimxboot/mkimxboot.c:183:17: note: previous definition of ‘i’ was here
../mkimxboot/mkimxboot.c:198:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
../mkimxboot/mkimxboot.c: In function ‘imx_printf’:
../mkimxboot/mkimxboot.c:229:41: warning: unused parameter ‘error’ [-Wunused-parameter]
../mkimxboot/mkimxboot.c: In function ‘mkimxboot’:
../mkimxboot/mkimxboot.c:257:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
../mkimxboot/mkimxboot.c:257:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../mkimxboot/mkimxboot.c:264:17: error: redefinition of ‘i’
../mkimxboot/mkimxboot.c:257:17: note: previous definition of ‘i’ was here
../mkimxboot/mkimxboot.c:264:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
../mkimxboot/mkimxboot.c:264:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../mkimxboot/mkimxboot.c:305:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../mkimxboot/mkimxboot.c:313:13: error: ‘for’ loop initial declarations are only allowed in C99 mode
../mkimxboot/mkimxboot.c:375:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
../mkimxboot/mkimxboot.c:375:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [build/o/mkimxboot.o] Erreur 1
jean-louis@debian:~/rockbox-devtree/rockbox/rbutil/rbutilqt$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment