[rrd-users] unsubscribe

Fabio Pina fpina at linear.com.br
Mon Sep 23 12:57:10 CEST 2013



-----Mensagem original-----
De: rrd-users-bounces+fpina=linear.com.br at lists.oetiker.ch
[mailto:rrd-users-bounces+fpina=linear.com.br at lists.oetiker.ch] Em nome de
rrd-users-request at lists.oetiker.ch
Enviada em: domingo, 22 de setembro de 2013 23:54
Para: rrd-users at lists.oetiker.ch
Assunto: rrd-users Digest, Vol 81, Issue 3

Send rrd-users mailing list submissions to
	rrd-users at lists.oetiker.ch

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
or, via email, send a message with subject or body 'help' to
	rrd-users-request at lists.oetiker.ch

You can reach the person managing the list at
	rrd-users-owner at lists.oetiker.ch

When replying, please edit your Subject line so it is more specific than
"Re: Contents of rrd-users digest..."


Today's Topics:

   1. RRDtool on OpenBSD 5.3 AMD64 (Stan Gammons)


----------------------------------------------------------------------

Message: 1
Date: Sun, 22 Sep 2013 21:53:04 -0500
From: Stan Gammons <s_gammons at charter.net>
Subject: [rrd-users] RRDtool on OpenBSD 5.3 AMD64
To: rrd-users at lists.oetiker.ch
Message-ID: <523FAD10.9040607 at charter.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I was trying to get  RRDtool 1.4.8 to compile on OpenBSD 5.3 AMD64 and get
the following error.

List of installed packages are at the bottom.

I get the same errors if I use ./configure --disable-tcl --disable-python
--disable-pthreads  then try to compile.

What's causing it to fail to compile?


Stan



# ./configure --disable-tcl --disable-python checking build system type...
x86_64-unknown-openbsd5.3 checking host system type...
x86_64-unknown-openbsd5.3 checking target system type...
x86_64-unknown-openbsd5.3 checking for gcc... gcc checking whether the C
compiler works... yes checking for C compiler default output file name...
a.out checking for suffix of executables...
checking whether we are cross compiling... no checking for suffix of object
files... o checking whether we are using the GNU C compiler... yes checking
whether gcc accepts -g... yes checking for gcc option to accept ISO C89...
none needed checking how to run the C preprocessor... gcc -E checking for
grep that handles long lines and -e... /usr/bin/grep checking for egrep...
/usr/bin/grep -E checking for ANSI C header files... yes checking for
sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h...
yes checking for string.h... yes checking for memory.h... yes checking for
strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes
checking for unistd.h... yes checking minix/config.h usability... no
checking minix/config.h presence... no checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes checking for a
BSD-compatible install... /usr/bin/install -c checking whether build
environment is sane... yes checking for a thread-safe mkdir -p...
./install-sh -c -d checking for gawk... no checking for mawk... no checking
for nawk... no checking for awk... awk checking whether make sets $(MAKE)...
yes checking for style of include used by make... GNU checking dependency
style of gcc... gcc3 checking whether to enable maintainer-specific portions
of Makefiles... no checking whether make supports nested variables... yes

Audit Compilation Environment
checking how to run the C preprocessor... gcc -E checking for gcc...
(cached) gcc checking whether we are using the GNU C compiler... (cached)
yes checking whether gcc accepts -g... (cached) yes checking for gcc option
to accept ISO C89... (cached) none needed checking whether gcc and cc
understand -c and -o together... yes checking how to print strings... print
-r checking for a sed that does not truncate output... /usr/bin/sed checking
for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or
MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister
(/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608 checking
whether the shell understands some XSI constructs... yes checking whether
the shell understands "+="... no checking how to convert
x86_64-unknown-openbsd5.3 file names to
x86_64-unknown-openbsd5.3 format... func_convert_file_noop checking how to
convert x86_64-unknown-openbsd5.3 file names to toolchain format...
func_convert_file_noop checking for /usr/bin/ld option to reload object
files... -r checking for objdump... objdump checking how to recognize
dependent libraries... match_pattern
/lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
checking for dlltool... no
checking how to associate runtime and link libraries... print -r -- checking
for ar... ar checking for archiver @FILE support... no checking for strip...
strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B
output from gcc object... ok checking for sysroot... no checking for mt...
mt checking if mt is a manifest tool... no checking for dlfcn.h... yes
checking for objdir... .libs checking if gcc supports -fno-rtti
-fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static
flag -static works... yes checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes checking whether the
gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether
-lc should be explicitly linked in... yes checking dynamic linker
characteristics... openbsd5.3 ld.so checking how to hardcode library paths
into programs... immediate checking whether stripping libraries is
possible... yes checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes checking whether to build
static libraries... yes checking if gcc likes the -Werror flag... yes
checking if gcc likes the -fno-strict-aliasing flag... yes checking if gcc
likes the -Wall flag... yes checking if gcc likes the -std=gnu99 flag... yes
checking if gcc likes the -pedantic flag... yes checking if gcc likes the
-Wundef flag... yes checking if gcc likes the -Wshadow flag... yes checking
if gcc likes the -Wpointer-arith flag... yes checking if gcc likes the
-Wcast-align flag... yes checking if gcc likes the -Wmissing-prototypes
flag... yes checking if gcc likes the -Wmissing-declarations flag... yes
checking if gcc likes the -Wnested-externs flag... yes checking if gcc likes
the -Winline flag... yes checking if gcc likes the -Wold-style-definition
flag... yes checking if gcc likes the -W flag... yes

Checking for Header Files
checking for ANSI C header files... (cached) yes checking for dirent.h that
defines DIR... yes checking for library containing opendir... none required
checking langinfo.h usability... yes checking langinfo.h presence... yes
checking for langinfo.h... yes checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes checking libgen.h usability... yes
checking libgen.h presence... yes checking for libgen.h... yes checking
features.h usability... no checking features.h presence... no checking for
features.h... no checking for sys/stat.h... (cached) yes checking for
sys/types.h... (cached) yes checking fcntl.h usability... yes checking
fcntl.h presence... yes checking for fcntl.h... yes checking fp_class.h
usability... no checking fp_class.h presence... no checking for
fp_class.h... no checking malloc.h usability... yes checking malloc.h
presence... yes checking for malloc.h... yes checking for unistd.h...
(cached) yes checking ieeefp.h usability... yes checking ieeefp.h
presence... yes checking for ieeefp.h... yes checking math.h usability...
yes checking math.h presence... yes checking for math.h... yes checking
sys/times.h usability... yes checking sys/times.h presence... yes checking
for sys/times.h... yes checking sys/param.h usability... yes checking
sys/param.h presence... yes checking for sys/param.h... yes checking
sys/resource.h usability... yes checking sys/resource.h presence... yes
checking for sys/resource.h... yes checking signal.h usability... yes
checking signal.h presence... yes checking for signal.h... yes checking
float.h usability... yes checking float.h presence... yes checking for
float.h... yes checking stdio.h usability... yes checking stdio.h
presence... yes checking for stdio.h... yes checking for stdlib.h...
(cached) yes checking errno.h usability... yes checking errno.h presence...
yes checking for errno.h... yes checking for string.h... (cached) yes
checking ctype.h usability... yes checking ctype.h presence... yes checking
for ctype.h... yes checking for an ANSI C-conforming const... yes checking
whether time.h and sys/time.h may both be included... yes checking whether
struct tm is in sys/time.h or time.h... time.h

Test Library Functions
checking for acos... no
checking for acos in -lm... yes
./configure[13421]: ./libtool: not found checking for strftime... yes
checking for vprintf... yes checking for _doprnt... no checking whether byte
ordering is bigendian... no checking for nl_langinfo... yes checking for
tzset... yes checking for round... yes checking for rint... yes checking for
fsync... yes checking for mbstowcs... yes checking for opendir... yes
checking for readdir... yes checking for chdir... yes checking for chroot...
yes checking for getuid... yes checking for strerror... yes checking for
snprintf... yes checking for vsnprintf... yes checking for vasprintf... yes
checking for fpclass... no checking for class... no checking for fp_class...
no checking for isnan... yes checking for memmove... yes checking for
strchr... yes checking for mktime... yes checking for getrusage... yes
checking for gettimeofday... yes checking whether strerror_r is declared...
yes checking for strerror_r... yes checking whether strerror_r returns char
*... no

Map/Fadvis/Madvise checking
checking for fdatasync... no
checking for fdatasync in -lrt... no
checking for fsync... (cached) yes
checking for socket... yes
checking for getaddrinfo... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes checking for getpagesize... yes
checking for working mmap... yes checking for mmap... yes checking for
munmap... yes checking for msync... yes checking whether madvise is
declared... yes checking for madvise... yes checking whether posix_fadvise
is declared... no checking for posix_fadvise... no checking for
posix_fallocate... no

Libintl Processing
checking whether NLS is requested... yes checking for msgfmt...
/usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking
for xgettext... /usr/local/bin/xgettext checking for msgmerge...
/usr/local/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking
if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run
path origin... done checking for CFPreferencesCopyAppValue... no checking
for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no
checking for iconv... no, consider installing GNU libiconv checking for GNU
gettext in libintl... no checking whether to use NLS... no

IEEE Math Checks
checking for fpclassify... no
checking for fpclassify with <math.h>... yes checking for isinf... yes
checking whether isfinite is broken... no checking if IEEE math works out of
the box... yes

Resolve Portability Issues
checking tm_gmtoff in struct tm... yes
checking __tm_gmtoff in struct tm... no
checking if msync with MS_ASYNC updates the files mtime... yes checking for
_NL_TIME_WEEK_1STDAY... no checking for nl_langinfo(_NL_TIME_WEEK_1STDAY)
with langinfo.h... no checking for opterr... yes checking for getopt_long...
yes checking if realloc can deal with NULL... yes checking if ctime_r need
special care to act posixly correct... no checking for the pthreads library
-lpthreads... no checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no checking whether pthreads
work with -kthread... no checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes checking for joinable
pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags
are required for pthreads... no checking for cc_r... gcc checking do we need
malloc/malloc.h... nope, works out of the box checking size of time_t... 4

Find 3rd-Party Libraries
checking dbi/dbi.h usability... no
checking dbi/dbi.h presence... no
checking for dbi/dbi.h... no
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking for hosts_access... no
checking for hosts_access in -lwrap... no checking for
cairo_font_options_create in -lcairo... no checking for pkg-config...
pkg-config checking for cairo_font_options_create in -lcairo... yes checking
cairo.h usability... yes checking cairo.h presence... yes checking for
cairo.h... yes checking for cairo_svg_surface_create in -lcairo... yes
checking cairo-svg.h usability... yes checking cairo-svg.h presence... yes
checking for cairo-svg.h... yes checking for cairo_pdf_surface_create in
-lcairo... yes checking cairo-pdf.h usability... yes checking cairo-pdf.h
presence... yes checking for cairo-pdf.h... yes checking for
cairo_ps_surface_create in -lcairo... yes checking cairo-ps.h usability...
yes checking cairo-ps.h presence... yes checking for cairo-ps.h... yes
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes
checking pango/pango.h usability... no checking pango/pango.h presence... no
checking for pango/pango.h... no checking for pkg-config... (cached)
pkg-config checking for pango_cairo_context_set_font_options in
-lpangocairo-1.0... yes checking pango/pango.h usability... yes checking
pango/pango.h presence... yes checking for pango/pango.h... yes checking for
glib_check_version in -lglib-2.0... yes checking glib.h usability... yes
checking glib.h presence... yes checking for glib.h... yes checking for
xmlParseFile in -lxml2... yes checking libxml/parser.h usability... no
checking libxml/parser.h presence... no checking for libxml/parser.h... no
checking for pkg-config... (cached) pkg-config checking for xmlParseFile in
-lxml2... yes checking libxml/parser.h usability... yes checking
libxml/parser.h presence... yes checking for libxml/parser.h... yes

Prep for Building Language Bindings
checking for perl... /usr/bin/perl
checking for pod2man... /usr/bin/pod2man checking for pod2html...
/usr/bin/pod2html checking for the perl version you are running... 5.12.2
checking for the C compiler perl wants to use to build its modules... cc
checking for cc... /usr/bin/cc checking Perl Modules to build... perl_piped
perl_shared checking for ruby... /usr/local/bin/ruby checking if ruby
modules can be built... YES checking for lua... no checking for gnroff... no
checking for nroff... /usr/local/bin/nroff checking for groff...
/usr/local/bin/groff

Apply Configuration Information
configure: creating ./config.status
ln: config.h: File exists
config.status: creating examples/shared-demo.pl
config.status: creating examples/piped-demo.pl
config.status: creating examples/stripes.pl
config.status: creating examples/bigtops.pl
config.status: creating examples/minmax.pl
config.status: creating examples/4charts.pl
config.status: creating examples/perftest.pl
config.status: creating examples/Makefile
config.status: creating examples/rrdcached/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/librrd.sym.in
config.status: creating src/librrd.pc
config.status: creating bindings/Makefile
config.status: creating bindings/tcl/Makefile
config.status: creating bindings/tcl/ifOctets.tcl
config.status: creating Makefile
config.status: creating bindings/lua/Makefile
config.status: creating rrd_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands checking in... and out again
ordering CD from http://tobi.oetiker.ch/wish .... just kidding ;-)

----------------------------------------------------------------
Config is DONE!

           With MMAP IO: yes
       Build rrd_getopt: no
        Build rrd_graph: yes
        Static programs: no
           Perl Modules: perl_piped perl_shared
            Perl Binary: /usr/bin/perl
           Perl Version: 5.12.2
           Perl Options: PREFIX=/opt/rrdtool-1.4.8 INSTALL_BASE=
LIB=/opt/rrdtool-1.4.8/lib/perl/5.12.2
           Ruby Modules: ruby
            Ruby Binary: /usr/local/bin/ruby
           Ruby Options: sitedir=/opt/rrdtool-1.4.8/lib/ruby
     Build Lua Bindings: no
     Build Tcl Bindings: no
  Build Python Bindings: no
           Build rrdcgi: yes
        Build librrd MT: yes
            Use gettext: no
            With libDBI: no
           With libwrap: no

              Libraries: -lglib-2.0 -lcairo -lcairo -lcairo -lm -lcairo
-lpng -lz -lm  -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm
-lgobject-2.0 -lglib-2.0 -lintl -liconv -lfontconfig -lexpat -lfreetype -lz
-lxml2

Type 'make' to compile the software and use 'make install' to install
everything to: /opt/rrdtool-1.4.8.

        ... that wishlist is NO JOKE. If you find RRDtool useful make me
happy. Go to http://tobi.oetiker.ch/wish and place an order.

                                -- Tobi Oetiker <tobi at oetiker.ch>
----------------------------------------------------------------
#
make  all-recursive
Making all in po
Making all in src
   CC     rrd_version.lo
   CC     rrd_last.lo
   CC     rrd_lastupdate.lo
rrd_lastupdate.c: In function 'rrd_lastupdate':
rrd_lastupdate.c:78: warning: format '%10lu' expects type 'long unsigned
int', but argument 2 has type 'time_t'
   CC     rrd_first.lo
   CC     rrd_restore.lo
   CC     rrd_dump.lo
   CC     rrd_flushcached.lo
   CC     rrd_fetch.lo
   CC     rrd_resize.lo
   CC     rrd_tune.lo
   CC     rrd_graph.lo
In file included from
/usr/local/include/pango-1.0/pango/pango-attributes.h:25,
                  from /usr/local/include/pango-1.0/pango/pango.h:25,
                  from /usr/local/include/pango-1.0/pango/pangocairo.h:25,
                  from rrd_graph.h:23,
                  from rrd_graph.c:36:
/usr/local/include/pango-1.0/pango/pango-font.h:380: warning: ISO C
restricts enumerator values to range of 'int'
rrd_graph.c: In function 'rrd_graph_init':
rrd_graph.c:4159: warning: 'pango_cairo_font_map_create_context' is
deprecated (declared at /usr/local/include/pango-1.0/pango/pangocairo.h:79)
   CC     rrd_graph_helper.lo
In file included from
/usr/local/include/pango-1.0/pango/pango-attributes.h:25,
                  from /usr/local/include/pango-1.0/pango/pango.h:25,
                  from /usr/local/include/pango-1.0/pango/pangocairo.h:25,
                  from rrd_graph.h:23,
                  from rrd_graph_helper.c:8:
/usr/local/include/pango-1.0/pango/pango-font.h:380: warning: ISO C
restricts enumerator values to range of 'int'
rrd_graph_helper.c: In function 'rrd_parse_shift':
rrd_graph_helper.c:460: warning: format '%li' expects type 'long int', but
argument 2 has type 'time_t'
rrd_graph_helper.c: In function 'rrd_parse_PVHLAST':
rrd_graph_helper.c:614: warning: format '%li' expects type 'long int', but
argument 2 has type 'time_t'
rrd_graph_helper.c:616: warning: format '%li' expects type 'long int', but
argument 2 has type 'time_t'
rrd_graph_helper.c: In function 'rrd_parse_def':
rrd_graph_helper.c:1018: warning: format '%lu' expects type 'long unsigned
int', but argument 2 has type 'time_t'
rrd_graph_helper.c:1019: warning: format '%lu' expects type 'long unsigned
int', but argument 2 has type 'time_t'
   CC     rrd_xport.lo
In file included from
/usr/local/include/pango-1.0/pango/pango-attributes.h:25,
                  from /usr/local/include/pango-1.0/pango/pango.h:25,
                  from /usr/local/include/pango-1.0/pango/pangocairo.h:25,
                  from rrd_graph.h:23,
                  from rrd_xport.c:10:
/usr/local/include/pango-1.0/pango/pango-font.h:380: warning: ISO C
restricts enumerator values to range of 'int'
   CC     rrd_gfx.lo
In file included from
/usr/local/include/pango-1.0/pango/pango-attributes.h:25,
                  from /usr/local/include/pango-1.0/pango/pango.h:25,
                  from /usr/local/include/pango-1.0/pango/pangocairo.h:25,
                  from rrd_graph.h:23,
                  from rrd_gfx.c:21:
/usr/local/include/pango-1.0/pango/pango-font.h:380: warning: ISO C
restricts enumerator values to range of 'int'
   CC     pngsize.lo
   CC     rrd_create.lo
   CC     hash_32.lo
   CC     rrd_parsetime.lo
   CC     rrd_hw.lo
   CC     rrd_hw_math.lo
   CC     rrd_hw_update.lo
   CC     rrd_diff.lo
   CC     rrd_format.lo
   CC     rrd_info.lo
   CC     rrd_error.lo
   CC     rrd_open.lo
   CC     rrd_client.lo
   CC     rrd_nan_inf.lo
   CC     rrd_rpncalc.lo
   CC     rrd_utils.lo
   CC     rrd_update.lo
   CC     rrd_not_thread_safe.lo
   CCLD   librrdupd.la
   GEN    librrd.sym
   CCLD   librrd.la
   CC     librrd_th_la-rrd_create.lo
   CC     librrd_th_la-hash_32.lo
   CC     librrd_th_la-rrd_parsetime.lo
   CC     librrd_th_la-rrd_hw.lo
   CC     librrd_th_la-rrd_hw_math.lo
   CC     librrd_th_la-rrd_hw_update.lo
   CC     librrd_th_la-rrd_diff.lo
   CC     librrd_th_la-rrd_format.lo
   CC     librrd_th_la-rrd_info.lo
   CC     librrd_th_la-rrd_error.lo
   CC     librrd_th_la-rrd_open.lo
   CC     librrd_th_la-rrd_client.lo
   CC     librrd_th_la-rrd_nan_inf.lo
   CC     librrd_th_la-rrd_rpncalc.lo
   CC     librrd_th_la-rrd_utils.lo
   CC     librrd_th_la-rrd_update.lo
   CC     librrd_th_la-rrd_version.lo
   CC     librrd_th_la-rrd_last.lo
   CC     librrd_th_la-rrd_lastupdate.lo
rrd_lastupdate.c: In function 'rrd_lastupdate':
rrd_lastupdate.c:78: warning: format '%10lu' expects type 'long unsigned
int', but argument 2 has type 'time_t'
   CC     librrd_th_la-rrd_first.lo
   CC     librrd_th_la-rrd_restore.lo
   CC     librrd_th_la-rrd_dump.lo
   CC     librrd_th_la-rrd_flushcached.lo
   CC     librrd_th_la-rrd_fetch.lo
   CC     librrd_th_la-rrd_resize.lo
   CC     librrd_th_la-rrd_tune.lo
   CC     librrd_th_la-rrd_graph.lo
In file included from
/usr/local/include/pango-1.0/pango/pango-attributes.h:25,
                  from /usr/local/include/pango-1.0/pango/pango.h:25,
                  from /usr/local/include/pango-1.0/pango/pangocairo.h:25,
                  from rrd_graph.h:23,
                  from rrd_graph.c:36:
/usr/local/include/pango-1.0/pango/pango-font.h:380: warning: ISO C
restricts enumerator values to range of 'int'
rrd_graph.c: In function 'rrd_graph_init':
rrd_graph.c:4159: warning: 'pango_cairo_font_map_create_context' is
deprecated (declared at /usr/local/include/pango-1.0/pango/pangocairo.h:79)
   CC     librrd_th_la-rrd_graph_helper.lo
In file included from
/usr/local/include/pango-1.0/pango/pango-attributes.h:25,
                  from /usr/local/include/pango-1.0/pango/pango.h:25,
                  from /usr/local/include/pango-1.0/pango/pangocairo.h:25,
                  from rrd_graph.h:23,
                  from rrd_graph_helper.c:8:
/usr/local/include/pango-1.0/pango/pango-font.h:380: warning: ISO C
restricts enumerator values to range of 'int'
rrd_graph_helper.c: In function 'rrd_parse_shift':
rrd_graph_helper.c:460: warning: format '%li' expects type 'long int', but
argument 2 has type 'time_t'
rrd_graph_helper.c: In function 'rrd_parse_PVHLAST':
rrd_graph_helper.c:614: warning: format '%li' expects type 'long int', but
argument 2 has type 'time_t'
rrd_graph_helper.c:616: warning: format '%li' expects type 'long int', but
argument 2 has type 'time_t'
rrd_graph_helper.c: In function 'rrd_parse_def':
rrd_graph_helper.c:1018: warning: format '%lu' expects type 'long unsigned
int', but argument 2 has type 'time_t'
rrd_graph_helper.c:1019: warning: format '%lu' expects type 'long unsigned
int', but argument 2 has type 'time_t'
   CC     librrd_th_la-rrd_xport.lo
In file included from
/usr/local/include/pango-1.0/pango/pango-attributes.h:25,
                  from /usr/local/include/pango-1.0/pango/pango.h:25,
                  from /usr/local/include/pango-1.0/pango/pangocairo.h:25,
                  from rrd_graph.h:23,
                  from rrd_xport.c:10:
/usr/local/include/pango-1.0/pango/pango-font.h:380: warning: ISO C
restricts enumerator values to range of 'int'
   CC     librrd_th_la-rrd_gfx.lo
In file included from
/usr/local/include/pango-1.0/pango/pango-attributes.h:25,
                  from /usr/local/include/pango-1.0/pango/pango.h:25,
                  from /usr/local/include/pango-1.0/pango/pangocairo.h:25,
                  from rrd_graph.h:23,
                  from rrd_gfx.c:21:
/usr/local/include/pango-1.0/pango/pango-font.h:380: warning: ISO C
restricts enumerator values to range of 'int'
   CC     librrd_th_la-pngsize.lo
   CC     librrd_th_la-rrd_thread_safe.lo
   CCLD   librrd_th.la
   CC     rrd_tool.o
rrd_tool.c: In function 'HandleInputLine':
rrd_tool.c:673: warning: format '%ld' expects type 'long int', but argument
2 has type 'time_t'
rrd_tool.c:677: warning: format '%ld' expects type 'long int', but argument
2 has type 'time_t'
rrd_tool.c:695: warning: format '%10lu' expects type 'long unsigned int',
but argument 2 has type 'time_t'
   CCLD   rrdtool
/usr/local/lib/libglib-2.0.so.3400.0: warning: vsprintf() is often misused,
please use vsnprintf()
/usr/local/lib/libglib-2.0.so.3400.0: warning: stpcpy() is dangerous GNU
crap; don't use it
./.libs/librrd.so.6.1: warning: strcpy() is almost always misused, please
use strlcpy()
/usr/local/lib/libcairo.so.12.1: warning: strcat() is almost always misused,
please use strlcat()
./.libs/librrd.so.6.1: warning: sprintf() is often misused, please use
snprintf()
/usr/bin/ld: warning: libz.so.4.1, needed by
/usr/local/lib/libpangocairo-1.0.so.3200.0, may conflict with libz.so.1
   CC     rrdupdate.o
rrdupdate.c: In function 'main':
rrdupdate.c:24: warning: implicit declaration of function 'basename'
rrdupdate.c:24: warning: nested extern declaration of 'basename'
rrdupdate.c:24: warning: initialization makes pointer from integer without a
cast
   CCLD   rrdupdate
./.libs/librrdupd.a(rrd_info.o)(.text+0x26c): In function `rrd_info_push':
/usr/src/rrdtool-1.4.8/src/rrd_info.c:75: warning: strcpy() is almost always
misused, please use strlcpy()
./.libs/librrdupd.a(rrd_parsetime.o)(.text+0xef3): In function `tod':
/usr/src/rrdtool-1.4.8/src/rrd_parsetime.c:634: warning: sprintf() is often
misused, please use snprintf()
./.libs/librrdupd.a(rrd_client.o)(.text+0x1ac): In function
`rrdc_disconnect':
/usr/src/rrdtool-1.4.8/src/rrd_client.c:567: undefined reference to
`pthread_mutex_lock'
./.libs/librrdupd.a(rrd_client.o)(.text+0x1bd):/usr/src/rrdtool-1.4.8/src/rr
d_client.c:571: 
undefined reference to `pthread_mutex_unlock'
./.libs/librrdupd.a(rrd_client.o)(.text+0x4f4): In function
`rrdc_stats_get':
/usr/src/rrdtool-1.4.8/src/rrd_client.c:748: undefined reference to
`pthread_mutex_lock'
./.libs/librrdupd.a(rrd_client.o)(.text+0x519):/usr/src/rrdtool-1.4.8/src/rr
d_client.c:750: 
undefined reference to `pthread_mutex_unlock'
./.libs/librrdupd.a(rrd_client.o)(.text+0x948): In function `rrdc_flush':
/usr/src/rrdtool-1.4.8/src/rrd_client.c:660: undefined reference to
`pthread_mutex_lock'
./.libs/librrdupd.a(rrd_client.o)(.text+0x984):/usr/src/rrdtool-1.4.8/src/rr
d_client.c:671: 
undefined reference to `pthread_mutex_unlock'
./.libs/librrdupd.a(rrd_client.o)(.text+0x9da):/usr/src/rrdtool-1.4.8/src/rr
d_client.c:682: 
undefined reference to `pthread_mutex_unlock'
./.libs/librrdupd.a(rrd_client.o)(.text+0xa10):/usr/src/rrdtool-1.4.8/src/rr
d_client.c:664: 
undefined reference to `pthread_mutex_unlock'
./.libs/librrdupd.a(rrd_client.o)(.text+0xb48): In function `rrdc_update':
/usr/src/rrdtool-1.4.8/src/rrd_client.c:596: undefined reference to
`pthread_mutex_lock'
./.libs/librrdupd.a(rrd_client.o)(.text+0xb84):/usr/src/rrdtool-1.4.8/src/rr
d_client.c:616: 
undefined reference to `pthread_mutex_unlock'
./.libs/librrdupd.a(rrd_client.o)(.text+0xc79):/usr/src/rrdtool-1.4.8/src/rr
d_client.c:628: 
undefined reference to `pthread_mutex_unlock'
./.libs/librrdupd.a(rrd_client.o)(.text+0xcaf):/usr/src/rrdtool-1.4.8/src/rr
d_client.c:600: 
undefined reference to `pthread_mutex_unlock'
./.libs/librrdupd.a(rrd_client.o)(.text+0xef8): In function `rrdc_connect':
/usr/src/rrdtool-1.4.8/src/rrd_client.c:524: undefined reference to
`pthread_mutex_lock'
./.libs/librrdupd.a(rrd_client.o)(.text+0x1094):/usr/src/rrdtool-1.4.8/src/r
rd_client.c:529: 
undefined reference to `pthread_mutex_unlock'
./.libs/librrdupd.a(rrd_client.o)(.text+0x111f):/usr/src/rrdtool-1.4.8/src/r
rd_client.c:561: 
undefined reference to `pthread_mutex_unlock'
collect2: ld returned 1 exit status
*** Error 1 in src (Makefile:623 'rrdupdate': @echo "  CCLD  " 
rrdupdate;/bin/sh ../libtool --silent --tag=CC    --mode=link gcc -g -O2 
-D_G...)
*** Error 1 in . (Makefile:434 'all-recursive')
*** Error 1 in /usr/src/rrdtool-1.4.8 (Makefile:343 'all') #



# pkg_info
autoconf-2.69p0     automatically configure source code on many Un*x 
platforms
automake-1.11.6     GNU Standards-compliant Makefile generator
bison-2.3p0         GNU parser generator
bzip2-1.0.6         block-sorting file compressor, unencumbered
cairo-1.12.8p1      vector graphics library
dovecot-2.1.15      compact IMAP/POP3 server
freetype-1.3.1p3    free and portable TrueType font rendering engine
gd-2.0.35p1         library for dynamic creation of images
gettext-0.18.2p1    GNU gettext
glib2-2.34.3        general-purpose utility library
groff-1.21p8        GNU troff typesetter
harfbuzz-0.9.12     text shaping library
hatchet-0.9.2       PF firewall log analysis
icu4c-50.1.2        International Components for Unicode
jpeg-8cp1           IJG's JPEG compression utilities
libart-2.3.21       high-performance 2D graphics library
libdnet-1.12p5      portable low-level networking library
libelf-0.8.13p1     read, modify, create ELF files on any arch
libffi-3.0.9        Foreign Function Interface
libghttp-1.0.9p2    GNOME http client library
libiconv-1.14p0     character set conversion library
libltdl-2.4.2       GNU libtool system independent dlopen wrapper
libsigsegv-2.10     library for handling page faults in user mode
libtool-2.4.2       generic shared library support script
libxml-2.8.0        XML parsing library
libyaml-0.1.2       YAML 1.1 parser and emitter written in C
m4-1.4.16           GNU m4
metaauto-1.0        wrapper for gnu auto*
mod_perl-1.31p6     module that embeds a Perl interpreter into Apache
mysql-client-5.1.68 multithreaded SQL database (client)
mysql-server-5.1.68 multithreaded SQL database (server)
p5-Clone-0.31p2     recursively copy Perl datatypes
p5-Crypt-SSLeay-0.64 library to provide LWP https support via OpenSSL
p5-DBD-Chart-0.82p0 DBI driver abstraction for rendering charts and graphs
p5-DBD-SQLite-1.35p1v0 SQLite drivers for the Perl DBI
p5-DBD-mysql-4.022  MySQL drivers for the Perl DBI
p5-DBI-1.622        unified perl interface for database access
p5-Devel-Symdump-2.07v0 module for inspecting Perl's symbol table
p5-FreezeThaw-0.43p2 module for converting structures to strings and back
p5-GD-2.46p0        module to interface with the GD graphics library
p5-GD-TextUtil-0.86p1 text utilities for use with GD drawing package
p5-HTML-Parser-3.68p0 modules to parse and extract information from HTML
p5-HTML-Tagset-3.20p0 data tables useful for parsing HTML
p5-HTML-Template-2.9 use HTML Templates from CGI scripts
p5-HTTP-GHTTP-1.07p4 perl interface to the GNOME GHTTP library
p5-MLDBM-2.04       store multi-level hash structure in single-level 
tied hash
p5-Net-Daemon-0.48  extension for portable daemons
p5-Net-SSLeay-1.52  perl module for using OpenSSL
p5-Params-Util-1.00p3 utility to make parameter checking easier
p5-PlRPC-0.2018p1   module for writing rpc servers and clients
p5-SQL-Statement-1.33 sql parsing and processing
p5-URI-1.60         library to parse Uniform Resource Identifiers
p5-libwww-5.837     library for WWW access in Perl
pango-1.32.5        library for layout and rendering of text
pcre-8.31           perl-compatible regular expression library
pftop-0.7p9         curses-based real time state and rule display for pf
png-1.5.10p0        library for manipulating PNG images
postfix-2.9.6       fast, secure sendmail replacement
python-2.7.3p1      interpreted object-oriented programming language
ruby-1.9.3.392      object oriented script language with threads
unzip-6.0p0         extract, list & test files in a ZIP archive




------------------------------

_______________________________________________
rrd-users mailing list
rrd-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


End of rrd-users Digest, Vol 81, Issue 3
****************************************


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3408 / Virus Database: 3222/6685 - Release Date: 09/20/13



More information about the rrd-users mailing list