Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: joetermini on October 26, 2006, 03:00:22 PM

Title: Problems When Compliling
Post by: joetermini on October 26, 2006, 03:00:22 PM
Hey, I finally got the patches to work, and when finally compiling, i get all the way up to the "make" command. I enter it, and after a few lines, it tells me:

make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-devel/build/
firmware/dep-firmware' has modification time 0.16 s in the future

and a little later:

Clock skew detected. Your build may be incomplete

and a few others of that nature.

At the very end, I get

make: *** [all] Error 2


What am I doing wrong and how can I fix it?
Title: Re: Problems When Compliling
Post by: Rincewind on October 27, 2006, 02:25:41 PM
are you running vmware?
if yes, wait a few minutes between copying the files from windows and typing make.
Title: Re: Problems When Compliling
Post by: ryran on October 27, 2006, 04:28:47 PM
Nopers, he's not.
(I have nothing to offer Joe..sorry.)
Title: Re: Problems When Compliling
Post by: bluebrother on October 27, 2006, 06:07:57 PM
That clock skew is a warning. I haven't seen (and can't think of any reason) why compiling should break due to a clock skew so I assume the reason why your build breaks is something else. Additionally you could try to "touch" all files before compiling as a workaround.
Title: Re: Problems When Compliling
Post by: Rincewind on October 27, 2006, 09:54:01 PM
Nopers, he's not.

ok, I could have guessed it from his post...
Title: Re: Problems When Compliling
Post by: LinusN on October 28, 2006, 05:18:31 AM
To build everything from scratch:

$ make clean

Also, the very last line is useless for us to determine what the problem is. We need the entire output from make.
Title: Re: Problems When Compliling
Post by: joetermini on November 09, 2006, 05:12:09 PM
CC rockpaint.8x8x24.c
BMP2RB rockpaint_hsvrgb.8x10x24.bmp
CC rockpaint_hsvrgb.8x10x24.c
BMP2RB minesweeper_tiles.16x16x24.bmp
CC minesweeper_tiles.16x16x24.c
AR+RANLIB libpluginbitmapsnative.a
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/dep-plugins' has modification time 0.82 s in the future
MAKE in plugins/bitmaps/mono
make[3]: Nothing to be done for `all'.
MAKE in plugins/bitmaps/native
make[3]: Nothing to be done for `all'.
CC battery_bench.c
LD battery_bench.rock
CC chessclock.c
LD chessclock.rock
create credits.raw
CC credits.c
LD credits.rock
CC cube.c
LD cube.rock
CC dict.c
LD dict.rock
CC firmware_flash.c
LD firmware_flash.rock
CC logo.c
LD logo.rock
CC mosaique.c
LD mosaique.rock
CC random_folder_advance_config.c
LD random_folder_advance_config.rock
CC rockblox.c
LD rockblox.rock
CC rockbox_flash.c
LD rockbox_flash.rock
CC search.c
LD search.rock
CC snow.c
LD snow.rock
CC sort.c
LD sort.rock
CC stats.c
LD stats.rock
CC stopwatch.c
LD stopwatch.rock
CC vbrfix.c
LD vbrfix.rock
CC viewer.c
LD viewer.rock
CC dice.c
LD dice.rock
CC flipit.c
LD flipit.rock
CC disktidy.c
LD disktidy.rock
CC text_editor.c
LD text_editor.rock
CC fire.c
LD fire.rock
CC jpeg.c
LD jpeg.rock
CC mandelbrot.c
LD mandelbrot.rock
CC plasma.c
LD plasma.rock
CC bounce.c
LD bounce.rock
CC bubbles.c
LD bubbles.rock
CC brickmania.c
LD brickmania.rock
CC calculator.c
LD calculator.rock
CC chip8.c
LD chip8.rock
CC demystify.c
LD demystify.rock
CC jewels.c
LD jewels.rock
CC minesweeper.c
LD minesweeper.rock
CC oscilloscope.c
LD oscilloscope.rock
CC pong.c
LD pong.rock
CC sliding_puzzle.c
LD sliding_puzzle.rock
CC snake.c
LD snake.rock
CC snake2.c
LD snake2.rock
CC solitaire.c
LD solitaire.rock
CC sokoban.c
LD sokoban.rock
CC star.c
LD star.rock
CC starfield.c
LD starfield.rock
CC vu_meter.c
LD vu_meter.rock
CC wormlet.c
LD wormlet.rock
CC clock.c
LD clock.rock
CC xobox.c
LD xobox.rock
CC spacerocks.c
LD spacerocks.rock
CC rockpaint.c
LD rockpaint.rock
CC mp3_encoder.c
LD mp3_encoder.rock
CC midiplay.c
LD midiplay.rock
CC wav2wv.c
LD wav2wv.rock
MAKE in databox
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/databox/dep-databox' has modification time 1.3 s in the futu
CC databox.c
CC editparser.c
CC edittoken.c
LD databox.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in rockboy
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/rockboy/dep-rockboy' has modification time 0.69 s in the fut
CC cpu.c
CC emu.c
CC events.c
CC exports.c
CC fastmem.c
CC hw.c
CC lcd.c
CC lcdc.c
CC loader.c
CC main.c
CC mem.c
CC rbsound.c
CC rccmds.c
CC rcvars.c
CC rtc.c
CC save.c
CC sound.c
CC split.c
CC sys_rockbox.c
CC rockboy.c
CC menu.c
LD rockboy.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in chessbox
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/chessbox/dep-chessbox' has modification time 0.49 s in the f
CC chessbox.c
CC gnuchess.c
CC opening.c
LD chessbox.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in sudoku
CC sudoku.c
CC generator.c
CC templates.c
LD sudoku.rock
MAKE in zxbox
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/zxbox/dep-zxbox' has modification time 1.5 s in the future
CC compr.c
CC helpers.c
CC interf.c
CC keynames.c
CC loadim.c
CC misc.c
CC rom_imag.c
CC snapshot.c
CC spconf.c
CC spect.c
CC spkey.c
CC spmain.c
CC spperif.c
CC spscr.c
CC spsound.c
CC sptape.c
CC sptiming.c
CC tapefile.c
CC z80.c
CC z80_op1.c
CC z80_op2.c
CC z80_op3.c
CC z80_op4.c
CC z80_op5.c
CC z80_op6.c
CC z80_step.c
CC z80optab.c
CC zxbox.c
CC zxbox_keyb.c
CC zxvid_16bpp.c
CC zxvid_4bpp.c
CC zxvid_grey.c
LD zxbox.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in pacbox
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/pacbox/dep-pacbox' has modification time 0.71 s in the futur
CC arcade.c
CC pacbox.c
CC hardware.c
CC z80.c
CC pacbox_lcd.c
LD pacbox.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in doom
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/doom/dep-doom' has modification time 0.32 s in the future
CC info.c
CC doomdef.c
CC doomstat.c
CC dstrings.c
CC tables.c
CC f_finale.c
CC f_wipe.c
CC d_net.c
CC d_items.c
CC g_game.c
CC m_menu.c
CC m_argv.c
CC m_cheat.c
CC m_random.c
CC am_map.c
CC p_ceilng.c
CC p_doors.c
CC p_genlin.c
CC p_enemy.c
CC p_floor.c
CC p_inter.c
CC p_lights.c
CC p_map.c
CC p_maputl.c
CC p_plats.c
CC p_pspr.c
CC p_setup.c
CC p_sight.c
CC p_spec.c
CC p_switch.c
CC p_mobj.c
CC p_telept.c
CC p_tick.c
CC p_saveg.c
CC p_user.c
CC r_bsp.c
CC r_data.c
CC r_draw.c
CC r_main.c
CC r_plane.c
CC r_segs.c
CC r_sky.c
CC r_things.c
CC wi_stuff.c
CC v_video.c
CC st_lib.c
CC st_stuff.c
CC hu_stuff.c
CC hu_lib.c
CC s_sound.c
CC z_zone.c
CC z_bmalloc.c
CC sounds.c
CC d_main.c
CC m_misc.c
CC m_bbox.c
CC i_system.c
CC i_sound.c
CC i_video.c
CC w_wad.c
CC rockdoom.c
LD doom.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in mpegplayer
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/mpegplayer/dep-mpegplayer' has modification time 1.4 s in th
CC alloc.c
CC cpu_accel.c
CC cpu_state.c
CC decode.c
CC header.c
CC idct.c
CC motion_comp.c
CC slice.c
CC video_out_rockbox.c
CC mpeg_settings.c
CC mpegplayer.c
LD mpegplayer.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: warning:  Clock skew detected.  Your build may be incomplete.


