Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Local build failing

Local build failing

From: Mike Holden <rockbox_at_mikeholden.org>
Date: Sun, 5 Apr 2009 10:52:15 +0100 (BST)

This is clearly something wrong with my own build process, as a fresh
checkout builds fine.

I have an iRiver h300 build area, and my overnight process runs the
following tasks to build each area:

In the root dir:
svn update

In the build dir:
../tools/configure
make clean veryclean
make all

After a few files build and compile correctly, I get the following errors:

Platform set to h300
Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (M)anual: (Defaults
to N)

Normal build selected
Using source code root directory: /home/rockbox/develop/clean
Using m68k-elf-gcc 3.4.6 (304)
Using m68k-elf-ld 2.16.1
Created Makefile
[rockbox_at_jewel h300]$ make clean
Cleaning build directory
[rockbox_at_jewel h300]$ make veryclean
Cleaning build directory
[rockbox_at_jewel h300]$ make all
Generating dependencies
CC tools/rdf2binary
CC tools/convbdf
CC tools/codepages
CC bmp2rb
BMP2RB iaudio_bl_flash.c
CC tools/scramble
CC uclpack
CC tools/mktccboot
CC tools/mkboot
CC apps/action.c
CC apps/alarm_menu.c
CC apps/abrepeat.c
BMP2RB rockboxlogo.220x68x16.bmp
CC h300/apps/bitmaps/native/rockboxlogo.220x68x16.c
BMP2RB usblogo.176x48x16.bmp
CC h300/apps/bitmaps/native/usblogo.176x48x16.c
BMP2RB default_icons.6x8x16.bmp
CC h300/apps/bitmaps/native/default_icons.6x8x16.c
BMP2RB remote_rockboxlogo.128x42x1.bmp
CC h300/apps/bitmaps/remote_native/remote_rockboxlogo.128x42x1.c
BMP2RB remote_usblogo.104x27x1.bmp
CC h300/apps/bitmaps/remote_native/remote_usblogo.104x27x1.c
BMP2RB remote_default_icons.6x8x1.bmp
CC h300/apps/bitmaps/remote_native/remote_default_icons.6x8x1.c
CONVBDF fonts/08-Schumacher-Clean.bdf
CC apps/bookmark.c
CC apps/debug_menu.c
CC apps/filetypes.c
CC apps/language.c
CC apps/main.c
CC apps/menu.c
CC apps/menus/menu_common.c
CC apps/menus/display_menu.c
CC apps/menus/theme_menu.c
CC apps/menus/eq_menu.c
CC apps/buffering.c
CC apps/voice_thread.c
CC apps/replaygain.c
CC apps/menus/main_menu.c
CC apps/menus/playback_menu.c
CC apps/menus/playlist_menu.c
CC apps/menus/recording_menu.c
CC apps/menus/settings_menu.c
CC apps/menus/sound_menu.c
CC apps/menus/time_menu.c
CC apps/misc.c
CC apps/mp3data.c
CC apps/onplay.c
CC apps/playlist.c
CC apps/playlist_catalog.c
CC apps/playlist_viewer.c
CC apps/plugin.c
CC apps/root_menu.c
CC apps/screens.c
CC apps/settings.c
CC apps/settings_list.c
/home/rockbox/develop/clean/apps/settings_list.c:1470: error:
`LANG_PREVENT_SKIPPING' undeclared here (not in a function)
/home/rockbox/develop/clean/apps/settings_list.c:1470: error: initializer
element is not constant
/home/rockbox/develop/clean/apps/settings_list.c:1470: error: (near
initialization for `settings[196].lang_id')
/home/rockbox/develop/clean/apps/settings_list.c:1470: error: initializer
element is not constant
/home/rockbox/develop/clean/apps/settings_list.c:1470: error: (near
initialization for `settings[196].default_val')
/home/rockbox/develop/clean/apps/settings_list.c:1470: error: initializer
element is not constant
/home/rockbox/develop/clean/apps/settings_list.c:1470: error: (near
initialization for `settings[196].<anonymous>')
/home/rockbox/develop/clean/apps/settings_list.c:1470: warning: missing
initializer
/home/rockbox/develop/clean/apps/settings_list.c:1470: warning: (near
initialization for `settings[196].<anonymous>')
/home/rockbox/develop/clean/apps/settings_list.c:1470: error: initializer
element is not constant
/home/rockbox/develop/clean/apps/settings_list.c:1470: error: (near
initialization for `settings[196]')
make: *** [/home/rockbox/develop/clean/h300/apps/settings_list.o] Error 1
rm
/home/rockbox/develop/clean/h300/apps/bitmaps/remote_native/remote_default_icons.6x8x1.c
/home/rockbox/develop/clean/h300/apps/bitmaps/native/usblogo.176x48x16.c
/home/rockbox/develop/clean/h300/apps/bitmaps/native/default_icons.6x8x16.c
/home/rockbox/develop/clean/h300/apps/bitmaps/native/rockboxlogo.220x68x16.c
/home/rockbox/develop/clean/h300/apps/bitmaps/remote_native/remote_rockboxlogo.128x42x1.c
/home/rockbox/develop/clean/h300/apps/bitmaps/remote_native/remote_usblogo.104x27x1.c

This would appear to suggest that my pre-build cleanup is not adequate?
What else can I add to ensure that the build will succeed? Is a simple,
one-off task required this time to allow the build to succeed?

-- 
Mike Holden
http://www.by-ang.com - the place to shop for all manner of hand crafted
items, including Jewellery, Greetings Cards and Gifts
Received on 2009-04-05

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa