make buildword failed

David Xu bsddiy at 126.com
Sat Sep 24 18:41:26 PDT 2005


cc -O -pipe -mtune=pentiumpro -DCOLORLS   -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/bin/ls/print.c
cc -O -pipe -mtune=pentiumpro -DCOLORLS   -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/bin/ls/util.c
/usr/src/bin/ls/util.c: In function `prn_normal':
/usr/src/bin/ls/util.c:63: warning: implicit declaration of function 
`mbrtowc'
/usr/src/bin/ls/util.c:63: warning: nested extern declaration of `mbrtowc'
/usr/src/bin/ls/util.c:78: warning: implicit declaration of function 
`iswprint'
/usr/src/bin/ls/util.c:78: warning: nested extern declaration of `iswprint'
/usr/src/bin/ls/util.c:79: warning: implicit declaration of function 
`wcwidth'
/usr/src/bin/ls/util.c:79: warning: nested extern declaration of `wcwidth'
/usr/src/bin/ls/util.c: In function `prn_printable':
/usr/src/bin/ls/util.c:94: warning: nested extern declaration of `mbrtowc'
/usr/src/bin/ls/util.c:63: warning: redundant redeclaration of 'mbrtowc'
/usr/src/bin/ls/util.c:63: warning: previous implicit declaration of 
'mbrtowc' was here
/usr/src/bin/ls/util.c:107: warning: nested extern declaration of `iswprint'
/usr/src/bin/ls/util.c:78: warning: redundant redeclaration of 'iswprint'
/usr/src/bin/ls/util.c:78: warning: previous implicit declaration of 
'iswprint' was here
/usr/src/bin/ls/util.c:116: warning: nested extern declaration of `wcwidth'
/usr/src/bin/ls/util.c:79: warning: redundant redeclaration of 'wcwidth'
/usr/src/bin/ls/util.c:79: warning: previous implicit declaration of 
'wcwidth' was here
/usr/src/bin/ls/util.c: In function `len_octal':
/usr/src/bin/ls/util.c:143: warning: nested extern declaration of `mbrtowc'
/usr/src/bin/ls/util.c:63: warning: redundant redeclaration of 'mbrtowc'
/usr/src/bin/ls/util.c:63: warning: previous implicit declaration of 
'mbrtowc' was here
/usr/src/bin/ls/util.c:155: warning: nested extern declaration of `iswprint'
/usr/src/bin/ls/util.c:78: warning: redundant redeclaration of 'iswprint'
/usr/src/bin/ls/util.c:78: warning: previous implicit declaration of 
'iswprint' was here
/usr/src/bin/ls/util.c: In function `prn_octal':
/usr/src/bin/ls/util.c:177: warning: nested extern declaration of `mbrtowc'
/usr/src/bin/ls/util.c:63: warning: redundant redeclaration of 'mbrtowc'
/usr/src/bin/ls/util.c:63: warning: previous implicit declaration of 
'mbrtowc' was here
/usr/src/bin/ls/util.c:179: warning: nested extern declaration of `iswprint'
/usr/src/bin/ls/util.c:78: warning: redundant redeclaration of 'iswprint'
/usr/src/bin/ls/util.c:78: warning: previous implicit declaration of 
'iswprint' was here
/usr/src/bin/ls/util.c:182: warning: nested extern declaration of `wcwidth'
/usr/src/bin/ls/util.c:79: warning: redundant redeclaration of 'wcwidth'
/usr/src/bin/ls/util.c:79: warning: previous implicit declaration of 
'wcwidth' was here
cc -O -pipe -mtune=pentiumpro -DCOLORLS   -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   -static -o ls cmp.o ls.o print.o util.o -lutil -ltermcap
util.o(.text+0xab): In function `prn_normal':
: undefined reference to `iswprint'
util.o(.text+0xbd): In function `prn_normal':
: undefined reference to `wcwidth'
util.o(.text+0xe7): In function `prn_normal':
: undefined reference to `mbrtowc'
util.o(.text+0x1cb): In function `prn_printable':
: undefined reference to `iswprint'
util.o(.text+0x210): In function `prn_printable':
: undefined reference to `wcwidth'
util.o(.text+0x23a): In function `prn_printable':
: undefined reference to `mbrtowc'
util.o(.text+0x30c): In function `len_octal':
: undefined reference to `iswprint'
util.o(.text+0x34d): In function `len_octal':
: undefined reference to `mbrtowc'
util.o(.text+0x400): In function `prn_octal':
: undefined reference to `iswprint'
util.o(.text+0x44a): In function `prn_octal':
: undefined reference to `wcwidth'
util.o(.text+0x5a5): In function `prn_octal':
: undefined reference to `mbrtowc'
*** Error code 1

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





More information about the Users mailing list