====Sorry guys that i took so long with this===
Title: Re: Problems When Compliling
Post by: joetermini on November 10, 2006, 11:33:14 AM
sorry guys, that wasn't the whole thing. Here it is:

make[1]: `scramble' is up to date.
make[1]: `ipod_fw' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
m/dep-sim' has modification time 0.23 s in the future
CC button.c
CC kernel.c
CC lcd-bitmap.c
CC lcd-sdl.c
CC sound.c
CC thread-sdl.c
CC uisdl.c
UI
AR+RANLIB libsim.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
msim/dep-commonsim' has modification time 0.94 s in the future
CC fmradio.c
CC io.c
CC lcd-common.c
CC mpegplay.c
CC sim_icons.c
CC stubs.c
AR+RANLIB libcomsim.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
rmware/dep-firmware' has modification time 1.7 s in the future
CC ata_idle_notify.c
CC backlight.c
CC buffer.c
CC id3.c
CC powermgmt.c
CC system.c
CC usb.c
CC panic.c
CC debug.c
CC common/atoi.c
CC common/crc32.c
CC common/ctype.c
CC common/dircache.c
CC common/disk.c
CC common/errno.c
CC common/memcmp.c
CC common/memchr.c
CC common/qsort.c
CC common/random.c
CC common/sprintf.c
CC common/strcasecmp.c
CC common/strcasestr.c
CC common/strcat.c
CC common/strchr.c
CC common/strcmp.c
CC common/strcpy.c
CC common/strncmp.c
CC common/strncpy.c
CC common/strrchr.c
CC common/strtok.c
CC common/timefuncs.c
CC common/unicode.c
CC arabjoin.c
CC bidi.c
CC font_cache.c
CC font.c
CC hangul.c
CC lru.c
CC drivers/lcd-16bit.c
CC drivers/led.c
CC mp3_playback.c
CC mp3data.c
CC sound.c
CC general.c
CC pcm_sampr.c
CC replaygain.c
CC common/memcpy.c
CC common/memmove.c
CC common/memset.c
CC common/memset16.c
CC common/strlen.c
CONVBDF
CC sysfont.c
Header parsed
AR+RANLIB librockbox.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in bitmaps/mono
AR+RANLIB libbitmapsmono.a
MAKE in bitmaps/native
make[2]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/bitmaps/native/dep-bitmaps-native' has modification time 1.8 s in th
BMP2RB rockboxlogo.320x98x16.bmp
CC rockboxlogo.320x98x16.c
BMP2RB usblogo.100x32x1.bmp
CC usblogo.100x32x1.c
AR+RANLIB libbitmapsnative.a
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/dep-apps' has modification time 1.4 s in the future
MAKE in bitmaps/mono
make[2]: Nothing to be done for `all'.
MAKE in bitmaps/native
make[2]: Nothing to be done for `all'.
GENLANG
CC lang.c
CC action.c
CC alarm_menu.c
CC abrepeat.c
CC bookmark.c
CC debug_menu.c
CC filetypes.c
CC language.c
CC main.c
CC main_menu.c
CC menu.c
CC misc.c
CC onplay.c
CC playlist.c
CC playlist_catalog.c
CC playlist_menu.c
CC playlist_viewer.c
CC plugin.c
CC screens.c
CC settings.c
CC settings_menu.c
CC sound_menu.c
CC status.c
CC talk.c
CC tree.c
CC tagtree.c
CC filetree.c
CC scrobbler.c
CC screen_access.c
CC gui/buttonbar.c
CC gui/gwps.c
CC gui/gwps-common.c
CC gui/icon.c
CC gui/list.c
CC gui/option_select.c
CC gui/quickscreen.c
CC gui/scrollbar.c
CC gui/splash.c
CC gui/statusbar.c
CC gui/textarea.c
CC gui/yesno.c
CC recorder/bmp.c
CC recorder/icons.c
CC recorder/keyboard.c
CC recorder/peakmeter.c
CC recorder/widgets.c
CC recorder/backdrop.c
CC gui/color_picker.c
CC pcmbuf.c
CC playback.c
CC codecs.c
CC dsp.c
CC eq.c
CC eq_menu.c
CC metadata.c
CC tagcache.c
CC keymaps/keymap-ipod.c
LD rockboxui.exe
make[2]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/codecs/lib/dep-codeclib' has modification time 0.82 s in the future
CC codeclib.c
AR+RANLIB libcodec.a
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/codecs/dep-codecs' has modification time 1 s in the future
build codeclink.lds
CC vorbis.c
MAKE in libmad
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/codecs/libmad/dep-libmad' has modification time 0.2 s in the future
CC bit.c
CC decoder.c
CC fixed.c
CC frame.c
CC huffman.c
CC layer12.c
CC layer3.c
CC stream.c
CC synth.c
CC timer.c
CC version.c
AR+RANLIB libmad.a
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in liba52
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/codecs/liba52/dep-liba52' has modification time 0.93 s in the future
CC bit_allocate.c
CC bitstream.c
CC downmix.c
CC imdct.c
CC parse.c
AR+RANLIB liba52.a
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in libffmpegFLAC
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/codecs/libffmpegFLAC/dep-libffmpegFLAC' has modification time 0.73 s
uture
CC bitstream.c
CC decoder.c
CC shndec.c
CC tables.c
AR+RANLIB libffmpegFLAC.a
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in Tremor
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/codecs/Tremor/dep-Tremor' has modification time 1.3 s in the future
CC bitwise.c
CC block.c
CC codebook.c
CC floor0.c
CC floor1.c
CC framing.c
CC info.c
CC mapping0.c
CC mdct.c
CC registry.c
CC res012.c
CC sharedbook.c
CC synthesis.c
CC vorbisfile.c
CC window.c
CC ctype.c
AR+RANLIB libTremor.a
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in libwavpack
CC bits.c
CC float.c
CC metadata.c
CC unpack.c
CC pack.c
CC words.c
CC wputils.c
AR+RANLIB libwavpack.a
MAKE in dumb
(dumb) CC src/core/atexit.c
(dumb) CC src/core/duhlen.c
(dumb) CC src/core/dumbfile.c
(dumb) CC src/core/loadduh.c
(dumb) CC src/core/makeduh.c
(dumb) CC src/core/rawsig.c
(dumb) CC src/core/readduh.c
(dumb) CC src/core/register.c
(dumb) CC src/core/rendduh.c
(dumb) CC src/core/rendsig.c
(dumb) CC src/core/unload.c
(dumb) CC src/helpers/clickrem.c
(dumb) CC src/helpers/memfile.c
(dumb) CC src/helpers/resample.c
(dumb) CC src/helpers/sampbuf.c
(dumb) CC src/helpers/silence.c
(dumb) CC src/it/itload.c
(dumb) CC src/it/itread.c
(dumb) CC src/it/itrender.c
(dumb) CC src/it/itunload.c
(dumb) CC src/it/loads3m.c
(dumb) CC src/it/reads3m.c
(dumb) CC src/it/loadxm.c
(dumb) CC src/it/readxm.c
(dumb) CC src/it/loadmod.c
(dumb) CC src/it/readmod.c
(dumb) CC src/it/xmeffect.c
(dumb) CC src/it/itorder.c
(dumb) CC src/it/itmisc.c
(dumb) AR /cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/apps/co
/atexit.o
ar: creating /cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/libd
(dumb) AR /cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/apps/co
/atexit.o
ar: creating /cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/libd
MAKE in libmusepack
CC huffsv46.c
CC huffsv7.c
CC idtag.c
CC mpc_decoder.c
CC requant.c
CC streaminfo.c
CC synth_filter.c
AR+RANLIB libmusepack.a
MAKE in libalac
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/codecs/libalac/dep-libalac' has modification time 0.23 s in the futu
CC alac.c
AR+RANLIB libalac.a
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in libfaad
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/codecs/libfaad/dep-libfaad' has modification time 1.6 s in the futur
CC bits.c
CC cfft.c
CC common.c
CC decoder.c
CC drc.c
CC drm_dec.c
CC error.c
CC filtbank.c
CC hcr.c
CC huffman.c
CC ic_predict.c
CC is.c
CC lt_predict.c
CC mdct.c
CC mp4.c
CC ms.c
CC output.c
CC pns.c
CC ps_dec.c
CC ps_syntax.c
CC pulse.c
CC rvlc.c
CC sbr_dct.c
CC sbr_dec.c
CC sbr_e_nf.c
CC sbr_fbt.c
CC sbr_hfadj.c
CC sbr_hfgen.c
CC sbr_huff.c
CC sbr_qmf.c
CC sbr_syntax.c
CC sbr_tf_grid.c
CC specrec.c
CC syntax.c
CC tns.c
AR+RANLIB libfaad.a
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in libm4a
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/codecs/libm4a/dep-libm4a' has modification time 1.3 s in the future
CC m4a.c
CC demux.c
AR+RANLIB libm4a.a
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
LD vorbis.codec
CC mpa.c
LD mpa.codec
CC flac.c
LD flac.codec
CC wav.c
LD wav.codec
CC a52.c
LD a52.codec
CC mpc.c
LD mpc.codec
CC wavpack.c
LD wavpack.codec
CC alac.c
LD alac.codec
CC aac.c
LD aac.codec
CC shorten.c
LD shorten.codec
CC aiff.c
LD aiff.codec
CC sid.c
LD sid.codec
CC adx.c
LD adx.codec
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/lib/dep-pluginlib' has modification time 1.1 s in the future
CC configfile.c
CC playback_control.c
CC rgb_hsv.c
CC highscore.c
CC xlcd_core.c
CC xlcd_draw.c
CC xlcd_scroll.c
CC bmp.c
AR+RANLIB libplugin.a
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in plugins/bitmaps/mono
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/bitmaps/mono/dep-bitmaps-mono' has modification time 0.29 s
ture
BMP2RB bubbles_bubble.320x240x1.bmp
CC bubbles_bubble.320x240x1.c
BMP2RB clock_logo.320x240x1.bmp
CC clock_logo.320x240x1.c
AR+RANLIB libpluginbitmapsmono.a
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in plugins/bitmaps/native
BMP2RB bubbles_emblem.320x240x16.bmp
CC bubbles_emblem.320x240x16.c
BMP2RB bubbles_left.320x240x16.bmp
CC bubbles_left.320x240x16.c
BMP2RB bubbles_right.320x240x16.bmp
CC bubbles_right.320x240x16.c
BMP2RB chessbox_pieces.240x240x16.bmp
CC chessbox_pieces.240x240x16.c
BMP2RB jewels.320x240x16.bmp
CC jewels.320x240x16.c
BMP2RB snake2_header1.320x240x16.bmp
CC snake2_header1.320x240x16.c
BMP2RB snake2_header2.320x240x16.bmp
CC snake2_header2.320x240x16.c
BMP2RB snake2_left.320x240x16.bmp
CC snake2_left.320x240x16.c
BMP2RB snake2_right.320x240x16.bmp
CC snake2_right.320x240x16.c
BMP2RB snake2_bottom.320x240x16.bmp
CC snake2_bottom.320x240x16.c
BMP2RB sokoban_tiles.14x14.bmp
CC sokoban_tiles.14x14.c
BMP2RB flipit_cursor.56x56x16.bmp
CC flipit_cursor.56x56x16.c
BMP2RB flipit_tokens.56x112x16.bmp
CC flipit_tokens.56x112x16.c
BMP2RB star_tiles.20x20.bmp
CC star_tiles.20x20.c
BMP2RB solitaire_cardback.37x49x16.bmp
CC solitaire_cardback.37x49x16.c
BMP2RB solitaire_deck.481x196x16.bmp
CC solitaire_deck.481x196x16.c
BMP2RB solitaire_suitsi.37x196x16.bmp
CC solitaire_suitsi.37x196x16.c
BMP2RB sudoku_start.320x240x16.bmp
CC sudoku_start.320x240x16.c
BMP2RB sudoku_normal.320x240x16.bmp
CC sudoku_normal.320x240x16.c
BMP2RB sudoku_inverse.320x240x16.bmp
CC sudoku_inverse.320x240x16.c
BMP2RB brickmania_menu_bg.320x240x16.bmp
CC brickmania_menu_bg.320x240x16.c
BMP2RB brickmania_menu_items.220x176x16.bmp
CC brickmania_menu_items.220x176x16.c
BMP2RB brickmania_ball.220x176x16.bmp
CC brickmania_ball.220x176x16.c
BMP2RB brickmania_bricks.220x176x16.bmp
CC brickmania_bricks.220x176x16.c
BMP2RB brickmania_gameover.220x176x16.bmp
CC brickmania_gameover.220x176x16.c
BMP2RB brickmania_pads.220x176x16.bmp
CC brickmania_pads.220x176x16.c
BMP2RB brickmania_powerups.220x176x16.bmp
CC brickmania_powerups.220x176x16.c
BMP2RB brickmania_break.220x176x16.bmp
CC brickmania_break.220x176x16.c
BMP2RB rockblox_background.320x240x16.bmp
CC rockblox_background.320x240x16.c
BMP2RB rockpaint.8x8x24.bmp
CC rockpaint.8x8x24.c
BMP2RB rockpaint_hsvrgb.8x10x24.bmp
CC rockpaint_hsvrgb.8x10x24.c
BMP2RB minesweeper_tiles.16x16x24.bmp
CC minesweeper_tiles.16x16x24.c
AR+RANLIB libpluginbitmapsnative.a
make[2]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/dep-plugins' has modification time 1.5 s in the future
MAKE in plugins/bitmaps/mono
make[3]: Nothing to be done for `all'.
MAKE in plugins/bitmaps/native
make[3]: Nothing to be done for `all'.
CC battery_bench.c
LD battery_bench.rock
CC chessclock.c
LD chessclock.rock
create credits.raw
CC credits.c
LD credits.rock
CC cube.c
LD cube.rock
CC dict.c
LD dict.rock
CC firmware_flash.c
LD firmware_flash.rock
CC logo.c
LD logo.rock
CC mosaique.c
LD mosaique.rock
CC random_folder_advance_config.c
LD random_folder_advance_config.rock
CC rockblox.c
LD rockblox.rock
CC rockbox_flash.c
LD rockbox_flash.rock
CC search.c
LD search.rock
CC snow.c
LD snow.rock
CC sort.c
LD sort.rock
CC stats.c
LD stats.rock
CC stopwatch.c
LD stopwatch.rock
CC vbrfix.c
LD vbrfix.rock
CC viewer.c
LD viewer.rock
CC dice.c
LD dice.rock
CC flipit.c
LD flipit.rock
CC disktidy.c
LD disktidy.rock
CC text_editor.c
LD text_editor.rock
CC fire.c
LD fire.rock
CC jpeg.c
LD jpeg.rock
CC mandelbrot.c
LD mandelbrot.rock
CC plasma.c
LD plasma.rock
CC bounce.c
LD bounce.rock
CC bubbles.c
LD bubbles.rock
CC brickmania.c
LD brickmania.rock
CC calculator.c
LD calculator.rock
CC chip8.c
LD chip8.rock
CC demystify.c
LD demystify.rock
CC jewels.c
LD jewels.rock
CC minesweeper.c
LD minesweeper.rock
CC oscilloscope.c
LD oscilloscope.rock
CC pong.c
LD pong.rock
CC sliding_puzzle.c
LD sliding_puzzle.rock
CC snake.c
LD snake.rock
CC snake2.c
LD snake2.rock
CC solitaire.c
LD solitaire.rock
CC sokoban.c
LD sokoban.rock
CC star.c
LD star.rock
CC starfield.c
LD starfield.rock
CC vu_meter.c
LD vu_meter.rock
CC wormlet.c
LD wormlet.rock
CC clock.c
LD clock.rock
CC xobox.c
LD xobox.rock
CC spacerocks.c
LD spacerocks.rock
CC rockpaint.c
LD rockpaint.rock
CC mp3_encoder.c
LD mp3_encoder.rock
CC midiplay.c
LD midiplay.rock
CC wav2wv.c
LD wav2wv.rock
MAKE in databox
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/databox/dep-databox' has modification time 1.1 s in the futu
CC databox.c
CC editparser.c
CC edittoken.c
LD databox.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in rockboy
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/rockboy/dep-rockboy' has modification time 0.65 s in the fut
CC cpu.c
CC emu.c
CC events.c
CC exports.c
CC fastmem.c
CC hw.c
CC lcd.c
CC lcdc.c
CC loader.c
CC main.c
CC mem.c
CC rbsound.c
CC rccmds.c
CC rcvars.c
CC rtc.c
CC save.c
CC sound.c
CC split.c
CC sys_rockbox.c
CC rockboy.c
CC menu.c
LD rockboy.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in chessbox
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/chessbox/dep-chessbox' has modification time 0.036 s in the
CC chessbox.c
CC gnuchess.c
CC opening.c
LD chessbox.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in sudoku
CC sudoku.c
CC generator.c
CC templates.c
LD sudoku.rock
MAKE in zxbox
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/zxbox/dep-zxbox' has modification time 1.5 s in the future
CC compr.c
CC helpers.c
CC interf.c
CC keynames.c
CC loadim.c
CC misc.c
CC rom_imag.c
CC snapshot.c
CC spconf.c
CC spect.c
CC spkey.c
CC spmain.c
CC spperif.c
CC spscr.c
CC spsound.c
CC sptape.c
CC sptiming.c
CC tapefile.c
CC z80.c
CC z80_op1.c
CC z80_op2.c
CC z80_op3.c
CC z80_op4.c
CC z80_op5.c
CC z80_op6.c
CC z80_step.c
CC z80optab.c
CC zxbox.c
CC zxbox_keyb.c
CC zxvid_16bpp.c
CC zxvid_4bpp.c
CC zxvid_grey.c
LD zxbox.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in pacbox
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/pacbox/dep-pacbox' has modification time 0.18 s in the futur
CC arcade.c
CC pacbox.c
CC hardware.c
CC z80.c
CC pacbox_lcd.c
LD pacbox.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in doom
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/doom/dep-doom' has modification time 1.2 s in the future
CC info.c
CC doomdef.c
CC doomstat.c
CC dstrings.c
CC tables.c
CC f_finale.c
CC f_wipe.c
CC d_net.c
CC d_items.c
CC g_game.c
CC m_menu.c
CC m_argv.c
CC m_cheat.c
CC m_random.c
CC am_map.c
CC p_ceilng.c
CC p_doors.c
CC p_genlin.c
CC p_enemy.c
CC p_floor.c
CC p_inter.c
CC p_lights.c
CC p_map.c
CC p_maputl.c
CC p_plats.c
CC p_pspr.c
CC p_setup.c
CC p_sight.c
CC p_spec.c
CC p_switch.c
CC p_mobj.c
CC p_telept.c
CC p_tick.c
CC p_saveg.c
CC p_user.c
CC r_bsp.c
CC r_data.c
CC r_draw.c
CC r_main.c
CC r_plane.c
CC r_segs.c
CC r_sky.c
CC r_things.c
CC wi_stuff.c
CC v_video.c
CC st_lib.c
CC st_stuff.c
CC hu_stuff.c
CC hu_lib.c
CC s_sound.c
CC z_zone.c
CC z_bmalloc.c
CC sounds.c
CC d_main.c
CC m_misc.c
CC m_bbox.c
CC i_system.c
CC i_sound.c
CC i_video.c
CC w_wad.c
CC rockdoom.c
LD doom.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in mpegplayer
make[3]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-dev
ps/plugins/mpegplayer/dep-mpegplayer' has modification time 1.1 s in th
CC alloc.c
CC cpu_accel.c
CC cpu_state.c
CC decode.c
CC header.c
CC idct.c
CC motion_comp.c
CC slice.c
CC video_out_rockbox.c
CC mpeg_settings.c
CC mpegplayer.c
LD mpegplayer.rock
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: warning:  Clock skew detected.  Your build may be incomplete.



