Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
fsdb doesn't compile anymore
Hi,
build.sh distribution (on amd64) with -current source updated some
minutes ago fails compiling fsdb:
dependall ===> fsdb
create fsdb/fsdb.d
create fsdb/.depend
compile fsdb/fsdb.o
/u/NetBSD/src/sbin/fsdb/fsdb.c: In function 'main':
/u/NetBSD/src/sbin/fsdb/fsdb.c:142: error: too few arguments to function
'ckfini'
*** Failed target: fsdb.o
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -O2 -pipe
-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=/u/NetBSD/arch/amd64/dest
-I/u/NetBSD/src/sbin/fsck -I/u/NetBSD/src/sbin/fsck_ffs -DWAPBL_DEBUG_PRINT=0
-c -Wno-pointer-sign /u/NetBSD/src/sbin/fsdb/fsdb.c
*** Error code 1
Stop.
nbmake: stopped in /u/NetBSD/src/sbin/fsdb
*** Failed target: dependall
after making fsdb compile (by giving ckfini() an argument) leads to
another failure in fsck_msdos/main.c:
compile fsck_msdos/main.o
/u/NetBSD/src/sbin/fsck_msdos/main.c:66: error: static declaration of 'catch'
follows non-static declaration
/u/NetBSD/src/sbin/fsck/fsutil.h:62: error: previous declaration of 'catch' was
here
*** Failed target: main.o
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -O2 -pipe
-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 -Wsign-compare -Werror --sysroot=/u/NetBSD/arch/amd64/dest
-I/u/NetBSD/src/sbin/fsck -I/u/NetBSD/src/sbin/dump -c
/u/NetBSD/src/sbin/fsck_msdos/main.c
*** Error code 1
Stop.
nbmake: stopped in /u/NetBSD/src/sbin/fsck_msdos
*** Failed target: dependall
"fixing" this (by removing "static" from the definiton of catch) leads
to another problem w/ fsck_msdos:
compile fsck_msdos/check.o
In file included from /u/NetBSD/src/sbin/fsck_msdos/check.c:41:
/u/NetBSD/src/sbin/fsck/fsutil.h:61: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'returntosingle'
*** Failed target: check.o
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -O2 -pipe
-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 -Wsign-compare -Werror --sysroot=/u/NetBSD/arch/amd64/dest
-I/u/NetBSD/src/sbin/fsck -I/u/NetBSD/src/sbin/dump -c
/u/NetBSD/src/sbin/fsck_msdos/check.c
*** Error code 1
Stop.
nbmake: stopped in /u/NetBSD/src/sbin/fsck_msdos
Kurt
--
Viele Gruesse
Kurt Schreiner
Home |
Main Index |
Thread Index |
Old Index