Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Trying to compile a more current build of RB based on maxwen0's patch series
« previous next »
  • Print
Pages: [1]

Author Topic: Trying to compile a more current build of RB based on maxwen0's patch series  (Read 2056 times)

Offline viperman3

  • Member
  • *
  • Posts: 20
Trying to compile a more current build of RB based on maxwen0's patch series
« on: September 17, 2007, 11:46:01 PM »
Originally posted here http://www.iaudiophile.net/forums/showthread.php?t=16856 but it was suggested to make a post on this forum to get better help ...


Well, it's been such a long while since the last maxwen0 build so I got myself to try to follow maxwen0's patch series and have a got at compiling a version on RB based on more current code.

Anyways, this being the first time I tried this, there were bound to be some problems to overcome ... so this is the reason why I'm posting this.

The patches I applied without any errors, but when I issue the make command to compile the code, I get an error.

Here's the snippit of the output:

Code: [Select]
Normal build selected
Using source code root directory: /rockbox-20070917
Using m68k-elf-gcc 3.4.5 (304)
Using m68k-elf-ld 2.16
Created Makefile
bash-3.2$ make
gcc -g rdf2binary.c -o rdf2binary
gcc -g convbdf.c -o convbdf
gcc -g codepages.c codepage_tables.c -o codepages
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 -O -ansi -g   -c -o descramble.o descramble.c
gcc -g  descramble.o iriver.o gigabeat.o   -o descramble
gcc -g mkboot.c -o mkboot
gcc -DAPPLICATION_NAME=\"bmp2rb\" -g bmp2rb.c -o bmp2rb
Create sysfont.h
Header parsed
CC ata_idle_notify.c
CC backlight.c
CC buffer.c
CC id3.c
CC powermgmt.c
CC system.c
CC usb.c
CC kernel.c
CC rolo.c
CC thread.c
CC timer.c
CC panic.c
CC debug.c
CC common/atoi.c
CC common/crc32.c
CC common/ctype.c
CC common/dir_uncached.c
CC common/file.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/structec.c
CC common/timefuncs.c
CC common/unicode.c
CC scroll_engine.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/lcd-remote-2bit-vi.c
drivers/lcd-remote-2bit-vi.c: In function `lcd_remote_puts_customline_style_offset':
drivers/lcd-remote-2bit-vi.c:1067: error: too many arguments to function lcd_remote_putsxyofs'
make[1]: *** [/rockbox-20070917/build/firmware/drivers/lcd-remote-2bit-vi.o] Error 1
make: *** [build] Error 2

So, this is where I'm stuck  ???

Anyone willing to assist on this matter?

btw, here's the order I applied the patches in (I changed the names of the patches to include a number sequence)

Code: [Select]
patch --binary -p1 < 01-ymargin-scrollinfo_20070728.patch
patch --binary -p0 < 02-scroll-margins_20070915.patch
patch --binary -p0 < 03-album_art_20070823.patch
patch --binary -p1 < 04-bmpresize-20070624.patch
patch --binary -p1 < 06-multifont_complete-20070831.patch
patch --binary -p1 < 07-customline-20070915.patch
patch --binary -p0 < 08-custom_list_position-20070622.patch
patch --binary -p1 < 09-WPS-buffer.patch
patch --binary -p1 < 10-increase_button_filtering.patch
patch --binary -p1 < 11-battery_minutes_tag.patch
patch --binary -p0 < 12-rockcalendar.patch
patch --binary -p0 < 14-newinsert.patch
patch --binary -p1 < 16-dircache_size.patch


regards,

vm3

Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Trying to compile a more current build of RB based on maxwen0's patch series
« Reply #1 on: September 18, 2007, 09:34:53 PM »
One of your patches is out of date.  See if there is an updated version.  If not, look at the function in question and see what was changed in SVN, then update your patch to work with SVN.
Logged

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: Trying to compile a more current build of RB based on maxwen0's patch series
« Reply #2 on: September 27, 2007, 03:15:59 PM »
You may not like this, but you realy should only add 1 patch at a time and at each stage check nothing is broken. Looking at your list there could be more than 1 broken patch.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Trying to compile a more current build of RB based on maxwen0's patch series
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.072 seconds with 15 queries.