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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Compiling errors in Ubuntu 9.10 *resolved*
« previous next »
  • Print
Pages: [1]

Author Topic: Compiling errors in Ubuntu 9.10 *resolved*  (Read 1431 times)

Offline yeskinger

  • Member
  • *
  • Posts: 1
Compiling errors in Ubuntu 9.10 *resolved*
« on: November 02, 2009, 02:59:50 PM »
I think the upgrade from ubuntu 9.04 to 9.10 was broken.  I updated the software a couple of times until all the packages were up to date and then started from scratch. This time I was able to compile without errors.   :D


-----------------------------------------

I followed the first time guide to rockbox development but have not been able to properly compile.  I'm running Ubuntu 9.10 for sansa e200.  I had the latest files from SVN, and then I tried downloading the latest release directly, but I get the same error.

when I "make" I get the following errors:

Please help  :)
TIA


root@king-laptop-D620:~/rockbox/build# make

CC apps/action.c

CC apps/alarm_menu.c

CC apps/abrepeat.c

CC apps/bookmark.c

In file included from /home/king/rockbox/apps/bookmark.c:37:
/home/king/rockbox/apps/talk.h:45: error: syntax error before ‘(’ token
/home/king/rockbox/apps/bookmark.c: In function ‘bookmark_autobookmark’:

/home/king/rockbox/apps/bookmark.c:188: error: ‘LANG_AUTO_BOOKMARK_QUERY’ undeclared (first use in this function)
/home/king/rockbox/apps/bookmark.c:188: error: (Each undeclared identifier is reported only once
/home/king/rockbox/apps/bookmark.c:188: error: for each function it appears in.)

/home/king/rockbox/apps/bookmark.c: In function ‘write_bookmark’:

/home/king/rockbox/apps/bookmark.c:236: error: ‘LANG_BOOKMARK_CREATE_SUCCESS’ undeclared (first use in this function)
/home/king/rockbox/apps/bookmark.c:236: error: invalid operands to binary +
/home/king/rockbox/apps/bookmark.c:237: error: ‘LANG_BOOKMARK_CREATE_FAILURE’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:237: error: invalid operands to binary +

/home/king/rockbox/apps/bookmark.c:237: warning: passing argument 2 of ‘splash’ from incompatible pointer type

/home/king/rockbox/apps/bookmark.c: In function ‘bookmark_autoload’:

/home/king/rockbox/apps/bookmark.c:399: error: ‘LANG_NOTHING_TO_RESUME’ undeclared (first use in this function)
/home/king/rockbox/apps/bookmark.c:399: error: invalid operands to binary +

/home/king/rockbox/apps/bookmark.c:399: warning: passing argument 2 of ‘splash’ from incompatible pointer type

/home/king/rockbox/apps/bookmark.c: In function ‘bookmark_load’:

/home/king/rockbox/apps/bookmark.c:444: error: ‘LANG_NOTHING_TO_RESUME’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:444: error: invalid operands to binary +
/home/king/rockbox/apps/bookmark.c:444: warning: passing argument 2 of ‘splash’ from incompatible pointer type

/home/king/rockbox/apps/bookmark.c: In function ‘bookmark_list_voice_cb’:

/home/king/rockbox/apps/bookmark.c:645: error: ‘LANG_BOOKMARK_DONT_RESUME’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:645: warning: passing argument 1 of ‘talk_id’ makes integer from pointer without a cast

/home/king/rockbox/apps/bookmark.c: In function ‘select_bookmark’:

/home/king/rockbox/apps/bookmark.c:691: error: ‘LANG_BOOKMARK_LOAD_EMPTY’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:691: error: invalid operands to binary +

/home/king/rockbox/apps/bookmark.c:691: warning: passing argument 2 of ‘splash’ from incompatible pointer type

/home/king/rockbox/apps/bookmark.c:713: error: ‘VOICE_EXT_BMARK’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:713: error: ‘LANG_LAST_INDEX_IN_ARRAY’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:729: error: ‘LANG_BOOKMARK_CONTEXT_RESUME’ undeclared (first use in this function)
/home/king/rockbox/apps/bookmark.c:729: error: invalid operands to binary +

/home/king/rockbox/apps/bookmark.c:729: error: ‘LANG_BOOKMARK_CONTEXT_DELETE’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:729: error: invalid operands to binary +

/home/king/rockbox/apps/bookmark.c:729: error: ‘LANG_BOOKMARK_CONTEXT_MENU’ undeclared (first use in this function)
/home/king/rockbox/apps/bookmark.c:729: error: invalid operands to binary +

/home/king/rockbox/apps/bookmark.c: In function ‘say_bookmark’:

/home/king/rockbox/apps/bookmark.c:846: error: ‘LANG_BOOKMARK_INVALID’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:846: warning: passing argument 1 of ‘talk_id’ makes integer from pointer without a cast

/home/king/rockbox/apps/bookmark.c:862: error: ‘VOICE_DIR’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:862: error: ‘LANG_LAST_INDEX_IN_ARRAY’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:864: error: ‘LANG_PLAYLIST’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:871: error: ‘LANG_SHUFFLE’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:871: warning: passing argument 1 of ‘talk_id’ makes integer from pointer without a cast

/home/king/rockbox/apps/bookmark.c:873: error: ‘VOICE_BOOKMARK_SELECT_INDEX_TEXT’ undeclared (first use in this function)
/home/king/rockbox/apps/bookmark.c:873: warning: passing argument 1 of ‘talk_id’ makes integer from pointer without a cast

/home/king/rockbox/apps/bookmark.c:875: error: ‘LANG_TIME’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:875: warning: passing argument 1 of ‘talk_id’ makes integer from pointer without a cast
/home/king/rockbox/apps/bookmark.c:882: error: ‘VOICE_FILE’ undeclared (first use in this function)

/home/king/rockbox/apps/bookmark.c:887: warning: passing argument 1 of ‘talk_id’ makes integer from pointer without a cast
make: *** [/home/king/rockbox/build/apps/bookmark.o] Error 1

« Last Edit: November 03, 2009, 03:07:02 AM by yeskinger »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Compiling errors in Ubuntu 9.10 *resolved*
 

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

Page created in 0.045 seconds with 15 queries.