[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation problem



On Fri, 2002-03-22 at 02:15, Gopal Chandavarapu wrote:
> Making install in apps/shells/ash for cris-axis-linux-gnu 
> make[1]: Entering directory
> `/home/gopcha/axis/axis/devboard_lx/apps/shells/ash'gcc-cris -mlinux
> -isystem
> /home/gopcha/axis/axis/devboard_lx/target/cris-axis-linux-gnu/include
> -L/home/gopcha/axis/axis/devboard_lx/target/cris-axis-linux-gnu/lib -s
> alias.o cd.o error.o eval.o exec.o expand.o hetio.o histedit.o input.o
> jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o
> parser.o bltin/printf.o redir.o show.o trap.o output.o var.o
> bltin/test.o setmode.o bltin/times.o lex.o arith.o arith_lex.o
> builtins.o init.o nodes.o signames.o syntax.o -lreadline -ltermcap -o
> ash 
> arith.o: In function `arith': 
> arith.o(.text+0x2e): undefined reference to `arith_lex_reset' 
> arith.o: In function `yyerror': 
> arith.o(.text+0x14a): undefined reference to `arith_lex_reset' 
> arith.o: In function `yyparse': 
> arith.o(.text+0x1c6): undefined reference to `yylex' 
> arith.o(.text+0x676): undefined reference to `yylex' 
> collect2: ld returned 1 exit status 
> make[1]: *** [ash] Error 1 
> make[1]: Leaving directory
> `/home/gopcha/axis/axis/devboard_lx/apps/shells/ash' 
> make: *** [install-recurse] Error 1 
> gopcha@palmob7:~/axis/axis/devboard_lx> 
>   
>   
>   
> 
> 
> What is the solution to this problem. 

I think it may have something to do with incompatibility between yacc or
bison vs byacc (or maybe lex vs flex). Install byacc on your PC instead
of yacc or bison and do a "make clean" in apps/shells/ash and try again.

Best regards
/Jonas