Hello,
I am trying to compile DirectFB on an Intel Mac mini and have some
trouble doing so:
The most successfull configuration appears to be
./configure --enable-static --enable-osx --prefix=$HOME --with-tests \
LDFLAGS='-L/Users/chris/lib' CPPFLAGS='-I/Users/chris/include'
--disable-mmx --disable-multi
but make stops at this point:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include
-I../../lib -I../../lib -I../../src -D_REENTRANT -I/Users/chris/include
-I/sw/include -O3 -ffast-math -pipe -D_GNU_SOURCE
-Werror-implicit-function-declaration -c primary.c -fno-common -DPIC -o
.libs/primary.o
primary.c:316:69: error: macro "SHCALLOC" requires 3 arguments, but only 2 given
primary.c: In function 'primaryAllocateSurface':
primary.c:316: error: 'SHCALLOC' undeclared (first use in this function)
primary.c:316: error: (Each undeclared identifier is reported only once
primary.c:316: error: for each function it appears in.)
primary.c: In function 'dfb_osx_set_video_mode':
primary.c:560: error: implicit declaration of function 'fusion_is_shared'
primary.c:561:57: error: macro "SHMALLOC" requires 2 arguments, but only 1 given
primary.c:561: error: 'SHMALLOC' undeclared (first use in this function)
primary.c:569: warning: passing argument 3 of 'fusion_call_execute' makes
integer from pointer without a cast
primary.c:569: error: too few arguments to function 'fusion_call_execute'
primary.c:572:23: error: macro "SHFREE" requires 2 arguments, but only 1 given
primary.c:572: error: 'SHFREE' undeclared (first use in this function)
primary.c:588:50: error: macro "SHMALLOC" requires 2 arguments, but only 1 given
primary.c: In function 'dfb_osx_update_screen':
primary.c:588: error: 'SHMALLOC' undeclared (first use in this function)
primary.c:597: warning: passing argument 3 of 'fusion_call_execute'
makes integer from pointer without a cast primary.c:597: error: too few
arguments to function 'fusion_call_execute' primary.c:600:23: error:
macro "SHFREE" requires 2 arguments, but only 1 given primary.c:600:
error: 'SHFREE' undeclared (first use in this function) primary.c: In
function 'dfb_osx_set_palette': primary.c:611: warning: passing
argument 3 of 'fusion_call_execute' makes integer from pointer without
a cast primary.c:611: error: too few arguments to function
'fusion_call_execute' make[3]: *** [primary.lo] Error 1 make[2]: ***
[all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: ***
[all-recursive-am] Error 2
I am not sure about the current state of OSX support in DirectFB but any
hints would be great!
Greetings, Christian
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users