[rrd-developers] Re: Compile error with 3-28 snapshot under Solaris 8 and GCC 3.3.2

Tobias Oetiker oetiker at ee.ethz.ch
Sun Apr 18 12:22:13 MEST 2004


Mar 28 Allen Wooden wrote:

>
> I'm trying to compile the 3-28 snapshot under Solaris8 and Gcc 3.3.2
> and get the following:
>
> rrd_restore.c: In function `xml2rrd':
> rrd_restore.c:172: warning: comparison between signed and unsigned
> rrd_restore.c:214: warning: comparison between signed and unsigned
> rrd_restore.c:268: warning: comparison between signed and unsigned
> rrd_restore.c:351: warning: comparison between signed and unsigned
> rrd_restore.c:390: warning: comparison between signed and unsigned
> rrd_restore.c: In function `rrd_write':
> rrd_restore.c:418: error: `O_BINARY' undeclared (first use in this function)
> rrd_restore.c:418: error: (Each undeclared identifier is reported only once
> rrd_restore.c:418: error: for each function it appears in.)
> *** Error code 1
> make: Fatal error: Command failed for target `rrd_restore.lo'
> Current working directory /usr2/build/rrdtool-2004-03-28/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /usr2/build/rrdtool-2004-03-28
> *** Error code 1
> make: Fatal error: Command failed for target `all'

sorry ... O_BINARY  seems to be somewhat windows centric ... added
an IFDEF

tobi

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker   +41(0)1-632-5286

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list