* Package: sys-cluster/wulfware-2.6.0 * Repository: gentoo * Maintainer: maintainer-needed@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU * FEATURES: sandbox test userpriv usersandbox Installed LAPACK for library directory lib64 [1] reference * Installed BLAS for library directory lib64 [1] reference * Installed CBLAS for library directory lib64 [1] gsl [2] reference * >>> Unpacking source... >>> Unpacking wulfware-2.6.0.tgz to /tmp/portage/sys-cluster/wulfware-2.6.0/work * Applying wulfware-2.6.0-opts_and_strip.patch ... [ ok ] * Running eautoreconf in '/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0' ... * Running libtoolize --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: wulfware-2.6.0/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... >>> Source unpacked in /tmp/portage/sys-cluster/wulfware-2.6.0/work >>> Compiling source in /tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0 ... * econf: updating wulfware-2.6.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating wulfware-2.6.0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking configure: loading site script /usr/share/config.site ./configure: 40: /usr/share/config.site: [[: Permission denied checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking whether make sets $(MAKE)... (cached) yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux 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 for size_t... yes checking for working volatile... yes checking for inline... inline checking for main in -lcurses... yes checking for main in -lm... yes checking for main in -local_icons... no checking for main in -lpthread... yes checking for main in -lwulf... yes checking for main in -lxml2... yes checking for main in -lz... yes checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for bzero... yes checking for gethostbyaddr... yes checking for gethostbyname... yes checking for gethostname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strerror... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating wulfware.spec config.status: creating include/wulfware/wulfware_version.h config.status: creating libwulf/Makefile config.status: creating wulfstat/Makefile config.status: creating wulflogger/Makefile config.status: creating wulf2html/Makefile config.status: creating xmlsysd/Makefile config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make -j24 -j1 (cd libwulf; \ make) make[1]: Entering directory '/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/libwulf' x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 connect.c connect.c: In function 'connect_to_all_hosts': connect.c:37:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct List *' [-Wformat=] cl->hostlist,cl->connect_delay); ^ connect.c:61:12: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] hostptr->hostip,hostptr->inetaddress,hostptr->port); ^ connect.c: In function 'connect_to_host_by_ptr': connect.c:115:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_CONNECT_HOSTS: Trying to connect to %s at %x:%d by pointer\n",hostptr->hostname,hostptr->inetaddress,hostptr->port); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 cpuinfo.c cpuinfo.c: In function 'init_cpuinfo': cpuinfo.c:43:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: seconds = %d\n",seconds); ^ cpuinfo.c:54:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: useconds = %d\n",useconds); ^ cpuinfo.c:58:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: cpuinfo_tv_sec = %ul cpuinfo_tv_usec = %ul\n",hostptr->val.cpuinfo_tv_sec,hostptr->val.cpuinfo_tv_usec); ^ cpuinfo.c:58:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] cpuinfo.c:99:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: CPU cores = %d\n",hostptr->val.cpuinfo_cores); ^ cpuinfo.c:122:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: CPU cachesize = %d KB\n",hostptr->val.cpuinfo_cachesize); ^ cpuinfo.c: In function 'update_cpuinfo': cpuinfo.c:157:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: seconds = %d\n",seconds); ^ cpuinfo.c:168:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: useconds = %d\n",useconds); ^ cpuinfo.c:172:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: cpuinfo_tv_sec = %ul cpuinfo_tv_usec = %ul\n",hostptr->val.cpuinfo_tv_sec,hostptr->val.cpuinfo_tv_usec); ^ cpuinfo.c:172:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] cpuinfo.c:214:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: CPU cores = %d\n",hostptr->val.cpuinfo_cores); ^ cpuinfo.c:237:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: CPU cachesize = %d KB\n",hostptr->val.cpuinfo_cachesize); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 host.c host.c: In function 'clear_values': host.c:41:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Cpu *' [-Wformat=] fprintf(OUTFP,"D_INIT_HOST: Freeing cpu struct at %x on %s\n",&hostptr->val.cpu[-1],hostptr->hostname); ^ host.c:49:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Cpu *' [-Wformat=] fprintf(OUTFP,"D_INIT_HOST: Freed cpu struct, now pointer value is %x on %s\n",&hostptr->val.cpu[-1],hostptr->hostname); ^ host.c:56:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Interface *' [-Wformat=] fprintf(OUTFP,"D_INIT_HOST: Freeing interface struct at %x on %s\n",&hostptr->val.interface[-1],hostptr->hostname); ^ host.c:62:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Interface *' [-Wformat=] fprintf(OUTFP,"D_INIT_HOST: Freed interface struct, now pointer value is %x on %s\n",&hostptr->val.interface[-1],hostptr->hostname); ^ host.c:69:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct List *' [-Wformat=] fprintf(OUTFP,"D_INIT_HOST: Deleting/freeing pidlist contents at %x on %s\n",hostptr->pidlist,hostptr->hostname); ^ host.c:76:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Interface *' [-Wformat=] fprintf(OUTFP,"D_INIT_HOST: Linked list at %x on %s is freed and empty.\n",&hostptr->val.interface[-1],hostptr->hostname); ^ host.c: In function 'clear_host_values': host.c:106:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct List *' [-Wformat=] fprintf(OUTFP,"D_INIT_HOST: Starting clear_host values() for hostlist %0x\n",hostlist); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 identity.c x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 init.c init.c: In function 'init_values': init.c:62:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Host *' [-Wformat=] fprintf(OUTFP,"D_INIT_VALUES: hostptr = %0x\n",hostptr); ^ init.c:178:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(OUTFP,"D_INIT_VALUES: Freeing context %d\n",(int) hostptr->xp_doc); ^ init.c: In function 'init_state': init.c:325:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Host *' [-Wformat=] fprintf(OUTFP,"D_INIT_VALUES: hostptr = %0x\n",hostptr); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 llists.c x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 loadavg.c loadavg.c: In function 'init_loadavg': loadavg.c:36:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ loadavg.c:47:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ loadavg.c:51:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: loadavg_tv_sec = %ul loadavg_tv_usec = %ul\n",hostptr->val.loadavg_tv_sec,hostptr->val.loadavg_tv_usec); ^ loadavg.c:51:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] loadavg.c: In function 'update_loadavg': loadavg.c:110:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ loadavg.c:121:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ loadavg.c:125:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: loadavg_tv_sec = %ul loadavg_tv_usec = %ul\n",hostptr->val.loadavg_tv_sec,hostptr->val.loadavg_tv_usec); ^ loadavg.c:125:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 meminfo.c meminfo.c: In function 'init_meminfo': meminfo.c:37:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ meminfo.c:48:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ meminfo.c:52:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: meminfo_tv_sec = %ul meminfo_tv_usec = %ul\n",hostptr->val.meminfo_tv_sec,hostptr->val.meminfo_tv_usec); ^ meminfo.c:52:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] meminfo.c:71:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_total = %d\n",hostptr->val.mem_total); ^ meminfo.c:89:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_used = %d\n",hostptr->val.mem_used); ^ meminfo.c:107:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_free = %d\n",hostptr->val.mem_free); ^ meminfo.c:118:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_shared = %d\n",hostptr->val.mem_shared); ^ meminfo.c:136:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_buffers = %d\n",hostptr->val.mem_buffers); ^ meminfo.c:154:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_cached = %d\n",hostptr->val.mem_cached); ^ meminfo.c:173:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_total = %d\n",hostptr->val.swap_total); ^ meminfo.c:191:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_used = %d\n",hostptr->val.swap_used); ^ meminfo.c:209:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_free = %d\n",hostptr->val.swap_free); ^ meminfo.c: In function 'update_meminfo': meminfo.c:238:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ meminfo.c:249:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ meminfo.c:253:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: meminfo_tv_sec = %ul meminfo_tv_usec = %ul\n",hostptr->val.meminfo_tv_sec,hostptr->val.meminfo_tv_usec); ^ meminfo.c:253:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] meminfo.c:272:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_total = %d\n",hostptr->val.mem_total); ^ meminfo.c:290:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_used = %d\n",hostptr->val.mem_used); ^ meminfo.c:308:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_free = %d\n",hostptr->val.mem_free); ^ meminfo.c:319:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_shared = %d\n",hostptr->val.mem_shared); ^ meminfo.c:337:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_buffers = %d\n",hostptr->val.mem_buffers); ^ meminfo.c:355:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: mem_cached = %d\n",hostptr->val.mem_cached); ^ meminfo.c:374:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_total = %d\n",hostptr->val.swap_total); ^ meminfo.c:392:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_used = %d\n",hostptr->val.swap_used); ^ meminfo.c:410:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_free = %d\n",hostptr->val.swap_free); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 net.c net.c: In function 'init_net': net.c:42:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ net.c:53:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ net.c:57:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: netdev_tv_sec = %ul netdev_tv_usec = %ul\n",hostptr->val.netdev_tv_sec,hostptr->val.netdev_tv_usec); ^ net.c:57:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] net.c:61:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: netdev_tv_sec = %d netdev_tv_usec = %d\n",hostptr->val.netdev_tv_sec,hostptr->val.netdev_tv_usec); ^ net.c:61:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] net.c:71:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: Found %d network interfaces on %s (plus 1 for total stats)\n",hostptr->val.num_interfaces,hostptr->hostname); ^ net.c:72:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: Each needs %d bytes\n",sizeof(Interface)); ^ net.c:79:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: Need %d bytes per interface\n",sizeof(Interface)); ^ net.c:80:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: Malloc'd %d bytes in interface struct vector\n",(hostptr->val.num_interfaces+1)*sizeof(Interface)); ^ net.c:81:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Interface *' [-Wformat=] fprintf(OUTFP,"D_VALUES: base address is %x\n",hostptr->val.interface); ^ net.c:88:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Interface *' [-Wformat=] fprintf(OUTFP,"D_VALUES: displaced base address is now %x\n",hostptr->val.interface); ^ net.c:89:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Interface *' [-Wformat=] fprintf(OUTFP,"D_VALUES: address of interface[-1] is %x\n",&hostptr->val.interface[-1]); ^ net.c:148:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].rx_bytes = %lu\n",j,hostptr->val.interface[j].rx_bytes); ^ net.c:159:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].rx_packets = %lu\n",j,hostptr->val.interface[j].rx_packets); ^ net.c:170:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].rx_errs = %lu\n",j,hostptr->val.interface[j].rx_errs); ^ net.c:181:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].tx_bytes = %lu\n",j,hostptr->val.interface[j].tx_bytes); ^ net.c:192:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].tx_packets = %lu\n",j,hostptr->val.interface[j].tx_packets); ^ net.c:203:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].tx_errs = %lu\n",j,hostptr->val.interface[j].tx_errs); ^ net.c: In function 'update_net': net.c:275:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: netdev_tv_sec = %lu netdev_tv_usec = %ul\n",hostptr->val.netdev_tv_sec,hostptr->val.netdev_tv_usec); ^ net.c:304:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].rx_bytes = %lu, rate = %f\n",j,hostptr->val.interface[j].rx_bytes,hostptr->val.interface[j].rx_bytes_rate); ^ net.c:317:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].rx_packets = %lu, rate = %f\n",j,hostptr->val.interface[j].rx_packets,hostptr->val.interface[j].rx_packets_rate); ^ net.c:330:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].rx_errs = %lu, rate = %f\n",j,hostptr->val.interface[j].rx_errs,hostptr->val.interface[j].rx_errs_rate); ^ net.c:343:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].tx_bytes = %lu, rate = %f\n",j,hostptr->val.interface[j].tx_bytes,hostptr->val.interface[j].tx_bytes_rate); ^ net.c:356:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].tx_packets = %lu, rate = %f\n",j,hostptr->val.interface[j].tx_packets,hostptr->val.interface[j].tx_packets_rate); ^ net.c:369:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: interface[%d].tx_errs = %lu, rate = %f\n",j,hostptr->val.interface[j].tx_errs,hostptr->val.interface[j].tx_errs_rate); ^ net.c:391:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: tcp_inuse = %d\n",hostptr->val.tcp_inuse); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 parse.c parse.c: In function 'parse': parse.c:52:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] delim[6] = (char) NULL; /* terminator */ ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 pids.c pids.c: In function 'init_pids': pids.c:44:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ pids.c:55:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ pids.c:59:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: pids_tv_sec = %ul pids_tv_usec = %ul\n",hostptr->val.pids_tv_sec,hostptr->val.pids_tv_usec); ^ pids.c:59:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] pids.c:67:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_VALUES: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); ^ pids.c: In function 'update_pids': pids.c:287:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ pids.c:298:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ pids.c:302:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: pids_tv_sec = %ul pids_tv_usec = %ul\n",hostptr->val.pids_tv_sec,hostptr->val.pids_tv_usec); ^ pids.c:302:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] pids.c:310:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_VALUES: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 stat.c stat.c: In function 'init_stat': stat.c:38:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ stat.c:49:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ stat.c:53:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: stat_tv_sec = %lu stat_tv_usec = %ul\n",hostptr->val.stat_tv_sec,hostptr->val.stat_tv_usec); ^ stat.c:59:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: Found %d cpus on %s\n",hostptr->val.num_cpus,hostptr->hostname); ^ stat.c:65:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: Need %d bytes per cpu\n",sizeof(Cpu)); ^ stat.c:66:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: Malloc'd %d bytes in cpu struct vector\n",hostptr->val.num_cpus*sizeof(Cpu)); ^ stat.c:67:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Cpu *' [-Wformat=] fprintf(OUTFP,"D_VALUES: base address is %x\n",&hostptr->val.cpu[0]); ^ stat.c:71:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Cpu *' [-Wformat=] fprintf(OUTFP,"D_VALUES: displaced base address is now %x\n",hostptr->val.cpu); ^ stat.c:72:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Cpu *' [-Wformat=] fprintf(OUTFP,"D_VALUES: address of cpu[-1] is %x\n",&hostptr->val.cpu[-1]); ^ stat.c:89:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: cpu[%d].user = %d\n",j,hostptr->val.cpu[j].user); ^ stat.c:99:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: cpu[%d].nice = %d\n",j,hostptr->val.cpu[j].nice); ^ stat.c:109:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: cpu[%d].sys = %d\n",j,hostptr->val.cpu[j].sys); ^ stat.c:121:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: cpu[%d].idle = %d\n",j,hostptr->val.cpu[j].idle); ^ stat.c:133:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: page_in = %d\n",hostptr->val.page_in); ^ stat.c:143:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: page_out = %d\n",hostptr->val.page_out); ^ stat.c:154:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_in = %d\n",hostptr->val.swap_in); ^ stat.c:164:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_out = %d\n",hostptr->val.swap_out); ^ stat.c:176:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: intr = %d\n",hostptr->val.intr); ^ stat.c:185:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: ctxt = %d\n",hostptr->val.ctxt); ^ stat.c:195:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: processes = %d\n",hostptr->val.processes); ^ stat.c: In function 'update_stat': stat.c:305:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: cpu[%d].user = %d, rate = %f\n",j,hostptr->val.cpu[j].user,hostptr->val.cpu[j].user_rate); ^ stat.c:318:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: cpu[%d].nice = %d, rate = %f\n",j,hostptr->val.cpu[j].nice,hostptr->val.cpu[j].nice_rate); ^ stat.c:331:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: cpu[%d].sys = %d, rate = %f\n",j,hostptr->val.cpu[j].sys,hostptr->val.cpu[j].sys_rate); ^ stat.c:344:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: cpu[%d].idle = %d, rate = %f\n",j,hostptr->val.cpu[j].idle,hostptr->val.cpu[j].idle_rate); ^ stat.c:401:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: page_in = %d\n",hostptr->val.page_in); ^ stat.c:413:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: page_out = %d\n",hostptr->val.page_out); ^ stat.c:426:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_in = %d\n",hostptr->val.swap_in); ^ stat.c:438:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: swap_out = %d\n",hostptr->val.swap_out); ^ stat.c:464:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: old ctxt = %d\n",hostptr->val.ctxt); ^ stat.c:470:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: ctxt = %d\n",hostptr->val.ctxt); ^ stat.c:479:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: old processes = %d\n",hostptr->val.processes); ^ stat.c:485:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: processes = %d\n",hostptr->val.processes); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 sysvipc.c sysvipc.c: In function 'init_sysvipc': sysvipc.c:37:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: seconds = %d\n",seconds); ^ sysvipc.c:48:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: useconds = %d\n",useconds); ^ sysvipc.c:52:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: sysvipc_tv_sec = %ul sysvipc_tv_usec = %ul\n",hostptr->val.sysvipc_tv_sec,hostptr->val.sysvipc_tv_usec); ^ sysvipc.c:52:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] sysvipc.c: In function 'update_sysvipc': sysvipc.c:81:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: seconds = %d\n",seconds); ^ sysvipc.c:92:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: useconds = %d\n",useconds); ^ sysvipc.c:96:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_UPDATE_VALUES: sysvipc_tv_sec = %ul sysvipc_tv_usec = %ul\n",hostptr->val.sysvipc_tv_sec,hostptr->val.sysvipc_tv_usec); ^ sysvipc.c:96:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 time.c time.c: In function 'init_time': time.c:36:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ time.c:47:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ time.c:51:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: time_tv_sec = %ul time_tv_usec = %ul\n",hostptr->val.time_tv_sec,hostptr->val.time_tv_usec); ^ time.c:51:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] time.c: In function 'update_time': time.c:88:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ time.c:99:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ time.c:103:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: time_tv_sec = %ul time_tv_usec = %ul\n",hostptr->val.time_tv_sec,hostptr->val.time_tv_usec); ^ time.c:103:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 update.c update.c: In function 'update_values': update.c:171:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(OUTFP,"D_UPDATE_VALUES: Freeing context %d\n",(int) hostptr->xp_doc); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 uptime.c uptime.c: In function 'init_uptime': uptime.c:37:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ uptime.c:48:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ uptime.c:52:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: uptime_tv_sec = %ul uptime_tv_usec = %ul\n",hostptr->val.uptime_tv_sec,hostptr->val.uptime_tv_usec); ^ uptime.c:52:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] uptime.c:63:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] fprintf(OUTFP,"D_VALUES: uptime_up = %d\n",hostptr->val.uptime_up); ^ uptime.c:70:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] fprintf(OUTFP,"D_VALUES: uptime_idle = %d\n",hostptr->val.uptime_idle); ^ uptime.c: In function 'update_uptime': uptime.c:105:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ uptime.c:116:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ uptime.c:120:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: uptime_tv_sec = %ul uptime_tv_usec = %ul\n",hostptr->val.uptime_tv_sec,hostptr->val.uptime_tv_usec); ^ uptime.c:120:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] uptime.c:131:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] fprintf(OUTFP,"D_VALUES: uptime_up = %d\n",hostptr->val.uptime_up); ^ uptime.c:138:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=] fprintf(OUTFP,"D_VALUES: uptime_idle = %d\n",hostptr->val.uptime_idle); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 users.c users.c: In function 'init_users': users.c:37:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ users.c:48:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ users.c:52:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: users_tv_sec = %ul users_tv_usec = %ul\n",hostptr->val.users_tv_sec,hostptr->val.users_tv_usec); ^ users.c:52:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] users.c:60:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: number of users = %d\n",hostptr->val.users); ^ users.c: In function 'update_users': users.c:89:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); ^ users.c:100:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); ^ users.c:104:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(OUTFP,"D_VALUES: users_tv_sec = %ul users_tv_usec = %ul\n",hostptr->val.users_tv_sec,hostptr->val.users_tv_usec); ^ users.c:104:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] users.c:112:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_VALUES: number of users = %d\n",hostptr->val.users); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 util.c util.c: In function 'scale_k': util.c:262:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(buf,"%d",k); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 version.c x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 wulfhosts.c wulfhosts.c: In function 'read_wulfhosts': wulfhosts.c:135:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlDocPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: Hostdoc is %x.\n",hostdoc); ^ wulfhosts.c:236:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathObjectPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: Free xp_op = %x\n",xp_op); ^ wulfhosts.c:240:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: Free xp_hostdoc = %x\n",xp_hostdoc); ^ wulfhosts.c:244:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlDocPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: Free hostdoc = %x\n",hostdoc); ^ wulfhosts.c:266:8: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=] i,hostptr->hostname,hostptr->hostip,hostptr->inetaddress,hostptr->port); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 wulfhosts_util.c wulfhosts_util.c: In function 'parse_hostrange': wulfhosts_util.c:47:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); ^ wulfhosts_util.c:77:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlNodePtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); ^ wulfhosts_util.c: In function 'validate_host': wulfhosts_util.c:220:8: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] hostptr->hostname,hostptr->hostip,hostptr->inetaddress,hostptr->port); ^ wulfhosts_util.c:263:8: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct hostent *' [-Wformat=] fprintf(OUTFP,"D_READHOST: Got host_id = %x.\n",host_id); ^ wulfhosts_util.c:373:8: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] hostptr->hostname,hostptr->hostip,hostptr->inetaddress,hostptr->port); ^ wulfhosts_util.c: In function 'parse_iprange': wulfhosts_util.c:394:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); ^ wulfhosts_util.c:421:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlNodePtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); ^ wulfhosts_util.c: In function 'parse_hosttag': wulfhosts_util.c:600:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); ^ wulfhosts_util.c:636:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlNodePtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); ^ wulfhosts_util.c: In function 'parse_tasktag': wulfhosts_util.c:768:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); ^ wulfhosts_util.c:797:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlNodePtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); ^ wulfhosts_util.c: In function 'parse_usertag': wulfhosts_util.c:837:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); ^ wulfhosts_util.c:866:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlNodePtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); ^ wulfhosts_util.c: In function 'parse_roottag': wulfhosts_util.c:908:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); ^ In file included from /usr/include/string.h:639:0, from ../include/wulfware/libwulf.h:17, from wulfhosts_util.c:9: In function 'strncat', inlined from 'validate_iprange' at wulfhosts_util.c:534:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'strncat', inlined from 'validate_iprange' at wulfhosts_util.c:535:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'strncat', inlined from 'validate_iprange' at wulfhosts_util.c:536:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'strncat', inlined from 'validate_iprange' at wulfhosts_util.c:537:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 xml_xtract.c xml_xtract.c: In function 'xtract': xml_xtract.c:75:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'void *' [-Wformat=] fprintf(OUTFP,"D_EXTRACT_VALUES: xtract(%d,%x,%s,%x)\n",type,dest,xpath,xp_doc); ^ xml_xtract.c:75:4: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'xmlXPathContextPtr' [-Wformat=] xml_xtract.c: In function 'xtract_attribute': xml_xtract.c:339:15: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'void *' [-Wformat=] type,dest,xpath,attribute,xp_doc); ^ xml_xtract.c:339:15: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'xmlXPathContextPtr' [-Wformat=] xml_xtract.c:528:8: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(OUTFP,"D_EXTRACT_VALUES: Returning long int = %d in dest.\n",*liptr); ^ x86_64-pc-linux-gnu-gcc -fpic -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 xmlsysd_util.c xmlsysd_util.c: In function 'recv_xmlDoc': xmlsysd_util.c:88:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'char *' [-Wformat=] fprintf(OUTFP,"D_XMLSYSD: = %0x, fields = %0x\n",msgbuf,fields); ^ xmlsysd_util.c:88:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'char **' [-Wformat=] xmlsysd_util.c:89:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'char *' [-Wformat=] fprintf(OUTFP,"D_XMLSYSD: fields[0] = %0x, fields[1] = %0x\n",fields[0],fields[1]); ^ xmlsysd_util.c:89:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'char *' [-Wformat=] xmlsysd_util.c:159:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] msgbuf[msglength] = (char)NULL; /* terminate string */ ^ xmlsysd_util.c: In function 'create_xmlsysd_xpath': xmlsysd_util.c:242:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct Host *' [-Wformat=] fprintf(OUTFP,"D_XMLSYSD: hostptr = %0x\n",hostptr); ^ xmlsysd_util.c:274:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(OUTFP,"D_XMLSYSD: Received xml doc %0x\n",(int) hostptr->doc); ^ xmlsysd_util.c:280:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_XMLSYSD: Done getting xpath context %0x for %s\n",hostptr->xp_doc,hostptr->hostname); ^ xmlsysd_util.c: In function 'destroy_xmlsysd_xpath': xmlsysd_util.c:298:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlXPathContextPtr' [-Wformat=] fprintf(OUTFP,"D_XMLSYSD: Freeing context %0x\n",hostptr->xp_doc); ^ xmlsysd_util.c:310:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlDocPtr' [-Wformat=] fprintf(OUTFP,"D_XMLSYSD: Freeing xml doc %0x\n",hostptr->doc); ^ xmlsysd_util.c:316:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'xmlDocPtr' [-Wformat=] hostptr->doc, hostptr->xp_doc); ^ xmlsysd_util.c:316:6: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'xmlXPathContextPtr' [-Wformat=] gcc -Wl,-O1 -Wl,--as-needed -fpic --shared -Wl,-soname,libwulf.so.2 -o libwulf.so.2.6.0 connect.o cpuinfo.o host.o identity.o init.o llists.o loadavg.o meminfo.o net.o parse.o pids.o stat.o sysvipc.o time.o update.o uptime.o users.o util.o version.o wulfhosts.o wulfhosts_util.o xml_xtract.o xmlsysd_util.o ldconfig -n . ln -sf libwulf.so.2.6.0 libwulf.so make[1]: Leaving directory '/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/libwulf' (cd xmlsysd; \ make) make[1]: Entering directory '/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/xmlsysd' x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_cpuinfo.c In file included from get_proc_cpuinfo.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_proc_cpuinfo.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_proc_cpuinfo.c: In function 'get_proc_cpuinfo': get_proc_cpuinfo.c:39:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_proc_cpuinfo.c:41:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_loadavg.c In file included from get_proc_loadavg.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_proc_loadavg.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_proc_loadavg.c: In function 'get_proc_loadavg': get_proc_loadavg.c:32:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_proc_loadavg.c:34:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_meminfo.c In file included from get_proc_meminfo.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_proc_meminfo.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_proc_meminfo.c: In function 'get_proc_meminfo': get_proc_meminfo.c:33:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_proc_meminfo.c:35:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ get_proc_meminfo.c:118:6: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(fields[1],"%u",memused); ^ get_proc_meminfo.c:157:6: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(fields[1],"%u",swapused); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_net.c In file included from get_proc_net.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_proc_net.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_proc_net.c: In function 'get_proc_net': get_proc_net.c:47:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_proc_net.c:49:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ get_proc_net.c:192:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] outbuf[i] = (char)NULL; ^ get_proc_net.c:207:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] outbuf[j] = (char)NULL; ^ get_proc_net.c:251:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_proc_net.c:253:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_pids.c In file included from get_proc_pids.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_proc_pids.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_proc_pids.c: In function 'get_proc_pids': get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] &spid,name,state, &utime, &stime, &nice, &vsize, &rss); ^ get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:186:12: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] get_proc_pids.c:200:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] name[i++] = (char) NULL; ^ get_proc_pids.c:201:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] name[i] = (char) NULL; ^ get_proc_pids.c:351:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(cmdline[i] == (char)NULL){ ^ get_proc_pids.c:352:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(cmdline[i+1] == (char)NULL) break; ^ get_proc_pids.c:376:8: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] sprintf(outbuf, "%s", scale_time(time,6)); ^ get_proc_pids.c:380:8: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] snprintf(outbuf,K,"%s",scale_k(vsize,5,0)); ^ get_proc_pids.c:380:8: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] get_proc_pids.c:382:8: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] snprintf(outbuf,K,"%s",scale_k(rss*4096,5,0)); ^ get_proc_pids.c:382:8: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] get_proc_pids.c:318:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,statm_buf,K-1); ^ get_proc_pids.c:344:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,cmdline,K-1); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_stat.c In file included from get_proc_stat.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_proc_stat.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_proc_stat.c: In function 'get_proc_stat': get_proc_stat.c:32:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_proc_stat.c:34:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_sysvipc.c In file included from get_proc_sysvipc.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_proc_sysvipc.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_proc_sysvipc.c: In function 'get_proc_sysvipc': get_proc_sysvipc.c:34:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_proc_sysvipc.c:36:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_uptime.c In file included from get_proc_uptime.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_proc_uptime.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_proc_uptime.c: In function 'get_proc_uptime': get_proc_uptime.c:32:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_proc_uptime.c:34:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_version.c In file included from get_proc_version.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_proc_version.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_system_identity.c In file included from get_system_identity.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_system_identity.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_system_time.c In file included from get_system_time.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_system_time.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_system_time.c: In function 'get_system_time': get_system_time.c:46:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_system_time.c:48:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_system_users.c In file included from get_system_users.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from get_system_users.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ get_system_users.c: In function 'get_system_users': get_system_users.c:51:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_sec); ^ get_system_users.c:53:2: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf(outbuf,"%d",tv.tv_usec); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 llists.c In file included from llists.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from llists.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ llists.c: In function 'newlist': llists.c:54:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct List *' [-Wformat=] printf("D_LLISTS: Made a new List at %0x\n",ret); ^ llists.c:55:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct ListElement *' [-Wformat=] printf("D_LLISTS: size = %d, head = %x, tail = %x\n",ret->size,ret->head,ret->tail); ^ llists.c:55:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'struct ListElement *' [-Wformat=] llists.c: In function 'add_list': llists.c:80:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct ListElement *' [-Wformat=] printf("D_LLISTS: Made a new element at %0x\n",new); ^ llists.c:93:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] printf("D_LLISTS: Made a new->data element of length %d at %0x\n",size,new->data); ^ llists.c:105:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct List *' [-Wformat=] printf("D_LLISTS: About to put it in list at %x\n",list); ^ llists.c: In function 'rm_list': llists.c:158:6: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("D_LLISTS: checking list[%d]=%s\n", i, element->data); ^ llists.c: In function 'delete_list': llists.c:244:6: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("D_LLISTS: deleting list[%d]=%s\n", i, element->data); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 parsecl.c In file included from parsecl.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from parsecl.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd.c In file included from xmlsysd.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd_daemon.c In file included from xmlsysd_daemon.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd_daemon.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd_get_stats.c In file included from xmlsysd_get_stats.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd_get_stats.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ xmlsysd_get_stats.c: In function 'get_stats': xmlsysd_get_stats.c:95:4: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] sprintf((char*) outbuf,"%d",tv.tv_sec); ^ xmlsysd_get_stats.c:97:4: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] sprintf((char*) outbuf,"%d",tv.tv_usec); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd_init_stats.c In file included from xmlsysd_init_stats.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd_init_stats.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ xmlsysd_init_stats.c: In function 'init_stats': xmlsysd_init_stats.c:30:8: warning: format '%d' expects argument of type 'int', but argument 3 has type 'struct FILE *' [-Wformat=] printf("D_INIT: Opened %s as fd = %d\n",procpaths[i],stat_fd[i]); ^ xmlsysd_init_stats.c:34:8: warning: format '%d' expects argument of type 'int', but argument 3 has type 'struct FILE *' [-Wformat=] printf("D_INIT: %s already open as fd = %d\n",procpaths[i],stat_fd[i]); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd_parse.c In file included from xmlsysd_parse.c:9:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd_parse.c:9: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ xmlsysd_parse.c: In function 'parse': xmlsysd_parse.c:42:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] delim[6] = (char) NULL; /* terminator */ ^ xmlsysd_parse.c: In function 'parse_chips': xmlsysd_parse.c:90:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] delim[1] = (char) NULL; /* terminator */ ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd_quit.c In file included from xmlsysd_quit.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd_quit.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd_send_stats.c In file included from xmlsysd_send_stats.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd_send_stats.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ xmlsysd_send_stats.c: In function 'send_stats': xmlsysd_send_stats.c:84:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(client_fd,outbuf,strlen(outbuf)); ^ In file included from /usr/include/string.h:639:0, from xmlsysd.h:14, from xmlsysd_send_stats.c:10: In function 'strncat', inlined from 'send_stats' at xmlsysd_send_stats.c:83:2: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd_startup.c In file included from xmlsysd_startup.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd_startup.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd_utils.c In file included from xmlsysd_utils.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd_utils.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ xmlsysd_utils.c: In function 'sendline': xmlsysd_utils.c:92:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,buffer,length); /* So send it */ ^ In file included from /usr/include/string.h:639:0, from xmlsysd.h:14, from xmlsysd_utils.c:10: In function 'strncat', inlined from 'send_error' at xmlsysd_utils.c:147:2: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 xmlsysd_work.c In file included from xmlsysd_work.c:10:0: xmlsysd.h:56:0: warning: "TRUE" redefined #define TRUE -1 ^ In file included from /usr/include/unicode/utypes.h:36:0, from /usr/include/unicode/ucnv_err.h:86, from /usr/include/unicode/ucnv.h:50, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from /usr/include/libxml2/libxml/tree.h:1306, from xmlsysd.h:53, from xmlsysd_work.c:10: /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition # define TRUE 1 ^ xmlsysd_work.c: In function 'xmlsysd_work_loop': xmlsysd_work.c:354:12: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("DWORK: dctl.userlist[%d]=%s\n", ifld++, element->data); ^ xmlsysd_work.c:362:12: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("DWORK: dctl.uidlist[%d]=%s\n", ifld++, element->data); ^ xmlsysd_work.c:398:12: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("DWORK: dctl.userlist[%d]=%s\n", ifld++, element->data); ^ xmlsysd_work.c:406:12: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("DWORK: dctl.uidlist[%d]=%s\n", ifld++, element->data); ^ xmlsysd_work.c:429:12: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("DWORK: dctl.userlist[%d]=%s\n", ifld++, element->data); ^ xmlsysd_work.c:437:12: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("DWORK: dctl.uidlist[%d]=%s\n", ifld++, element->data); ^ xmlsysd_work.c:472:12: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("DWORK: dctl.tasklist[%d]=%s\n", ifld++, element->data); ^ xmlsysd_work.c:504:12: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("DWORK: dctl.tasklist[%d]=%s\n", ifld++, element->data); ^ xmlsysd_work.c:526:12: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] printf("DWORK: dctl.tasklist[%d]=%s\n", ifld++, element->data); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 -Wl,-O1 -Wl,--as-needed get_proc_cpuinfo.o get_proc_loadavg.o get_proc_meminfo.o get_proc_net.o get_proc_pids.o get_proc_stat.o get_proc_sysvipc.o get_proc_uptime.o get_proc_version.o get_system_identity.o get_system_time.o get_system_users.o llists.o parsecl.o xmlsysd.o xmlsysd_daemon.o xmlsysd_get_stats.o xmlsysd_init_stats.o xmlsysd_parse.o xmlsysd_quit.o xmlsysd_send_stats.o xmlsysd_startup.o xmlsysd_utils.o xmlsysd_work.o -lxml2 -lz -lm -o xmlsysd make[1]: Leaving directory '/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/xmlsysd' (cd wulfstat; \ make) make[1]: Entering directory '/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/wulfstat' x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 display_values.c display_values.c: In function 'display_pids_cmdline': display_values.c:646:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pidptr->cmdline[colsleft] = (char)NULL; ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 parsecl.c parsecl.c: In function 'parsecl': parsecl.c:37:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hostfile[0] = (char) NULL; /* to show it not yet initialized */ ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 quit.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 screen.c screen.c: In function 'start_screen': screen.c:67:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(displaywin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:67:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(displaywin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:67:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(displaywin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:67:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(displaywin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:68:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (char)NULL,(char)NULL,(char)NULL,(char)NULL); ^ screen.c:68:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (char)NULL,(char)NULL,(char)NULL,(char)NULL); ^ screen.c:68:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (char)NULL,(char)NULL,(char)NULL,(char)NULL); ^ screen.c:68:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (char)NULL,(char)NULL,(char)NULL,(char)NULL); ^ screen.c:77:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(menuwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:77:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(menuwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:77:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(menuwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:77:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(menuwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:78:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ACS_LTEE,ACS_RTEE,(char)NULL,(char)NULL ); ^ screen.c:78:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ACS_LTEE,ACS_RTEE,(char)NULL,(char)NULL ); ^ screen.c:87:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(footerwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:87:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(footerwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:87:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(footerwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:87:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(footerwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:88:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ACS_LTEE,ACS_RTEE,(char)NULL,(char)NULL ); ^ screen.c:88:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ACS_LTEE,ACS_RTEE,(char)NULL,(char)NULL ); ^ screen.c:97:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(debugwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:97:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(debugwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:97:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(debugwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:97:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wborder(debugwin,(char)NULL,(char)NULL,(char)NULL,(char)NULL, ^ screen.c:98:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ACS_LTEE,ACS_RTEE,(char)NULL,(char)NULL ); ^ screen.c:98:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ACS_LTEE,ACS_RTEE,(char)NULL,(char)NULL ); ^ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 select_option.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 set_display_dctl_state.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 show_status.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 startup.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 work.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 wulfstat.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 xml_display_values.c x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 -Wl,-O1 -Wl,--as-needed -o wulfstat display_values.o parsecl.o quit.o screen.o select_option.o set_display_dctl_state.o show_status.o startup.o work.o wulfstat.o xml_display_values.o -L ../libwulf -lwulf -lpthread -lcurses -lxml2 -lm /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld: screen.o: undefined reference to symbol 'cbreak' /lib64/libtinfo.so.5: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:557: recipe for target 'wulfstat' failed make[1]: *** [wulfstat] Error 1 make[1]: Leaving directory '/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/wulfstat' Makefile:917: recipe for target 'wulfstat.time' failed make: *** [wulfstat.time] Error 2 emake failed * ERROR: sys-cluster/wulfware-2.6.0::gentoo failed (compile phase): * emake failed. * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2954: Called die * The specific snippet of code: * emake -j1 || die "emake failed." * * If you need support, post the output of `emerge --info '=sys-cluster/wulfware-2.6.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-cluster/wulfware-2.6.0::gentoo'`. sed: couldn't open temporary file /etc/portage/package.mask/sedgGnHtH: Permission denied