Rockbox Development > Starting Development and Compiling
Compile errors on new revision
mirai:
I recently updated my local svn, and unfortunately I have begun to receive compile errors that were not there in previous versions. The target is Sansa e200. Below is a log of the compile.
--- Code: ---CC filetypes.c
filetypes.c:87: error: 'LANG_FMR' undeclared here (not in a function)
filetypes.c:87: warning: missing initializer
filetypes.c:87: warning: (near initialization for 'inbuilt_filetypes[33].voicecl
ip')
make[1]: *** [/cygdrive/c/rockbox/trunk/build/apps/filetypes.o] Error 1
make: *** [build] Error 2
--- End code ---
I have attempted to remove the line:
--- Code: ---{ "fmr", FILE_ATTR_FMR, Icon_Preset, LANG_FMR },
--- End code ---
from filetypes.c, and upon compiling correctly, other files began to give errors, all relating to the LANG variables.
Is anyone else having this problem, and if so, would you happen to know how to solve it?
Thank you for your time and consideration.
(I'll continue to mess around to see if I'm able to fix it and will post updates if a solution is found. It may just be a dumb mistake I'm making though)
Llorean:
Are you using any patches? As can be seen from the build table, Rockbox on e200 is building fine.
mirai:
Nope, no patches... I'll try re-downloading /trunk again and see how it goes. Maybe my local copy is corrupt and but it's not being picked up as being modified for some reason. (Time to download the source on dialup -.- haha)
pixelma:
Did you try "make clean" and to configure again?
That is necessary from time to time after certain changes (and I believe the build servers do that always to be on the safe side).
Bagder:
Just to confirm: yes, the build servers always start clean and (re-)run configure.
Navigation
[0] Message Index
[#] Next page
Go to full version