A fresh HEAD:

===> usr.bin/fstat
cc -O -pipe -mtune=pentiumpro -Wall -I/usr/src/usr.bin/fstat/../../sys   
-Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls  -c /usr/src/usr.bin/fstat/cd9660.c
cc -O -pipe -mtune=pentiumpro -Wall -I/usr/src/usr.bin/fstat/../../sys   
-Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls  -c /usr/src/usr.bin/fstat/fstat.c
cc -O -pipe -mtune=pentiumpro -Wall -I/usr/src/usr.bin/fstat/../../sys   
-Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls  -c /usr/src/usr.bin/fstat/msdosfs.c
/usr/src/usr.bin/fstat/msdosfs.c: In function `msdosfs_filestat':
/usr/src/usr.bin/fstat/msdosfs.c:136: warning: implicit declaration of function 
`cntobn'
/usr/src/usr.bin/fstat/msdosfs.c:136: warning: nested extern declaration of 
`cntobn'
/usr/src/usr.bin/fstat/msdosfs.c:141: warning: nested extern declaration of 
`cntobn'
/usr/src/usr.bin/fstat/msdosfs.c:136: warning: redundant redeclaration of 
'cntobn'
/usr/src/usr.bin/fstat/msdosfs.c:136: warning: previous implicit declaration of 
'cntobn' was here
cc -O -pipe -mtune=pentiumpro -Wall -I/usr/src/usr.bin/fstat/../../sys   
-Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls   -o fstat cd9660.o fstat.o msdosfs.o -lkvm
msdosfs.o(.text+0x1c0): In function `msdosfs_filestat':
: undefined reference to `cntobn'
msdosfs.o(.text+0x1e7): In function `msdosfs_filestat':
: undefined reference to `cntobn'
*** Error code 1

Stop in /usr/src/usr.bin/fstat.
*** Error code 1


Replacing cntobn with xcntobn seems to make it compile (swildner's idea).

--Peter

Attachment: pgpz9Ah1QTDUT.pgp
Description: PGP signature

Reply via email to