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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  error running rockbox in linux SDL
« previous next »
  • Print
Pages: [1]

Author Topic: error running rockbox in linux SDL  (Read 2009 times)

Offline powerpan

  • Member
  • *
  • Posts: 52
error running rockbox in linux SDL
« on: April 13, 2011, 12:20:37 AM »
ver 3.8
configure select SDL, Normal
run ./rockbox
select a mp3 file, then :

SDL_WaitEvent() error
.....
SDL_WaitEvent() error
SDL_WaitEvent() error
SDL_WaitEvent() error
Segmentation fault

what's wrong with the build?

Ver 3.8.1
when playing a MP3,
Segmentation fault

then quit.


after remake,

SDL_WaitEvent() error
SDL_WaitEvent() error
SDL_WaitEvent() error
SDL_WaitEvent() error
SDL_WaitEvent() error
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  4 (X_DestroyWindow)
  Resource id in failed request:  0x420000d
  Serial number of failed request:  116
  Current serial number in output stream:  114


while compiling sim any model mode, error is the same. don't know what's wrong.

and the same error while making any target choosing Simulate build, please figure out how I made wrong, thanks .


found problems, error opening codecs.
« Last Edit: April 13, 2011, 11:27:54 AM by powerpan »
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: error running rockbox in linux SDL
« Reply #1 on: April 13, 2011, 03:07:02 PM »
Quote from: powerpan on April 13, 2011, 12:20:37 AM
found problems, error opening codecs.

Did you run make install after recompiling?
Logged

Offline powerpan

  • Member
  • *
  • Posts: 52
Re: error running rockbox in linux SDL
« Reply #2 on: April 13, 2011, 08:00:51 PM »
sure, did as the docs told to do.

when remove the codec dir, it will report codec could not be loaded error, will not quit with the errors I posted, but when it could find the codec, error came.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: error running rockbox in linux SDL
« Reply #3 on: April 13, 2011, 08:04:46 PM »
Quote from: powerpan on April 13, 2011, 08:00:51 PM
sure, did as the docs told to do.

when remove the codec dir, it will report codec could not be loaded error, will not quit with the errors I posted, but when it could find the codec, error came.

Do a clean build and install, post the log and the exact error message you got.
Logged

Offline powerpan

  • Member
  • *
  • Posts: 52
Re: error running rockbox in linux SDL
« Reply #4 on: April 13, 2011, 10:53:17 PM »
problem clear after install bin2utils by rockboxdev.sh
I have cross compiler arm-none-linux-gnueabi-gcc so I saw the tool is going to install the tool chain, then I terminated it. so the problem comes.
can I use arm-none-linux-gnueabi-gcc as the compiler?

thanks
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: error running rockbox in linux SDL
« Reply #5 on: April 13, 2011, 10:59:16 PM »
Quote from: powerpan on April 13, 2011, 10:53:17 PM
problem clear after install bin2utils by rockboxdev.sh
I have cross compiler arm-none-linux-gnueabi-gcc so I saw the tool is going to install the tool chain, then I terminated it. so the problem comes.
can I use arm-none-linux-gnueabi-gcc as the compiler?

thanks

You should be using whatever your host gcc is.
Logged

Offline powerpan

  • Member
  • *
  • Posts: 52
Re: error running rockbox in linux SDL
« Reply #6 on: April 13, 2011, 11:27:07 PM »
I mean when I cross compile the source.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: error running rockbox in linux SDL
« Reply #7 on: April 13, 2011, 11:33:42 PM »
Quote from: powerpan on April 13, 2011, 11:27:07 PM
I mean when I cross compile the source.

Yes I know.  Unless arm-none-linux-gnueabi-gcc is what your machine uses as its native gcc, its not going to work. 
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  error running rockbox in linux SDL
 

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

Page created in 0.071 seconds with 15 queries.