compiling xscanimage on Solaris 8

From: Michael K Bender (benderm@marmail.ed.ray.com)
Date: Fri Jul 13 2001 - 05:45:41 PDT

  • Next message: Mick Barry: "Re: compiling xscanimage on Solaris 8"

    Hello,

    I've already successfully compiled and have been able to run sane via the scanimage interface, but I would
    like to be able to use sane from a graphical interface, preferably as a plug-in to gimp. However, when I try
    to compile the frontends package, I get the following errors:

    ---
    ../include/sane/sanei_debug.h: In function `sanei_debug_sanei_debug_call':
    In file included from sanei_init_debug.c:66:
    ../include/sane/sanei_debug.h:76: `__builtin_va_alist' undeclared (first use in this function)
    ../include/sane/sanei_debug.h:76: (Each undeclared identifier is reported only once
    ../include/sane/sanei_debug.h:76: for each function it appears in.)
    ../include/sane/sanei_debug.h:74: warning: `ap' might be used uninitialized in this function
    sanei_init_debug.c: In function `sanei_debug_msg':
    sanei_init_debug.c:103: warning: implicit declaration of function `isfdtype'
    sanei_init_debug.c:108: warning: implicit declaration of function `syslog'
    sanei_init_debug.c:109: warning: implicit declaration of function `vsyslog'
    ---
    

    I have been able to get rid of the syslog and vsyslog errors by changing the #include <sys/syslog.h> to #include <syslog.h>, however, I haven't been able to get rid of the isfdtype or `__builtin_va_alist' error. I read back in the mailing list logs about the isfdtype problem with compiling sane, but that has been fixed. I was wondering if anybody has encountered this problem with xscanimage and knows how to resolve it.

    Thanks

    -- *==========================================* # Mike Bender Marlboro System Managers # # benderm@sels.rsc.raytheon.com # # 508.490.2849 # *==========================================*

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Fri Jul 13 2001 - 05:33:22 PDT