Current-Users archive

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

makefs build failure on amd64

#   compile  makefs/chfs.o
/usr/src/obj.amd64/tooldir.NetBSD-6.99.4-amd64/bin/x86_64--netbsd-gcc -O2  
-std=gnu99  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings -Wreturn-type 
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter 
-Wno-sign-compare -Werror    --sysroot=/ -I/usr/src/usr.sbin/makefs 
-I/usr/src/sbin/mknod -I/usr/src/usr.sbin/mtree -I/usr/src/sys/fs/cd9660 
-I/usr/src/sys/ufs/chfs -DV7FS_EI -I/usr/src/sys/fs/v7fs 
-I/usr/src/sbin/newfs_v7fs -I/usr/src/sbin/fsck  -c    
cc1: warnings being treated as errors
/usr/src/usr.sbin/makefs/chfs.c: In function 'chfs_parse_opts':
/usr/src/usr.sbin/makefs/chfs.c:101:2: error: passing argument 1 of 
'set_option' discards qualifiers from pointer target type
/usr/src/usr.sbin/makefs/makefs.h:161:6: note: expected 'struct option_t *' but 
argument is of type 'const struct option_t *'
*** Error code 1

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

Home | Main Index | Thread Index | Old Index