[OpenIndiana-discuss] Darktable 2.0.5

ken mays maybird1776 at yahoo.com
Mon Jul 18 09:59:06 UTC 2016


Ben,
Oracle reference of the usage:https://docs.oracle.com/cd/E36784_01/html/E36874/sprintf-3c.html
and this reference:https://www.gnu.org/software/gnulib/manual/html_node/dprintf.html

Enjoy!,Ken
 

    On Sunday, July 17, 2016 10:06 PM, "bentahyr at chez.com" <bentahyr at chez.com> wrote:
 

 Hi,
I'm trying to compile this software on OI and fell onto the requirement of dprintf :

darktable-release-2.0.5/src/common/darktable.c:174:3: error: implicit declaration of function 'dprintf' [-Werror=implicit-function-declaration]
  dprintf(fout, "this is %s reporting a segfault:\n\n", PACKAGE_STRING);
  ^
cc1: some warnings being treated as errors
src/CMakeFiles/lib_darktable.dir/build.make:279: recipe for target 'src/CMakeFiles/lib_darktable.dir/common/darktable.c.o' failed
gmake[2]: *** [src/CMakeFiles/lib_darktable.dir/common/darktable.c.o] Error 1

It seems that Openindiana doesn't support this function, am I correct ?

If yes, should I use fprintf instead (with some file descriptor juggling ?

Best regards.
Ben

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


  


More information about the openindiana-discuss mailing list