thanks
Title: Re: Problems When Compliling
Post by: bluebrother on November 11, 2006, 11:51:33 AM
I suggest you (a) look around on IRC and ask there. I can't see any reason why your build fails from what you posted, instead I assume something missing. When asking on IRC, (b) please use a pastebin. For the forums, the code tags are pretty helpful.
Title: Re: Problems When Compliling
Post by: Llorean on November 11, 2006, 12:43:27 PM
It sounds like their clock is just a little off. If you notice in the long paste there's not actually an Error...
Title: Re: Problems When Compliling
Post by: iPodFoo on November 15, 2006, 09:38:34 PM
Clock probably changed since the files were last altered. I tested this, and replicated the problem. Clock skew errors appeared on files that were edited before clock change and are not included in the make, seems to use old versions.

Easy to fix though. Either tick the "Time Synchronisation between the virtual machine and the host operating system" if you have the Vmware Tools Properties open. If not, at the prompt type:
Code: [Select]
hwclock --utc --systohc
Check its correct by typing "date"
Title: Re: Problems When Compliling
Post by: Rincewind on November 16, 2006, 12:27:20 PM
Clock probably changed since the files were last altered. I tested this, and replicated the problem. Clock skew errors appeared on files that were edited before clock change and are not included in the make, seems to use old versions.

