Hi,
I'm trying to recompile directFB on the RPI (as available from
http://directfb.org/raspbian/) but I'm not sure I've got the good
configure options and I did not find the kernel modules (linux-one.ko
and fusion.ko) so I guess they were not generated.
Any advice is welcome !
shazz
I used :
$ ./configure --prefix=/opt/directfb CFLAGS=-I/opt/vc/include
-I/opt/vc/include/interface/vcos/pthreads LDFLAGS=-L/opt/vc/lib
LIBS=-lEGL -lGLESv2 --disable-x11 --enable-egl --with-gfxdrivers=gles2
--disable-debug --enable-sdl
## --------- ##
## Platform. ##
## --------- ##
hostname = pi
uname -m = armv6l
uname -r = 3.2.27+
uname -s = Linux
uname -v = #250 PREEMPT Thu Oct 18 19:03:02 BST 2012
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
and I got :
configure:27635: result:
Build options:
Version 1.7.0
Linux powered yes
Install prefix /opt/directfb
Config files in /opt/directfb/etc
Build shared libs yes
Build static libs no
Module directory ${exec_prefix}/lib/directfb-1.7-0
CPPFLAGS -D_REENTRANT
CFLAGS -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-strict-aliasing
-Werror-implicit-function-declaration -O3 -g2 -ffast-math -pipe
-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads
-D_GNU_SOURCE -s
td=gnu99 -Werror-implicit-function-declaration
LDFLAGS -L/opt/vc/lib
LIBS -ldl -lrt -lpthread -lEGL -lGLESv2
DYNLIB -ldl
RTLIB -lrt
THREADFLAGS -D_REENTRANT
THREADLIB -lpthread
Misc options:
Multi Application Core no
Fusion Kernel Device N/A
Fusion message size 16384
Fluxed args size 1024
One (IPC) no
Voodoo (network support) no
Pure Voodoo (net only) no
DiVine (virtual input) no
FusionDale no
Debug supported yes
Debug enabled no
Trace support no
MMX support no
SSE support no
Network support yes
Include all strings yes
Software Rendering yes
Smooth SW Scaling no
Dithering none
Dithering 565 none
zlib compression no
Using setsockopt yes
Building Tests no
Building Tools yes
Building System Modules:
Linux FBDev support yes
Generic /dev/mem support yes
Mesa/DRM/KMS support no
PVR2D no
EGL yes -DUSE_VCHIQ_ARM
-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads
-L/opt/vc/lib -lEGL -lbcm_host -lvcos -lvchiq_arm
X11 support no
X11/VDPAU support no
OSX support no
SDL support yes -D_GNU_SOURCE=1
-D_REENTRANT -I/usr/local/include/SDL -Wl,-rpath,/usr/local/lib
-L/usr/local/lib -lSDL -lpthread
VNC support no
Building Window Manager Modules:
Default yes
UniQuE no
SaWMan no
Building Image Provider Modules:
GIF yes
JPEG yes -ljpeg
PNG yes
-I/usr/include/libpng12 -lpng12
Imlib2 no
PNM yes
SVG no
BMP yes
JPEG2000 no
MPEG2 yes
Building Video Provider Modules:
GIF yes
Video4Linux yes (v2: no)
MNG no
Gstreamer no (v1: no)
with FusionSound
AviFile no
Flash no
Libmpeg3 no
OpenQuicktime no
Xine no
Xine/VDPAU no
Swfdec no
FFmpeg no
Building Font Modules:
FreeType2 yes
-I/usr/include/freetype2 -lfreetype
LinoType no
Default font yes
Building FusionSound no
configure:27823: result:
Building Graphics Drivers:
3Dfx Voodoo no
ATI Mach64 no
ATI Rage 128 no
ATI Radeon no
Cirrus EP9X no
Intel i810 no
Intel i830 no
Matrox no
NeoMagic no
NSC Geode no
nVidia no
PVR2D no
PXA 3xx no
Renesas SH7722/SH7723 no
S3 Savage no
SiS 315 no
TI Davinci no
TI OMAP no
TVIA CyberPro no
VIA CLE266 no
VIA UniChrome no
VMWare no
VDPAU no
--
OpenGL no (GLX: no)
OpenGL ES 2.0 yes (Mesa: no, PVR2D: no)
-DUSE_VCHIQ_ARM
-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads
-DGLES2_EGL -L/opt/vc/lib -lEGL -lbcm_host -lvcos -lvchiq_arm
IDirectFBGL-EGL no -DUSE_VCHIQ_ARM -I/opt/vc/include
-I/opt/vc/include/interface/vcos/pthreads -L/opt/vc/lib -lEGL
-lbcm_host -lvcos -lvchiq_arm
Building Input Drivers:
DBox2 Remote no
DreamBox Remote no
Dynapro Touchscreen no
ELO Touchscreen no
Gunze Touchscreen no
H3600 Touchscreen no
Input Hub yes
Joystick yes
Keyboard yes
Linux Input yes
LiRC yes
MuTouch touchscreen yes
Zytronic touchscreen yes
PS/2 Mouse yes
Serial Mouse yes
SonyPI Jogdial yes
tslib no
ucb1x00 Touchscreen yes
WM97xx Touchscreen yes
configure:27879: result:
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev