Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 13:51:37 +0400
From:      Alexey Lebedev <lebedev@zhtw.org.ru>
To:        ports@freebsd.org
Subject:   Can't build net/rrdtool
Message-ID:  <1180086697.2242.1.camel@samanka.umc8.mai.ru>

next in thread | raw e-mail | index | archive | help
Hello!

This is the output of make:

===>  Building for rrdtool-1.2.23
gmake  all-recursive
gmake[1]: Entering directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23'
Making all in src
gmake[2]: Entering directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/src'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/src'
Making all in doc
gmake[2]: Entering directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/doc'
Making all in examples
gmake[2]: Entering directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/examples'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/examples'
Making all in bindings
gmake[2]: Entering directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings'
gmake[3]: Entering directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings'
cd perl-piped && gmake
gmake[4]: Entering directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/perl-piped'
gmake[4]: Leaving directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/perl-piped'
cd perl-shared && gmake
gmake[4]: Entering directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/perl-shared'
gmake[4]: Leaving directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/perl-shared'
cd python && env LIBDIR=../../src/.libs /usr/local/bin/python2.4
setup.py build
running build
running build_ext
building 'rrdtoolmodule' extension
cc -fno-strict-aliasing -DNDEBUG -O2 -fno-strict-aliasing -pipe
-D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -O2 -fno-strict-aliasing
-pipe -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W -fPIC -DPIC -fPIC -I/usr/local
-I/usr/local/include/python2.4 -c rrdtoolmodule.c -o
build/temp.freebsd-6.2-STABLE-amd64-2.4/rrdtoolmodule.o
rrdtoolmodule.c:43:17: rrd.h: No such file or directory
In file included from rrdtoolmodule.c:44:
rrd_extra.h:37:24: rrd_format.h: No such file or directory
In file included from rrdtoolmodule.c:44:
rrd_extra.h:48: error: syntax error before '*' token
rrd_extra.h:49: error: syntax error before '*' token
rrd_extra.h:51: error: syntax error before "rrd_t"
rrdtoolmodule.c: In function `PyRRD_create':
rrdtoolmodule.c:106: warning: implicit declaration of function
`rrd_create'
rrdtoolmodule.c:106: warning: nested extern declaration of `rrd_create'
rrdtoolmodule.c:107: warning: implicit declaration of function
`rrd_get_error'
rrdtoolmodule.c:107: warning: nested extern declaration of
`rrd_get_error'
rrdtoolmodule.c:107: warning: passing arg 2 of `PyErr_SetString' makes
pointer from integer without a cast
rrdtoolmodule.c:108: warning: implicit declaration of function
`rrd_clear_error'
rrdtoolmodule.c:108: warning: nested extern declaration of
`rrd_clear_error'
rrdtoolmodule.c: In function `PyRRD_update':
rrdtoolmodule.c:134: warning: implicit declaration of function
`rrd_update'
rrdtoolmodule.c:134: warning: nested extern declaration of `rrd_update'
rrdtoolmodule.c:135: warning: nested extern declaration of
`rrd_get_error'
rrdtoolmodule.c:135: warning: passing arg 2 of `PyErr_SetString' makes
pointer from integer without a cast
rrdtoolmodule.c:136: warning: nested extern declaration of
`rrd_clear_error'
rrdtoolmodule.c: In function `PyRRD_fetch':
rrdtoolmodule.c:156: error: `rrd_value_t' undeclared (first use in this
function)
rrdtoolmodule.c:156: error: (Each undeclared identifier is reported only
once
rrdtoolmodule.c:156: error: for each function it appears in.)
rrdtoolmodule.c:156: error: `data' undeclared (first use in this
function)
rrdtoolmodule.c:156: error: `datai' undeclared (first use in this
function)
rrdtoolmodule.c:156: warning: left-hand operand of comma expression has
no effect
rrdtoolmodule.c:165: warning: implicit declaration of function
`rrd_fetch'
rrdtoolmodule.c:165: warning: nested extern declaration of `rrd_fetch'
rrdtoolmodule.c:167: warning: nested extern declaration of
`rrd_get_error'
rrdtoolmodule.c:167: warning: passing arg 2 of `PyErr_SetString' makes
pointer from integer without a cast
rrdtoolmodule.c:168: warning: nested extern declaration of
`rrd_clear_error'
rrdtoolmodule.c:175: error: syntax error before "dv"
rrdtoolmodule.c:201: error: `dv' undeclared (first use in this function)
rrdtoolmodule.c: In function `PyRRD_graph':
rrdtoolmodule.c:253: warning: implicit declaration of function
`rrd_graph'
rrdtoolmodule.c:253: warning: nested extern declaration of `rrd_graph'
rrdtoolmodule.c:254: warning: nested extern declaration of
`rrd_get_error'
rrdtoolmodule.c:254: warning: passing arg 2 of `PyErr_SetString' makes
pointer from integer without a cast
rrdtoolmodule.c:255: warning: nested extern declaration of
`rrd_clear_error'
rrdtoolmodule.c: In function `PyRRD_tune':
rrdtoolmodule.c:302: warning: implicit declaration of function
`rrd_tune'
rrdtoolmodule.c:302: warning: nested extern declaration of `rrd_tune'
rrdtoolmodule.c:303: warning: nested extern declaration of
`rrd_get_error'
rrdtoolmodule.c:303: warning: passing arg 2 of `PyErr_SetString' makes
pointer from integer without a cast
rrdtoolmodule.c:304: warning: nested extern declaration of
`rrd_clear_error'
rrdtoolmodule.c: In function `PyRRD_first':
rrdtoolmodule.c:328: warning: implicit declaration of function
`rrd_first'
rrdtoolmodule.c:328: warning: nested extern declaration of `rrd_first'
rrdtoolmodule.c:329: warning: nested extern declaration of
`rrd_get_error'
rrdtoolmodule.c:329: warning: passing arg 2 of `PyErr_SetString' makes
pointer from integer without a cast
rrdtoolmodule.c:330: warning: nested extern declaration of
`rrd_clear_error'
rrdtoolmodule.c: In function `PyRRD_last':
rrdtoolmodule.c:352: warning: implicit declaration of function
`rrd_last'
rrdtoolmodule.c:352: warning: nested extern declaration of `rrd_last'
rrdtoolmodule.c:353: warning: nested extern declaration of
`rrd_get_error'
rrdtoolmodule.c:353: warning: passing arg 2 of `PyErr_SetString' makes
pointer from integer without a cast
rrdtoolmodule.c:354: warning: nested extern declaration of
`rrd_clear_error'
rrdtoolmodule.c: In function `PyRRD_resize':
rrdtoolmodule.c:377: warning: implicit declaration of function
`rrd_resize'
rrdtoolmodule.c:377: warning: nested extern declaration of `rrd_resize'
rrdtoolmodule.c:378: warning: nested extern declaration of
`rrd_get_error'
rrdtoolmodule.c:378: warning: passing arg 2 of `PyErr_SetString' makes
pointer from integer without a cast
rrdtoolmodule.c:379: warning: nested extern declaration of
`rrd_clear_error'
rrdtoolmodule.c: In function `PyRRD_info':
rrdtoolmodule.c:397: error: syntax error before "rrd"
rrdtoolmodule.c:405: error: `rrd' undeclared (first use in this
function)
rrdtoolmodule.c:406: warning: nested extern declaration of
`rrd_get_error'
rrdtoolmodule.c:406: warning: passing arg 2 of `PyErr_SetString' makes
pointer from integer without a cast
rrdtoolmodule.c:407: warning: nested extern declaration of
`rrd_clear_error'
rrdtoolmodule.c:448: error: `DS_mrhb_cnt' undeclared (first use in this
function)
rrdtoolmodule.c:449: error: `DS_min_val' undeclared (first use in this
function)
rrdtoolmodule.c:450: error: `DS_max_val' undeclared (first use in this
function)
rrdtoolmodule.c:452: error: `PDP_val' undeclared (first use in this
function)
rrdtoolmodule.c:453: error: `PDP_unkn_sec_cnt' undeclared (first use in
this function)
rrdtoolmodule.c:469: error: `RRA_cdp_xff_val' undeclared (first use in
this function)
rrdtoolmodule.c:481: error: `CDP_val' undeclared (first use in this
function)
rrdtoolmodule.c:483: error: `CDP_unkn_pdp_cnt' undeclared (first use in
this function)
rrdtoolmodule.c: In function `PyRRD_fetch':
rrdtoolmodule.c:156: warning: statement with no effect
error: command 'cc' failed with exit status 1
gmake[3]: *** [python] Error 1
gmake[3]: Leaving directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/rrdtool.
*** Error code 1

Stop in /usr/ports/net/rrdtool.
avl@samanka:/usr/ports/net/rrdtool$ 

Alexey Lebedev.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1180086697.2242.1.camel>