Denis Oliver Kropp wrote:
>I just fixed the calls in CVS. There was an API change.

Great!

Unfortunately there are still problems with OSX compile. I tried with
CVS from about 14:00 CET.

In debug.c:32

#include <linux/unistd.h> 

should be

#include <unistd.h>

I believe.

I added 

#include <fusion/fusion.h>

to osx/primary.c which resulted in:

 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 -MT primary.lo -MD -MP -MF 
.deps/primary.TPlo  -fno-common -DPIC -o .libs/primary.o
primary.c: In function 'dfb_osx_set_video_mode':
primary.c:561: warning: passing argument 1 of 'fusion_is_shared' from 
incompatible pointer type
primary.c:561: error: too few arguments to function 'fusion_is_shared'
primary.c:570: warning: passing argument 3 of 'fusion_call_execute' makes 
integer from pointer without a cast
primary.c:570: error: too few arguments to function 'fusion_call_execute'
primary.c: In function 'dfb_osx_update_screen':
primary.c:588: warning: passing argument 1 of 'fusion_is_shared' from 
incompatible pointer type
primary.c:588: error: too few arguments to function 'fusion_is_shared'
primary.c:598: warning: passing argument 3 of 'fusion_call_execute' makes 
integer from pointer without a cast
primary.c:598: error: too few arguments to function 'fusion_call_execute'
primary.c: In function 'dfb_osx_set_palette':
primary.c:612: warning: passing argument 3 of 'fusion_call_execute' makes 
integer from pointer without a cast
primary.c:612: 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] Error 2

I suspect more API changes. 

Additionally I have problems with autogen.sh from CVS.
libtool is called glibtool on OSX. I changed autogen.sh by hand but I
don't know yet if a clean automatic solution to this problem exists.

I will look for that soon if necessary.

Greetings, Christian

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to