Easy to fix though. Either tick the "Time Synchronisation between the virtual machine and the host operating system" if you have the Vmware Tools Properties open. If not, at the prompt type:
Code: [Select]
hwclock --utc --systohc
Check its correct by typing "date"

only that he is running cygwin, not vmware...
Title: Re: Problems When Compliling
Post by: iPodFoo on November 16, 2006, 12:43:27 PM
Oops.

Its a useful tip for anyone who does get the problem in vmware I suppose.  ;D

There must be something similar for cygwin though. Unless cygwin is more "hard-linked" to the Windows OS.

Title: Re: Problems When Compiling
Post by: pabouk on November 16, 2006, 01:21:02 PM
Cygwin is just a layer above Win32 and uses Windows system time. See: http://www.cygwin.com/ml/cygwin/2003-05/msg00555.html

The possible problems could be:
- There could be a malicious ??? Windows application running in background rewriting timestamps of the files. - check it
- There could be a bug in Cygwin. - if possible try to upgrade to the latest Cygwin version

Further suggestions:
- Compare Windows and Cygwin time.
- Check whether the timezones are set correctly in both Cygwin and Windows.
- Check timestamps of the files make is complaining about.

This command lists detailed time of files: ls --full-time
This shows the Cygwin time in the same detailed format: date --rfc-3339=ns
Title: Re: Problems When Compliling
Post by: bluebrother on November 16, 2006, 05:27:56 PM
another thing that could cause that: FAT has only a time resolution of 2s.
Anyway, I don't see any fatal errors in the output above. You can also force a complete rebuild by running make clean first...
Title: Re: Problems When Compliling
Post by: joetermini on November 16, 2006, 05:52:04 PM
I've tried making a clean build, still the same problem. I got a simulator to work without patching at all, and so i tried doing it again and patching. All the patches i used worked fine; no errors at all. However, i get more problems when i use the "make" command. Here it what I get when I enter make after patching and configuring:


