Rockbox Development > Starting Development and Compiling
New compilation errors
Job Van Dam:
I'm having troubles again...
--- Code: ---CC powermgmt.c
In file included from powermgmt.c:45:
export/font.h:30:21: error: sysfont.h: No such file or directory
make[1]: *** [/home/griz/rockbox-devel/build/firmware/powermgmt.o] Error 1
make: *** [build] Error 2
--- End code ---
font.c is in the firmware folder. font.h is in firmware/export folder.
I can compile the simulator fine for some weird reason. I've reinstalled Cygwin and even tried fresh, new, unpatched source.
If I manually add the sysfont.h to the Build folder it eventually craps out again with another file.
I've tried what saratoga and robin suggested.
Anyone else got any suggestions? I just wanna update cause for the Gigabeat every Saturday the time gets wiped and it's recently been fixed.
Bagder:
sysfont.h is generated by the convbdf tool that is built in the tools/ dir, so if you don't get a sysfont.h in your build dir something very basic failed!
Job Van Dam:
This whole thing is really frustrating.
Awhile back it didn't work (above posts) so I just re-installed everything and it worked. Now I run into this. For the longest time I had zero problems then all of a sudden one day it doesn't work because "something basic failed".
Was something recently changed with Cygwin, compilation, SVN or something that I possibly missed? I mean anything, I'll try anything at this point.
pondlife:
Hmm, you shouldn't need to do anything more than:
- cd (whatever you called it)
- svn up
- cd (whatever you called it)
- ../tools/configure (select your build)
- make clean
- make
Sounds like your svn up might have failed in some way.
pondlife
Job Van Dam:
What does 'svn up' do? I looked it up and it updates but what does it update? I've never used it before in the past.
I update my source manually by downloading the lastest Source Archive from build.rockbox.org then overwriting the older source.
I found the (N) at the end of the last line weird, is it normal?
--- Code: ---Platform set to gigabeatf
Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (M)anual (N)
n
--- End code ---
I follow these steps to compile my own build everytime:
--- Code: ---export PATH=/opt/sh/bin:/opt/m68k/bin:/opt/arm/bin:/bin:$PATH
cd d:/cygwin/home/griz/rockbox-devel/
patch --binary -p0 < progressbar_slider.patch
patch --binary -p1 < hold-poweroff.diff
patch --binary -p1 < more-hold-poweroff.diff
cd build [for actual Gigabeat] OR cd sim [for UI Simulator]
../tools/configure, 40, n [for actual Gigabeat] OR s [for UI Simulator]
make
make zip [for actual Gigabeat] OR make install [for UI Simulator]
(check folder for zip file)
| make clean | -- when in build or sim folder will clear it out
--- End code ---
EDIT: As I was typing this reply out I was trying different things. I tried properly uninstalling Cygwin, and then compiling again with the latest source. It worked.
Before I was using the source from Nov 11 because that's the last point which a patch I require worked. I just didn't think the source had much to do with compiling. Thanks for the help guys. I'm just gonna hold out until the patch I need gets synced.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version