Hi, while compiling DirectFB-0.9.25.1 on my iBook (OS X 10.4, all updates and such) I got this error.
After a quick google I found out SHCALLOC is part of Fusion, so I guess some of the OS X code is somewhat outdated? Or is this fixed in CVS versions? (cd .libs && rm -f libdirectfb_osxinput.la && ln -s ../ libdirectfb_osxinput.la libdirectfb_osxinput.la) /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. - I../.. -I../../include -I../../include -I../../lib -I../../lib -I../../src - D_REENTRANT -I/sw/include -O3 -ffast-math -pipe -D_GNU_SOURCE - Werror-implicit-function-declaration -c primary.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include - I../../lib -I../../lib -I../../src -D_REENTRANT -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 cheers, Roel Baardman _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