$ make
make: Warning: File `Makefile' has modification time 1.3 s in the future
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `ipod_fw' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/si
m/dep-sim' has modification time 1 s in the future
CC button.c
CC kernel.c
CC lcd-bitmap.c
CC lcd-sdl.c
CC sound.c
CC thread-sdl.c
CC uisdl.c
UI
AR+RANLIB libsim.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/co
msim/dep-commonsim' has modification time 0.99 s in the future
CC fmradio.c
CC io.c
CC lcd-common.c
CC mpegplay.c
CC sim_icons.c
CC stubs.c
AR+RANLIB libcomsim.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/fi
rmware/dep-firmware' has modification time 1.4 s in the future
CC ata_idle_notify.c
CC backlight.c
CC buffer.c
CC id3.c
CC powermgmt.c
CC system.c
CC usb.c
CC panic.c
CC debug.c
CC common/atoi.c
CC common/crc32.c
CC common/ctype.c
CC common/dircache.c
CC common/disk.c
CC common/errno.c
CC common/memcmp.c
CC common/memchr.c
CC common/qsort.c
CC common/random.c
CC common/sprintf.c
CC common/strcasecmp.c
CC common/strcasestr.c
CC common/strcat.c
CC common/strchr.c
CC common/strcmp.c
CC common/strcpy.c
CC common/strncmp.c
CC common/strncpy.c
CC common/strrchr.c
CC common/strtok.c
CC common/timefuncs.c
CC common/unicode.c
CC arabjoin.c
CC bidi.c
CC font_cache.c
CC font.c
CC hangul.c
CC lru.c
CC drivers/lcd-16bit.c
CC drivers/led.c
CC mp3_playback.c
CC mp3data.c
CC sound.c
CC general.c
CC pcm_sampr.c
CC replaygain.c
CC common/memcpy.c
CC common/memmove.c
CC common/memset.c
CC common/memset16.c
CC common/strlen.c
CONVBDF
CC sysfont.c
Header parsed
AR+RANLIB librockbox.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
MAKE in bitmaps/mono
AR+RANLIB libbitmapsmono.a
MAKE in bitmaps/native
make[2]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/ap
ps/bitmaps/native/dep-bitmaps-native' has modification time 1 s in the future
BMP2RB rockboxlogo.320x98x16.bmp
CC rockboxlogo.320x98x16.c
BMP2RB usblogo.100x32x1.bmp
CC usblogo.100x32x1.c
AR+RANLIB libbitmapsnative.a
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/ap
ps/dep-apps' has modification time 0.97 s in the future
MAKE in bitmaps/mono
make[2]: Nothing to be done for `all'.
MAKE in bitmaps/native
make[2]: Nothing to be done for `all'.
GENLANG
CC lang.c
CC action.c
CC alarm_menu.c
CC abrepeat.c
CC bookmark.c
CC debug_menu.c
CC filetypes.c
CC language.c
CC main.c
CC main_menu.c
CC menu.c
CC misc.c
CC onplay.c
CC playlist.c
CC playlist_catalog.c
CC playlist_menu.c
CC playlist_viewer.c
CC plugin.c
CC screens.c
CC settings.c
CC settings_menu.c
CC sound_menu.c
CC status.c
CC talk.c
CC tree.c
CC tagtree.c
CC filetree.c
CC scrobbler.c
CC screen_access.c
CC gui/buttonbar.c
CC gui/gwps.c
CC gui/gwps-common.c
gui/gwps-common.c: In function `format_display':
gui/gwps-common.c:1802: warning: implicit declaration of function `hex_to_rgb'
gui/gwps-common.c: In function `gui_wps_refresh':
gui/gwps-common.c:2391: error: `FONT_USER1' undeclared (first use in this functi
on)
gui/gwps-common.c:2391: error: (Each undeclared identifier is reported only once

gui/gwps-common.c:2391: error: for each function it appears in.)
gui/gwps-common.c:2394: error: `FONT_USER2' undeclared (first use in this functi
on)
gui/gwps-common.c:2397: error: `FONT_USER3' undeclared (first use in this functi
on)
gui/gwps-common.c:2400: error: `FONT_USER4' undeclared (first use in this functi
on)
gui/gwps-common.c:2403: error: `FONT_USER5' undeclared (first use in this functi
on)
gui/gwps-common.c:2406: error: `FONT_USER6' undeclared (first use in this functi
on)
gui/gwps-common.c:2409: error: `FONT_USER7' undeclared (first use in this functi
on)
make[1]: *** [/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/apps/gui/gwp
s-common.o] Error 1
make: *** [all] Error 2
Title: Re: Problems When Compliling
Post by: bluebrother on November 17, 2006, 08:18:09 AM
there is definitely a problem with one of your patches (or some patches are conflicting). Ask the patch author -- seems at least one patch is outdated. Also it looks a bit like the patch is broken.
Title: Re: Problems When Compliling
Post by: joetermini on November 17, 2006, 10:04:25 PM
yeah, here's everything from the patches up to "make install"



Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < 01-custom_display_width-20060928.patch
patching file firmware/drivers/lcd-16bit.c
Hunk #2 succeeded at 129 (offset 1 line).
Hunk #3 succeeded at 736 (offset 1 line).
Hunk #4 succeeded at 749 (offset 1 line).
Hunk #5 succeeded at 807 (offset 1 line).
Hunk #6 succeeded at 884 (offset 1 line).
Hunk #7 succeeded at 897 (offset 1 line).
Hunk #8 succeeded at 910 (offset 1 line).
Hunk #9 succeeded at 962 (offset 1 line).
Hunk #10 succeeded at 980 (offset 1 line).
patching file apps/screen_access.c
Hunk #1 succeeded at 120 (offset 3 lines).
patching file apps/screen_access.h
patching file firmware/export/lcd.h
Hunk #1 succeeded at 298 (offset 30 lines).

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < 02-custom_list_position-20060930.patch
patching file apps/settings.h
Hunk #1 succeeded at 482 with fuzz 2 (offset -9 lines).
patching file apps/settings.c
Hunk #1 succeeded at 332 (offset 9 lines).
Hunk #2 succeeded at 1781 (offset 102 lines).
Hunk #3 succeeded at 1651 (offset 108 lines).
Hunk #4 succeeded at 1841 (offset 108 lines).
patching file apps/gui/list.c
patching file apps/gui/statusbar.c
Hunk #1 succeeded at 135 (offset 21 lines).
Hunk #2 succeeded at 343 (offset 33 lines).
patching file apps/gui/quickscreen.c
Hunk #4 succeeded at 103 with fuzz 2.

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < 05-customline-20060930.patch
patching file apps/gui/gwps-common.c
Hunk #1 succeeded at 1332 (offset 38 lines).
Hunk #2 succeeded at 2357 with fuzz 1 (offset 28 lines).
Hunk #3 succeeded at 2512 (offset 21 lines).
Hunk #4 succeeded at 2584 (offset 17 lines).
Hunk #5 succeeded at 2650 (offset 17 lines).
Hunk #6 succeeded at 2213 (offset 14 lines).
patching file apps/gui/gwps.h
Hunk #1 succeeded at 369 (offset -21 lines).
patching file apps/screen_access.h
Hunk #1 succeeded at 123 (offset 5 lines).
patching file apps/screen_access.c
Hunk #1 succeeded at 184 (offset 8 lines).
patching file firmware/export/lcd.h
Hunk #2 succeeded at 392 (offset 38 lines).
patching file firmware/drivers/lcd-16bit.c
Hunk #1 succeeded at 863 (offset 13 lines).
Hunk #2 succeeded at 1014 (offset 13 lines).
Hunk #3 succeeded at 1030 (offset 13 lines).
Hunk #4 succeeded at 1045 (offset 13 lines).
Hunk #5 succeeded at 1059 (offset -8 lines).

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < 07-full_screen_logo.patch
patching file apps/misc.c
Hunk #1 succeeded at 769 (offset 160 lines).
Hunk #2 succeeded at 780 (offset 160 lines).

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < album_art_v5.2_20061114.patch
patching file apps/metadata.c
patching file apps/metadata.h
patching file apps/playback.c
Hunk #1 succeeded at 2690 (offset 91 lines).
Hunk #2 succeeded at 2813 (offset 91 lines).
patching file apps/tagcache.c
patching file apps/gui/gwps-common.c
Hunk #5 succeeded at 1532 (offset 27 lines).
Hunk #6 succeeded at 1837 (offset 63 lines).
Hunk #7 succeeded at 3163 (offset 193 lines).
patching file apps/gui/gwps.c
patching file apps/gui/gwps.h
Hunk #4 succeeded at 478 (offset 3 lines).
patching file firmware/export/id3.h

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < bmp_resize_v0.99.6-MM.20061102.patch
patching file apps/plugin.h
Hunk #1 succeeded at 542 (offset 3 lines).
patching file apps/gui/gwps-common.c
Hunk #1 succeeded at 592 (offset 384 lines).
Hunk #2 succeeded at 708 (offset 384 lines).
patching file apps/gui/gwps.h
Hunk #1 succeeded at 339 (offset -6 lines).
patching file apps/plugins/rockpaint.c
patching file apps/plugins/lib/bmp.h
patching file apps/recorder/backdrop.c
Hunk #1 succeeded at 44 (offset 10 lines).
patching file apps/recorder/bmp.c
Hunk #1 succeeded at 131 (offset 1 line).
Hunk #2 succeeded at 361 (offset 1 line).
Hunk #3 succeeded at 373 (offset 1 line).
Hunk #4 succeeded at 460 (offset 1 line).
Hunk #5 succeeded at 499 (offset 1 line).
Hunk #6 succeeded at 519 (offset 1 line).
patching file apps/recorder/bmp.h

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < chopper_with_menu_api.diff
(Stripping trailing CRs from patch.)
patching file apps/plugins/SOURCES
Hunk #1 succeeded at 92 with fuzz 1 (offset 8 lines).
(Stripping trailing CRs from patch.)
patching file apps/plugins/chopper.c

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < doom_scroll3_sync20061010.patch
patching file apps/plugins/doom/d_event.h
patching file apps/plugins/doom/g_game.c
patching file apps/plugins/doom/i_video.c
Hunk #1 succeeded at 146 (offset 3 lines).
Hunk #2 succeeded at 233 with fuzz 2 (offset 54 lines).

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < ipod_brightness_4.patch
patching file firmware/backlight.c
patching file firmware/export/config-ipodvideo.h

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < piezo.patch
patching file apps/main.c
patching file apps/settings.c
Hunk #2 succeeded at 701 (offset 6 lines).
Hunk #3 succeeded at 1322 (offset 8 lines).
patching file apps/settings.h
Hunk #1 succeeded at 538 (offset 5 lines).
patching file apps/settings_menu.c
Hunk #2 succeeded at 976 (offset 2 lines).
Hunk #3 succeeded at 1999 with fuzz 2 (offset 5 lines).
patching file apps/lang/english.lang
Hunk #1 succeeded at 10266 (offset 42 lines).
patching file firmware/SOURCES
Hunk #1 succeeded at 437 (offset 6 lines).
Hunk #2 succeeded at 452 (offset 6 lines).
Hunk #3 succeeded at 467 (offset 6 lines).
Hunk #4 succeeded at 482 (offset 6 lines).
Hunk #5 succeeded at 511 (offset 6 lines).
Hunk #6 succeeded at 526 (offset 6 lines).
patching file firmware/drivers/button.c
patching file firmware/export/config-ipod4g.h
patching file firmware/export/config-ipodcolor.h
patching file firmware/export/config-ipodmini.h
patching file firmware/export/config-ipodmini2g.h
patching file firmware/export/config-ipodnano.h
patching file firmware/export/config-ipodvideo.h
Hunk #1 succeeded at 128 (offset 7 lines).
patching file firmware/target/arm/ipod/button-clickwheel.c
patching file firmware/target/arm/ipod/piezo.c
patching file firmware/target/arm/ipod/piezo.h

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < pong_20061108.patch
patching file apps/plugins/pong.c

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < progressbar_ycoord_extension2.1.patch
(Stripping trailing CRs from patch.)
patching file apps/gui/gwps-common.c
Hunk #1 succeeded at 1028 (offset 413 lines).
Hunk #2 succeeded at 1043 (offset 413 lines).
Hunk #3 succeeded at 2142 (offset 706 lines).
Hunk #4 succeeded at 2335 with fuzz 1 (offset 711 lines).
Hunk #5 succeeded at 2705 (offset 818 lines).
(Stripping trailing CRs from patch.)
patching file apps/gui/gwps.h
Hunk #1 succeeded at 399 with fuzz 1 (offset 55 lines).

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p0 < spacerocksjazz.patch
patching file apps/plugins/spacerocks.c
Hunk #1 succeeded at 134 (offset 13 lines).
Hunk #2 succeeded at 148 (offset 13 lines).
Hunk #3 succeeded at 183 (offset 13 lines).
Hunk #4 succeeded at 203 (offset 13 lines).
Hunk #5 succeeded at 253 (offset 13 lines).
Hunk #6 succeeded at 366 (offset 13 lines).
Hunk #7 succeeded at 402 (offset 13 lines).
Hunk #8 succeeded at 420 (offset 13 lines).
Hunk #9 succeeded at 438 (offset 13 lines).
Hunk #10 succeeded at 473 (offset 13 lines).
Hunk #11 succeeded at 550 (offset 13 lines).
Hunk #12 succeeded at 765 (offset 13 lines).
Hunk #13 succeeded at 838 (offset 13 lines).
Hunk #14 succeeded at 861 (offset 13 lines).
Hunk #15 succeeded at 873 (offset 13 lines).
Hunk #16 succeeded at 951 (offset 13 lines).
Hunk #17 succeeded at 968 (offset 13 lines).
Hunk #18 succeeded at 983 (offset 13 lines).
Hunk #19 succeeded at 1033 (offset 13 lines).
Hunk #20 succeeded at 1070 (offset 13 lines).
Hunk #21 succeeded at 1116 (offset 13 lines).
Hunk #22 succeeded at 1132 (offset 13 lines).
Hunk #23 succeeded at 1143 (offset 13 lines).
Hunk #24 succeeded at 1157 (offset 13 lines).
Hunk #25 succeeded at 1192 (offset 13 lines).
Hunk #26 succeeded at 1335 (offset 13 lines).
Hunk #27 succeeded at 1366 (offset 13 lines).
Hunk #28 succeeded at 1400 (offset 13 lines).
Hunk #29 succeeded at 1451 (offset 13 lines).
Hunk #30 succeeded at 1496 (offset 13 lines).
Hunk #31 succeeded at 1528 (offset 13 lines).
Hunk #32 succeeded at 1606 (offset 13 lines).
Hunk #33 succeeded at 1627 (offset 13 lines).
Hunk #34 succeeded at 1639 (offset 13 lines).
Hunk #35 succeeded at 1661 (offset 13 lines).
Hunk #36 succeeded at 1692 (offset 13 lines).
Hunk #37 succeeded at 1753 (offset 13 lines).
Hunk #38 succeeded at 1794 (offset 13 lines).

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ patch --binary -p1 < wps_context_order.patch
(Stripping trailing CRs from patch.)
patching file apps/onplay.c
Hunk #1 succeeded at 847 (offset 4 lines).
Hunk #2 succeeded at 861 (offset 4 lines).

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ cvs co uisimulator
cvs checkout: Updating uisimulator
cvs checkout: Updating uisimulator/common
cvs checkout: Updating uisimulator/common/libmad
cvs checkout: Updating uisimulator/common/player_icons
cvs checkout: Updating uisimulator/sdl
cvs checkout: Updating uisimulator/win32
cvs checkout: Updating uisimulator/win32/Release
cvs checkout: Updating uisimulator/x11
cvs checkout: Updating uisimulator/x11/archos

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ mkdir sim

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel
$ cd sim

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel/s
im
$ ../tools/configure
Enter target platform:
 ==Archos==            ==iriver==             ==Apple iPod==
  0) Player/Studio     10) H120/H140          20) Color/Photo
  1) Recorder          11) H320/H340          21) Nano
  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
                                              26) Mini 2G

 ==iAudio==            ==Toshiba==            ==SanDisk==
 30) X5/X5V/X5L        40) Gigabeat F         50) Sansa e200

 ==Tatung==
 60) Elio TPJ-1022
