Menu

compiling on SunOS 5.5.1

Help
2001-08-08
2001-08-08
  • Bill Gisonda

    Bill Gisonda - 2001-08-08

    Hello all,

    compiling on SunOS 5.5.1
    Using g++ 2.95.2

    I recieve the following errors.
    OstringStream.cpp: In function `int {anonymous}::vsnprintf(char *, unsigned int, const char *, void *)':
    OstringStream.cpp:34: `_IOSTRG' undeclared (first use this function)
    OstringStream.cpp:34: (Each undeclared identifier is reported only once
    OstringStream.cpp:34: for each function it appears in.)
    OstringStream.cpp:36: `struct FILE' has no member named `_bufsiz'
    OstringStream.cpp:38: `struct FILE' has no member named `_bufendp'
    OstringStream.cpp:38: `struct FILE' has no member named `_bufsiz'

    I have not had much time at all to dive into the source to see what I can do, but if anyone has encountered this, any kind of feedback would be helpful. Thanks!

    Sincerely,
    Will

     
    • Bastiaan Bakker

      Bastiaan Bakker - 2001-08-08

      If SunOS 5.5.1 has a usable snprintf (even if not C99 compliant) a quick hack to work around it is to manually define LOG4CPP_HAVE_SNPRINTF in include/log4cpp/config.h.

      Bastiaan

       

Log in to post a comment.

MongoDB Logo MongoDB