Rockbox Development > Starting Development and Compiling
Compiler error in language.c
ew:
I am getting a an error compiling a simulator build. At the same spot, but a different error (an undefined error).
If somebody knows how to either save a print screen, or do a cut and paste from VMWare, I could share the error that I am getting.
funman:
If you run with
--- Code: ---make V=1
--- End code ---
the log should be more verbose
ew:
I figured out how to cut and paste.
The error I am getting is...
--- Quote ---.
.
.
GENLANG apps/lang/tagalog.lang
GENLANG apps/lang/turkce.lang
GENLANG apps/lang/ukrainian.lang
GENLANG apps/lang/wallisertitsch.lang
GENLANG apps/lang/walon.lang
GENLANG apps/lang/arabic.lang
GENLANG apps/lang/chinese-simp.lang
GENLANG apps/lang/chinese-trad.lang
GENLANG apps/lang/hindi.lang
GENLANG apps/lang/japanese.lang
GENLANG apps/lang/korean.lang
GENLANG apps/lang/thai.lang
GEN lang/max_language_size.h
CC apps/language.c
/home/user/rockbox/apps/language.c: In function `lang_load':
/home/user/rockbox/apps/language.c:77: error: `SEEK_CUR' undeclared (first use in this function)
/home/user/rockbox/apps/language.c:77: error: (Each undeclared identifier is reported only once
/home/user/rockbox/apps/language.c:77: error: for each function it appears in.)
/home/user/rockbox/apps/language.c:86: error: `SEEK_SET' undeclared (first use in this function)
make: *** [/home/user/rockbox/build-sim/apps/language.o] Error 1
user@debian:~/rockbox/build-sim$
--- End quote ---
Just to make sure, I deleted my rockbox source directory and re-downloaded the source (using " svn co svn://svn.rockbox.org/rockbox/trunk rockbox"). I still get the same error. I was able to compile a few weeks ago.
gbl08ma:
I compiled using "make V=1" to have more output, the console log is attached (including everything since the moment I did "svn update" through all the configuration process, and then make)
Perhaps this issue only applies to ipodnano2...?
Thanks for all the help so far :)
It's really boring to have a copy of the source of a so powerful application, and not be able to compile it... :(
nls:
I'd guess your shell is failing to expand the cat command, try pasting
--- Code: ---`cat /home/gabriel/rockbox/build/apps/genlang-features`
--- End code ---
into a terminal (including apostrophes).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version