22
Platform set to ipodvideo

Build (N)ormal, (D)evel, (S)imulator, (B)ootloader, (M)anual, (V)oice? (N)
s
Simulator build selected

Build (S)DL version? (S)
s
Selected sdl simulator
Using source code root directory: /cygdrive/c/cygwin/home/terminikids/rockbox-de
vel
Cygwin host detected
Enabled PCM sound playback in simulator
Simulator environment deemed little endian
created an archos subdirectory for simulating the hard disk
Using gcc 3.4.4 (304)
Created Makefile

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel/s
im
$ make
make: Warning: File `Makefile' has modification time 0.19 s in the future
gcc -g rdf2binary.c -o rdf2binary
gcc -g convbdf.c -o convbdf
gcc -O -ansi -g   -c -o scramble.o scramble.c
gcc -O -ansi -g   -c -o iriver.o iriver.c
gcc -O -ansi -g   -c -o mi4.o mi4.c
gcc -O -ansi -g   -c -o gigabeat.o gigabeat.c
gcc -g  scramble.o iriver.o mi4.o gigabeat.o   -o scramble
gcc -g ipod_fw.c -o ipod_fw
gcc -DAPPLICATION_NAME=\"bmp2rb\" -g bmp2rb.c -o bmp2rb
gcc -g codepages.c codepage_tables.c -o codepages
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/si
m/dep-sim' has modification time 1.4 s in the future
CC button.c
CC kernel.c
CC lcd-bitmap.c
CC lcd-sdl.c
CC sound.c
CC thread-sdl.c
CC uisdl.c
UI
AR+RANLIB libsim.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/co
msim/dep-commonsim' has modification time 1 s in the future
CC fmradio.c
CC io.c
CC lcd-common.c
CC mpegplay.c
CC sim_icons.c
CC stubs.c
AR+RANLIB libcomsim.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/fi
rmware/dep-firmware' has modification time 0.46 s in the future
CC ata_idle_notify.c
CC backlight.c
backlight.c: In function `backlight_set_brightness':
backlight.c:798: error: `bl_brightness' undeclared (first use in this function)
backlight.c:798: error: (Each undeclared identifier is reported only once
backlight.c:798: error: for each function it appears in.)
backlight.c:798: error: `bl_brightness_map' undeclared (first use in this functi
on)
make[1]: *** [/cygdrive/c/cygwin/home/terminikids/rockbox-devel/sim/firmware/bac
klight.o] Error 1
make: *** [all] Error 2

