Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: subzero on November 02, 2006, 05:17:09 PM

Title: Target Tree compile errors?
Post by: subzero on November 02, 2006, 05:17:09 PM
Since the  30 Oct 08:56   Jonathan Gordon   "move the iriver h1x0/h3x0 targets to the target tree" CVS commit related to the iRiver TARGET_TREE structure, I been having problems compiling. The CVS build auto-build-server warning/error log does not show any errors?  ???

Am I really the only one who can't compile the iRiver builds because of the TARGET_TREE restructuring?

ERROR OUTPUT LOG:
Code: [Select]
[root@mandriva 1xx]# ../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) Gmini 120         14) H10 20Gb           24) 4G Grayscale
  5) Gmini SP          15) H10 5/6Gb          25) Mini 1G
  6) Ondio SP                                 26) Mini 2G
  7) Ondio FM

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

 ==Tatung==
 60) Elio TPJ-1022
10
Platform set to h120

Build (N)ormal, (D)evel, (S)imulator, (B)ootloader, (M)anual? (N)

Normal build selected
Using source code root directory: /mnt/hgfs/Rockbox-clean
Using m68k-elf-gcc 4.0.3 (400)
Created Makefile
[root@mandriva 1xx]# 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 common/unicode.c
CC backlight.c
In file included from backlight.c:30:
export/button.h:71:27: error: button-target.h: No such file or directory
backlight.c:45:30: error: backlight-target.h: No such file or directory
backlight.c: In function ?backlight_isr?:
backlight.c:182: warning: implicit declaration of function ?__backlight_on?
backlight.c:192: warning: implicit declaration of function ?__backlight_off?
backlight.c: In function ?remote_backlight_update_state?:
backlight.c:408: warning: implicit declaration of function ?__remote_backlight_off?
backlight.c:428: warning: implicit declaration of function ?__remote_backlight_on?
make[1]: *** [/mnt/hgfs/Rockbox-clean/1xx/firmware/backlight.o] Error 1
make: *** [all] Error 2
[root@mandriva 1xx]#  

Title: Re: Target Tree compile errors?
Post by: obo on November 02, 2006, 05:30:46 PM
If you're using a CVS checkout, have you updated with "cvs up -dP"??  The -d option will "Create any directories that exist in the repository if they're missing from the working directory."
Title: Re: Target Tree compile errors?
Post by: subzero on November 02, 2006, 05:35:14 PM
I am using the "http://www.rockbox.org/dist/build-source/rockbox-bleeding.tar.bz2". Are the CVS and the tar.bz2 archives not the same?

I will do a CVS checkout and try again.
Title: Re: Target Tree compile errors?
Post by: Llorean on November 02, 2006, 05:37:50 PM
Due to the way the tar.bz2 file is created, the script that does it may not have been updated to properly include everything after the change.
Title: Re: Target Tree compile errors?
Post by: subzero on November 02, 2006, 06:40:52 PM
A CVS checkout seemed to solve the problem. I hope the tar.bz2 generator scripts will be fixed. Thanks for your help!
Title: Re: Target Tree compile errors?
Post by: LinusN on November 03, 2006, 02:48:51 PM
Fixed.