We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2246

Summary: Link Failing on Raspberry Pi
Product: SDL Reporter: Joe LeVeque <joeleveque>
Component: videoAssignee: Gabriel Jacobo <gabomdq>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: blocker    
Priority: P2    
Version: HG 2.1   
Hardware: ARM   
OS: Linux   

Description Joe LeVeque 2013-11-17 03:08:18 UTC
I'm now getting a bunch of linker errors stemming from SDL_rpievents.c, SDL_rpimouse.c and SDL_rpivideo.c when compiling on the RPi, which I believe are are related to changeset #8000. I'm trying to get to the bottom of it, but I figured I'd post first, in case someone can beat me to it.

The errors:

/src/video/raspberry/SDL_rpievents.c:39: undefined reference to `SDL_EVDEV_Poll'
/src/video/raspberry/SDL_rpimouse.c:223: undefined reference to `vc_dispmanx_update_start'

... other various vc_dispmanx* link errors from SDL_rpimouse.c...

/src/video/raspberry/SDL_rpivideo.c:256: undefined reference to `vc_dispmanx_update_start'

... other various vc_dispmanx* link errors from SDL_rpivideo.c...

src/video/raspberry/SDL_rpivideo.c:197: undefined reference to `SDL_EVDEV_Quit'
build/.libs/SDL_rpivideo.o: In function `RPI_VideoInit':
src/video/raspberry/SDL_rpivideo.c:151: undefined reference to `bcm_host_init'
src/video/raspberry/SDL_rpivideo.c:155: undefined reference to `graphics_get_display_size'
src/video/raspberry/SDL_rpivideo.c:178: undefined reference to `vc_dispmanx_display_open'
src/video/raspberry/SDL_rpivideo.c:185: undefined reference to `SDL_EVDEV_Init'
Comment 1 Gabriel Jacobo 2013-11-17 14:09:53 UTC
Fixed: https://hg.libsdl.org/SDL/rev/f4264c673a8d