Termini Kids@lou-zn0rbj7rftl /cygdrive/c/cygwin/home/terminikids/rockbox-devel/s
im
$ make install
installing a full setup in your archos dir
find: apps: No such file or directory
Title: Re: Problems When Compliling
Post by: joetermini on November 21, 2006, 04:53:02 PM
I also have another question. I'm not sure if its a problem, but i often get this when i patch; sometimes the hunk fails as well, sometimes it doesn't
Title: Re: Problems When Compliling
Post by: lowlight on November 21, 2006, 05:08:11 PM
there is definitely a problem with one of your patches (or some patches are conflicting). Ask the patch author -- seems at least one patch is outdated. Also it looks a bit like the patch is broken.

With emphasis this time!

It's clear that you are adding a patch that doesn't work with the sim.
Title: Re: Problems When Compliling (Me too!)
Post by: todayalemon on December 10, 2006, 06:13:13 PM
As I am trying to get both, the contact and calendar plugins working I first tried to compile a normal rockboxbuild from cvs following the instructions on the wiki pages. it all appeared easy and well explained, but i stuck in the middle of the "make":
Code: [Select]
Build (N)ormal, (D)evel, (S)imulator, (B)ootloader, (M)anual, (V)oice? (N)
n
Normal build selected
Using source code root directory: /home/todayalemon/rockbox
Using m68k-elf-gcc 3.4.6 (304)
Created Makefile
todayalemon@todayalemon:~/rockbox/build$ make
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `descramble' is up to date.
make[1]: `mkboot' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
CC ata_idle_notify.c
CC backlight.c
CC id3.c
CC powermgmt.c
CC system.c
CC usb.c
CC hwcompat.c
CC kernel.c
CC rolo.c
CC thread.c
CC timer.c
CC panic.c
CC debug.c
CC common/dir.c
CC common/file.c
CC common/dircache.c
CC common/disk.c
CC common/strtok.c
CC common/timefuncs.c
CC bidi.c
CC font.c
CC drivers/lcd-16bit.c
CC drivers/lcd-remote-2bit-vi.c
CC drivers/led.c
CC drivers/button.c
CC drivers/dac.c
CC drivers/serial.c
CC drivers/ata.c
CC drivers/fat.c
CC drivers/rtc/rtc_pcf50606.c
CC drivers/fmradio_i2c.c
CC tuner_philips.c
CC mp3_playback.c
CC mp3data.c
CC sound.c
CC general.c
CC pcm_sampr.c
CC replaygain.c
CC pcm_playback.c
CC enc_base.c
CC pcm_record.c
CC drivers/tlv320.c
CC drivers/m5636.c
CC common/strlen.c
CC target/coldfire/crt0.S
CC target/coldfire/memcpy-coldfire.S
CC target/coldfire/memmove-coldfire.S
CC target/coldfire/memset-coldfire.S
CC target/coldfire/memset16-coldfire.S
CC target/coldfire/system-coldfire.c
CC target/coldfire/pcm-coldfire.c
CC target/coldfire/i2c-coldfire.c
CC target/coldfire/iaudio/x5/power-x5.c
CC target/coldfire/pcf50606-coldfire.c
CC target/coldfire/iaudio/x5/adc-x5.c
CC target/coldfire/iaudio/x5/ata-x5.c
CC target/coldfire/iaudio/x5/backlight-x5.c
CC target/coldfire/iaudio/x5/button-x5.c
CC target/coldfire/iaudio/x5/lcd-as-x5.S
CC target/coldfire/iaudio/x5/lcd-remote-x5.c
CC target/coldfire/iaudio/x5/lcd-x5.c
CC target/coldfire/iaudio/x5/m5636-x5.c
CC target/coldfire/iaudio/x5/pcf50606-x5.c
CC target/coldfire/iaudio/x5/system-x5.c
CC target/coldfire/iaudio/x5/usb-x5.c
CC target/coldfire/iaudio/x5/audio-x5.c
AR+RANLIB librockbox.a
make[1]: *** [/home/todayalemon/rockbox/build/librockbox.a] Error 127
make: *** [all] Fehler 2

