Denis Oliver Kropp wrote: >> /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpegtool.c:131: >> >> error: too many arguments to function 'SH7722_JPEG_Encode' > > Just fixed that: > > http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=3fc2cda70ab14e3d79891996bac590d905ce1286
Hi, today's git version also has a change in this and fails again. The new SH7722_JPEG_Encode() prototype has one more parameter *tmpphys*: -------- DirectResult SH7722_JPEG_Encode( const char *filename, const DFBRectangle *srcrect, DFBSurfacePixelFormat srcformat, unsigned long srcphys, int srcpitch, unsigned int width, unsigned int height, unsigned int tmpphys ); -------- This must be modified in the sh7722_jpegtool.c as well. Anyway I've got a new problem with linking: sh_sh4le-gcc -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -o .libs/sh7722_jpegtool sh7722_jpegtool.o ../../src/.libs/libdirectfb.so ./.libs/libsh7722_jpeg.so -ldl -lpthread sh_sh4le-ld: warning: libdirect-1.3.so.0, needed by ../../src/.libs/libdirectfb.so, not found (try using -rpath or -rpath-link) sh_sh4le-ld: warning: libfusion-1.3.so.0, needed by ../../src/.libs/libdirectfb.so, not found (try using -rpath or -rpath-link) sh7722_jpegtool.o: In function `write_ppm': sh7722_jpegtool.c:(.text+0x1b8): undefined reference to `direct_page_align' ... ... etc.etc. undefined references to all directfb symbols because of the previous library mismatch. Is a -rpath-link parameter really missing somewhere in Makefiles? Thanks a lot, Rene _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev