/usr/sfw/bin/gcc -DHAVE_CONFIG_H -I.
-DPREFIX='"/ehc/fs1/softs/collectd"'
-DCONFIGFILE='"/ehc/fs1/softs/collectd/etc/collectd.conf"'
-DLOCALSTATEDIR='"/ehc/fs1/softs/collectd/var"'
-DPKGLOCALSTATEDIR='"/ehc/fs1/softs/collectd/var/lib/collectd"'
-DPIDFILE='"/ehc/fs1/softs/collectd/var/run/collectd.pid"'
-DPLUGINDIR='"/ehc/fs1/softs/collectd/lib/collectd"'
-DPKGDATADIR='"/ehc/fs1/softs/collectd/share/collectd"'
-I../src/libcollectdclient/collectd -Wall -Werror -m64 -MT
collectd_tg-collectd-tg.o -MD -MP -MF .deps/collectd_tg-collectd-tg.Tpo
-c -o collectd_tg-collectd-tg.o test -f 'collectd-tg.c' || echo './'collectd-tg.c
collectd-tg.c: In function get_boundet_random': collectd-tg.c:133: warning: implicit declaration of functionrandom'
collectd-tg.c: In function create_value_list': collectd-tg.c:179: warning: implicit declaration of functionsnprintf'
collectd-tg.c:187: warning: long int format, different type arg (arg 4)
Hi !
/usr/sfw/bin/gcc -DHAVE_CONFIG_H -I. -DPREFIX='"/ehc/fs1/softs/collectd"' -DCONFIGFILE='"/ehc/fs1/softs/collectd/etc/collectd.conf"' -DLOCALSTATEDIR='"/ehc/fs1/softs/collectd/var"' -DPKGLOCALSTATEDIR='"/ehc/fs1/softs/collectd/var/lib/collectd"' -DPIDFILE='"/ehc/fs1/softs/collectd/var/run/collectd.pid"' -DPLUGINDIR='"/ehc/fs1/softs/collectd/lib/collectd"' -DPKGDATADIR='"/ehc/fs1/softs/collectd/share/collectd"' -I../src/libcollectdclient/collectd -Wall -Werror -m64 -MT collectd_tg-collectd-tg.o -MD -MP -MF .deps/collectd_tg-collectd-tg.Tpo -c -o collectd_tg-collectd-tg.o
test -f 'collectd-tg.c' || echo './'
collectd-tg.c collectd-tg.c: In functionget_boundet_random': collectd-tg.c:133: warning: implicit declaration of function
random' collectd-tg.c: In functioncreate_value_list': collectd-tg.c:179: warning: implicit declaration of function
snprintf' collectd-tg.c:187: warning: long int format, different type arg (arg 4)On Solaris 10 sparc.
An idea ?