and now i am totally confused as i didnt triy anything special or calendar or contact or plugin or whatever. how can i solve the problem?

thanks!

ps: i am using ubuntu 6.10 (edgy eft). if you need the other versions of the used compilers etc to help me, tell me what i should give you, please!
Title: Re: Problems When Compliling
Post by: todayalemon on December 19, 2006, 03:06:28 PM
Could anybody waste his time
For this stupidity of mine?  :-[

Title: Re: Problems When Compliling
Post by: krz on January 04, 2007, 07:23:49 PM
having the same promlem
Code: [Select]
CC target/arm/gigabeat/meg-fx/sc606-meg-fx.c
CC target/arm/gigabeat/meg-fx/usb-meg-fx.c
CC target/arm/gigabeat/meg-fx/wmcodec-meg-fx.c
CC target/arm/gigabeat/meg-fx/dma_start.c
CC target/arm/gigabeat/meg-fx/system-meg-fx.c
CC target/arm/gigabeat/meg-fx/mmu-meg-fx.c
CONVBDF
CC sysfont.c
Header parsed
AR+RANLIB librockbox.a
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[3]: `rdf2binary' is up to date.
make[3]: `convbdf' is up to date.
make[3]: `scramble' is up to date.
make[3]: `descramble' is up to date.
make[3]: `bmp2rb' is up to date.
make[3]: `codepages' is up to date.
make[3]: Warning: File `/home/sD/rockbox-devel/bootloader/librockbox.a' has modi
fication time 0.2 s in the future

and goes into cycle, or just stops with error that "no make file found"