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 677 - Problem compiling with --enable-video-directfb
Summary: Problem compiling with --enable-video-directfb
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 2.0.0
Hardware: x86 Other
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-13 05:04 UTC by Eric Miranda
Modified: 2009-01-13 19:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Miranda 2009-01-13 05:04:40 UTC
with this configure:

./configure \
  --prefix=/usr \
  --disable-video-svga \
  --enable-shared=yes \
  --enable-video-directfb \
  --enable-static=no \
  --disable-x11-shared 

I got error:

./src/video/directfb/SDL_DirectFB_window.c: In function 'DirectFB_AdjustWindowSurface':
./src/video/directfb/SDL_DirectFB_window.c:426: error: 'IDirectFBSurface' has no member named 'MakeSubSurface'
make[1]: *** [build/SDL_DirectFB_window.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
 gcc -O2 -march=i486 -mtune=i686 -I./include -D_GNU_SOURCE=1 -mmmx -m3dnow -msse -fvisibility=hidden -I/usr/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/directfb -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/directfb/SDL_DirectFB_video.c  -fPIC -DPIC -o build/.libs/SDL_DirectFB_video.o
 gcc -O2 -march=i486 -mtune=i686 -I./include -D_GNU_SOURCE=1 -mmmx -m3dnow -msse -fvisibility=hidden -I/usr/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/directfb -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/thread/pthread/SDL_systhread.c  -fPIC -DPIC -o build/.libs/SDL_systhread.o
make[1]: Leaving directory `/usr/slackports/distfiles/sdl13_dfb/sdl13_dfb-1.3'
make: *** [build] Error 1

if I disable directfb SDL compiles just fine.

tnx!
Comment 1 Sam Lantinga 2009-01-13 19:22:40 UTC
Date: Wed, 14 Jan 2009 00:29:27 +0100
From: Couriersud

Fixed. Tested in DirectFB 1.0.1 environment.