[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Solution: Error building mig
From: |
José Luis Alarcón Sánchez |
Subject: |
Solution: Error building mig |
Date: |
Sat, 11 Dec 2004 22:32:13 +0000 |
José Luis Alarcón Sánchez <jlalarcon@bluebottle.com> writes:
>
> > gcc -g -O2 -o migcom error.o global.o header.o lexxer.o migcom.o
> > parser.o routine.o server.o statement.o string.o type.o user.o utils.o
> > vprint.o
> > lexxer.o(.text+0x1671): In function 'yylex':
> > /mig-1.3/lex.yy.c:1701: undefined reference to 'yywrap'
> > lexxer.o(.text+0x1d27): In function 'input':
> > /mig-1.3/lex.yy.c:2051: undefined reference to 'yywrap'
> > collect2: ld returned 1 exit status
> > make: *** [migcom] Error 1
> >
> >
> > I want to please yours diagnostics about this problem. Why it happen?,
> > what is the lex.yy.c file?, where is it?. It's there any solution for
> > solve this?.
>
> You need flex and bison.
>
> --
> Marco
>
Hi.
I get solve this problem.
A simple line must be added to the file /mig-1.3/lexxer.l
%option noyywrap
Then, run make and all go okey. This happened, i think, cos i'm
haven't bison installed (or maybe a flex "bad installation"?, i don´t
know).
Well, now i have mig installed on my Hurd system and i go to try
compile gnumach 1.3 by myself.
Thanks very much to al who help me.
Regards.
Jose.