看板 DFBSD_bugs 關於我們 聯絡資訊
13 feb 2011 kl. 10.11 skrev Steve O'Hara-Smith: > Hi, > > I just did a git pull and buildworld - which failed early (a few seconds) with: > > cc -O -pipe -march=pentiumpro -DSHELL -I. -I/usr/src/bin/sh -DNO_HISTORY -std=gnu99 -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /usr/src/bin/sh/eval.c > /usr/src/bin/sh/eval.c: In function 'safe_builtin': > /usr/src/bin/sh/eval.c:656: error: 'KILLCMD' undeclared (first use in this function) > /usr/src/bin/sh/eval.c:656: error: (Each undeclared identifier is reported only once > /usr/src/bin/sh/eval.c:656: error: for each function it appears in.) > /usr/src/bin/sh/eval.c: In function 'evalcommand': > /usr/src/bin/sh/eval.c:928: warning: implicit declaration of function 'reffunc' > /usr/src/bin/sh/eval.c:928: warning: nested extern declaration of 'reffunc' > /usr/src/bin/sh/eval.c:935: warning: implicit declaration of function 'unreffunc' > /usr/src/bin/sh/eval.c:935: warning: nested extern declaration of 'unreffunc' > /usr/src/bin/sh/eval.c:950: warning: implicit declaration of function 'getfuncnode' > /usr/src/bin/sh/eval.c:950: warning: nested extern declaration of 'getfuncnode' > /usr/src/bin/sh/eval.c:950: warning: passing argument 1 of 'evaltree' makes pointer from integer without a cast > /usr/src/bin/sh/eval.c:193: note: expected 'union node *' but argument is of type 'int' > /usr/src/bin/sh/eval.c:952: warning: passing argument 1 of 'evaltree' makes pointer from integer without a cast > /usr/src/bin/sh/eval.c:193: note: expected 'union node *' but argument is of type 'int' Hm, it works for me. What commit are you on? Max