Rockbox Technical Forums
Rockbox Development => Starting Development and Compiling => Topic started by: piomurava on November 21, 2010, 03:42:53 PM
-
??? Hello i've installed cygwin svn and every other thing from
http://www.rockbox.org/wiki/CygwinDevelopment
but now when i try to build i receive this error:
$ ../tools/configure
Using temporary directory /tmp
Enter target platform:
==Archos== ==iriver== ==Apple iPod==
0) Player/Studio 10) H120/H140 20) Color/Photo
1) Recorder 11) H320/H340 21) Nano 1G
2) FM Recorder 12) iHP-100/110/115 22) Video
3) Recorder v2 13) iFP-790 23) 3G
4) Ondio SP 14) H10 20Gb 24) 4G Grayscale
5) Ondio FM 15) H10 5/6Gb 25) Mini 1G
6) AV300 26) Mini 2G
==Toshiba== 27) 1G, 2G
==Cowon/iAudio== 40) Gigabeat F/X 28) Nano 2G
30) X5/X5V/X5L 41) Gigabeat S
31) M5/M5L ==SanDisk==
32) 7 ==Olympus= 50) Sansa e200
33) D2 70) M:Robe 500 51) Sansa e200R
34) M3/M3L 71) M:Robe 100 52) Sansa c200
53) Sansa m200
==Creative== ==Philips== 54) Sansa c100
90) Zen Vision:M 30GB 100) GoGear SA9200 55) Sansa Clip
91) Zen Vision:M 60GB 101) GoGear HDD1630/ 56) Sansa e200v2
92) Zen Vision HDD1830 57) Sansa m200v4
102) GoGear HDD6330 58) Sansa Fuze
==Onda== 59) Sansa c200v2
120) VX747 ==Meizu== 60) Sansa Clipv2
121) VX767 110) M6SL 61) Sansa View
122) VX747+ 111) M6SP 62) Sansa Clip+
123) VX777 112) M3 63) Sansa Fuze v2
==Logik==
==Samsung== ==Tatung== 80) DAX 1GB MP3/DAB
140) YH-820 150) Elio TPJ-1022
141) YH-920 ==Lyre project==
142) YH-925 ==Packard Bell== 130) Lyre proto 1
143) YP-S3 160) Vibe 500 131) Mini2440
==MPIO== == Application ==
170) HD200 200) Application
140
Platform set to samsungyh820
Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (C)heckWPS, (D)atabase to
ol, (M)anual: (Defaults to N)
b
Bootloader build selected
Using source code root directory: /rockbox
Using arm-elf-eabi-gcc 4.4.4 (404)
Using arm-elf-eabi-ld
Created Makefile
Pc@portatile /rockbox/buil
$ make
CC tools/rdf2binary
/rockbox/tools/rdf2binary.c:26:23: error: sys/types.h: No such file or directory
/rockbox/tools/rdf2binary.c:27:22: error: sys/stat.h: No such file or directory
/rockbox/tools/rdf2binary.c:28:19: error: fcntl.h: No such file or directory
/rockbox/tools/rdf2binary.c:29:20: error: string.h: No such file or directory
/rockbox/tools/rdf2binary.c:30:19: error: stdio.h: No such file or directory
/rockbox/tools/rdf2binary.c: In function 'main':
/rockbox/tools/rdf2binary.c:63: error: 'FILE' undeclared (first use in this func
tion)
/rockbox/tools/rdf2binary.c:63: error: (Each undeclared identifier is reported o
nly once
/rockbox/tools/rdf2binary.c:63: error: for each function it appears in.)
/rockbox/tools/rdf2binary.c:63: error: 'in' undeclared (first use in this functi
on)
/rockbox/tools/rdf2binary.c:63: error: 'idx_out' undeclared (first use in this f
unction)
/rockbox/tools/rdf2binary.c:63: warning: left-hand operand of comma expression h
as no effect
/rockbox/tools/rdf2binary.c:63: error: 'desc_out' undeclared (first use in this
function)
/rockbox/tools/rdf2binary.c:63: warning: left-hand operand of comma expression h
as no effect
/rockbox/tools/rdf2binary.c:64: warning: ISO C90 forbids mixed declarations and
code
/rockbox/tools/rdf2binary.c:68: warning: implicit declaration of function 'fopen
'
/rockbox/tools/rdf2binary.c:72: error: 'NULL' undeclared (first use in this func
tion)
/rockbox/tools/rdf2binary.c:74: warning: implicit declaration of function 'fprin
tf'
/rockbox/tools/rdf2binary.c:74: warning: incompatible implicit declaration of bu
ilt-in function 'fprintf'
/rockbox/tools/rdf2binary.c:74: error: 'stderr' undeclared (first use in this fu
nction)
/rockbox/tools/rdf2binary.c:78: warning: implicit declaration of function 'fgets
'
/rockbox/tools/rdf2binary.c:81: warning: implicit declaration of function 'strto
k'
/rockbox/tools/rdf2binary.c:81: warning: initialization makes pointer from integ
er without a cast
/rockbox/tools/rdf2binary.c:86: warning: incompatible implicit declaration of bu
ilt-in function 'fprintf'
/rockbox/tools/rdf2binary.c:93: warning: implicit declaration of function 'strnc
py'
/rockbox/tools/rdf2binary.c:93: warning: incompatible implicit declaration of bu
ilt-in function 'strncpy'
/rockbox/tools/rdf2binary.c:95: warning: implicit declaration of function 'fwrit
e'
/rockbox/tools/rdf2binary.c:95: warning: incompatible implicit declaration of bu
ilt-in function 'fwrite'
/rockbox/tools/rdf2binary.c:99: warning: implicit declaration of function 'strle
n'
/rockbox/tools/rdf2binary.c:99: warning: incompatible implicit declaration of bu
ilt-in function 'strlen'
make: *** [/rockbox/tools/rdf2binary] Error 1
what i'm doing wrong??
thank you!
-
It may not be possible to build that with cygwin.
That said, theres basically no reason you should ever compile a bootloader, so you probably mean to compile a normal build.
-
it's the same...also if ask normal i receive the same error... :-[
-
I cannot reproduce this. The r28641 Samsung YH-820 bootloader builds perfectly in Cygwin.
/rockbox/tools/rdf2binary.c:26:23: error: sys/types.h: No such file or directory
/rockbox/tools/rdf2binary.c:27:22: error: sys/stat.h: No such file or directory
/rockbox/tools/rdf2binary.c:28:19: error: fcntl.h: No such file or directory
/rockbox/tools/rdf2binary.c:29:20: error: string.h: No such file or directory
/rockbox/tools/rdf2binary.c:30:19: error: stdio.h: No such file or directory
Those are the actual problems. Some Cygwin header files can't be found. The rest of the errors are consequences of these header files not being found. It seems like there's something wrong with your Cygwin install.
-
mmm how can i check??? ???