Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

amd64 build still broken - libzpool/util.c



With sources updated as of 2014-03-27 at 21:50:01 UTC

#   compile  libzpool/util.o
/test-bed/tools/bin/x86_64--netbsd-gcc -O2 -O0 -fno-inline -std=gnu99      --sysroot=/test-bed/dst 
"-D__va_list=va_list" "-Doffsetof(s,m)=((size_t)(&(((s *)0)->m)))" -std=c99 
-D_SUNOS_VTOC_16 -D_PROPLIB_ZFS_CONFLICT -I/test-bed/src/external/cddl/osnet 
-I/test-bed/src/external/cddl/osnet/include -I/test-bed/src/external/cddl/osnet/sys 
-I/test-bed/src/external/cddl/osnet/dist/uts/common 
-I/test-bed/src/external/cddl/osnet/dist/uts/common/zfs 
-I/test-bed/src/external/cddl/osnet/dist/uts/common/fs/zfs 
-I/test-bed/src/external/cddl/osnet/dist/uts/common/sys 
-I/test-bed/src/external/cddl/osnet/dist/common/zfs -I/test-bed/src/external/cddl/osnet/dist/head 
-I/test-bed/src/external/cddl/osnet/dist/lib/libdevinfo 
-I/test-bed/src/external/cddl/osnet/dist/lib/libnvpair 
-I/test-bed/src/external/cddl/osnet/dist/lib/libshare/common 
-I/test-bed/src/external/cddl/osnet/dist/lib/libumem 
-I/test-bed/src/external/cddl/osnet/dist/lib/libuutil/common 
-I/test-bed/src/external/cddl/osnet/dist/lib/libzfs/common 
-I/test-bed/src/external/cddl/osnet/dist/lib/libzpool/common 
-I/test-bed/src/external/cddl/osnet/dist/common -std=c99  -c    
/test-bed/src/external/cddl/osnet/lib/libzpool/../../dist/lib/libzpool/common/util.c -o util.o
/test-bed/src/external/cddl/osnet/lib/libzpool/../../dist/lib/libzpool/common/util.c:41:1:
 error: conflicting types for 'nicenum'
 nicenum(uint64_t num, char *buf, size_t buflen)
 ^
In file included from /test-bed/src/external/cddl/osnet/lib/libzpool/../../dist/lib/libzpool/common/util.c:27:0:/test-bed/src/external/cddl/osnet/sys/sys/zfs_context.h:434:13: note: previous declaration of 'nicenum' was here
 extern void nicenum(uint64_t num, char *buf);
             ^
/test-bed/src/external/cddl/osnet/lib/libzpool/../../dist/lib/libzpool/common/util.c:
 In function 'show_vdev_stats':
/test-bed/src/external/cddl/osnet/lib/libzpool/../../dist/lib/libzpool/common/util.c:99:3:
 warning: implicit declaration of function 'size' 
[-Wimplicit-function-declaration]
   nicenum(vs->vs_alloc, used, size(used));
   ^

*** Failed target:  util.o

-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index