Problems to build src/rescue

From: Marcus Alves Grando <mnag_at_FreeBSD.org>
Date: Sun, 26 Nov 2006 22:08:11 -0200
Hi list,

I have some problem to build world, more precisily src/rescue. I already 
run make clean, remove usr/obj and update via cvsup my sources, but 
rescue does not compile.

See below:

# cd /usr/src/rescue
# make obj && make
...
ld -dc -r -o setfacl.lo setfacl_stub.o 
/usr/obj/usr/src/rescue/rescue//usr/src/bin/setfacl/file.o 
/usr/obj/usr/src/rescue/rescue//usr/src/bin/setfacl/mask.o 
/usr/obj/usr/src/rescue/rescue//usr/src/bin/setfacl/merge.o 
/usr/obj/usr/src/rescue/rescue//usr/src/bin/setfacl/remove.o 
/usr/obj/usr/src/rescue/rescue//usr/src/bin/setfacl/setfacl.o 
/usr/obj/usr/src/rescue/rescue//usr/src/bin/setfacl/util.o
crunchide -k _crunched_setfacl_stub setfacl.lo
echo "int _crunched_sh_stub(int argc, char **argv, char **envp){return 
main(argc,argv,envp);}" >sh_stub.c
cc -O2 -fno-strict-aliasing -pipe  -c sh_stub.c
(cd /usr/src/rescue/rescue/../../bin/sh &&  make -DRESCUE 
CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/sh/ depend && make -DRESCUE 
CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/sh/ alias.o arith.o arith_lex.o 
cd.o echo.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o 
mail.o main.o memalloc.o miscbltin.o mystring.o options.o output.o 
parser.o redir.o show.o test.o trap.o var.o builtins.o init.o nodes.o 
syntax.o)
`alias.o' is up to date.
`arith.o' is up to date.
`arith_lex.o' is up to date.
`cd.o' is up to date.
`echo.o' is up to date.
`error.o' is up to date.
`eval.o' is up to date.
`exec.o' is up to date.
`expand.o' is up to date.
`histedit.o' is up to date.
`input.o' is up to date.
`jobs.o' is up to date.
`mail.o' is up to date.
`main.o' is up to date.
`memalloc.o' is up to date.
`miscbltin.o' is up to date.
`mystring.o' is up to date.
`options.o' is up to date.
`output.o' is up to date.
`parser.o' is up to date.
`redir.o' is up to date.
`show.o' is up to date.
`test.o' is up to date.
`trap.o' is up to date.
`var.o' is up to date.
`builtins.o' is up to date.
`init.o' is up to date.
`nodes.o' is up to date.
`syntax.o' is up to date.
cc -O2 -fno-strict-aliasing -pipe  -c 
/usr/obj/usr/src/rescue/rescue//usr/src/bin/sh/arith.c
/usr/src/bin/sh/arith.y:46:19: arith.h: No such file or directory
/usr/src/bin/sh/arith.y:47:19: shell.h: No such file or directory
/usr/src/bin/sh/arith.y:48:17: var.h: No such file or directory
/usr/src/bin/sh/arith.y:51: error: syntax error before "arith_t"
/usr/src/bin/sh/arith.y:258:19: error.h: No such file or directory
/usr/src/bin/sh/arith.y:259:20: output.h: No such file or directory
/usr/src/bin/sh/arith.y:260:22: memalloc.h: No such file or directory
/usr/src/bin/sh/arith.y:270: error: syntax error before "arith_t"
/usr/src/bin/sh/arith.y: In function `arith_assign':
/usr/src/bin/sh/arith.y:275: error: `value' undeclared (first use in 
this function)
/usr/src/bin/sh/arith.y:275: error: (Each undeclared identifier is 
reported only once
/usr/src/bin/sh/arith.y:275: error: for each function it appears in.)
/usr/src/bin/sh/arith.y:276: error: `ARITH_FORMAT_STR' undeclared (first 
use in this function)
/usr/src/bin/sh/arith.y:277: error: `name' undeclared (first use in this 
function)
/usr/src/bin/sh/arith.y: In function `arith':
/usr/src/bin/sh/arith.y:289: error: `INTOFF' undeclared (first use in 
this function)
/usr/src/bin/sh/arith.y:292: error: `INTON' undeclared (first use in 
this function)
/usr/src/bin/sh/arith.y: In function `expcmd':
/usr/src/bin/sh/arith.y:334: warning: assignment makes pointer from 
integer without a cast
/usr/src/bin/sh/arith.y: In function `yyparse':
/usr/src/bin/sh/arith.y:78: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:83: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:83: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:85: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:85: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:85: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:85: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:85: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:87: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:87: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:87: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:87: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:89: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:89: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:89: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:91: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:91: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:91: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:93: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:93: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:93: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:95: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:95: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:95: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:97: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:97: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:97: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:99: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:99: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:99: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:101: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:101: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:101: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:103: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:103: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:103: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:105: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:105: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:105: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:107: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:107: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:107: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:109: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:109: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:109: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:111: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:111: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:111: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:113: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:113: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:113: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:115: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:115: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:115: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:118: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:120: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:120: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:120: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:124: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:126: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:126: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:126: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:129: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:129: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:131: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:131: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:133: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:133: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:135: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:135: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:140: error: syntax error before "arith_val"
/usr/src/bin/sh/arith.y:143: warning: comparison between pointer and integer
/usr/src/bin/sh/arith.y:145: warning: assignment makes pointer from 
integer without a cast
/usr/src/bin/sh/arith.y:146: error: `arith_val' undeclared (first use in 
this function)
/usr/src/bin/sh/arith.y:153: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:157: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:159: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:159: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:163: error: syntax error before "value"
/usr/src/bin/sh/arith.y:165: error: `value' undeclared (first use in 
this function)
/usr/src/bin/sh/arith.y:165: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:168: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:172: error: syntax error before "value"
/usr/src/bin/sh/arith.y:174: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:177: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:181: error: syntax error before "value"
/usr/src/bin/sh/arith.y:183: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:186: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:190: error: syntax error before "value"
/usr/src/bin/sh/arith.y:192: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:195: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:198: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:202: error: syntax error before "value"
/usr/src/bin/sh/arith.y:204: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:207: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:210: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:214: error: syntax error before "value"
/usr/src/bin/sh/arith.y:216: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:219: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:223: error: syntax error before "value"
/usr/src/bin/sh/arith.y:225: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:228: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:232: error: syntax error before "value"
/usr/src/bin/sh/arith.y:234: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:237: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:241: error: syntax error before "value"
/usr/src/bin/sh/arith.y:243: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:246: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:250: error: syntax error before "value"
/usr/src/bin/sh/arith.y:252: error: union has no member named `l_value'
/usr/src/bin/sh/arith.y:255: error: union has no member named `l_value'
*** Error code 1

Stop in /usr/obj/usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue.
#

Any idea?

-- 
Marcus Alves Grando
marcus(at)corp.grupos.com.br  |  Grupos Internet S/A
   mnag(at)FreeBSD.org         |  FreeBSD.org
Received on Sun Nov 26 2006 - 23:08:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC