Re: Compiling breve using Mingw

Thies Pfeiffer <[email protected]> Fri, 22 Jul 2005 18:26:33 +0200
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
jon klein schrieb:

>
> On Jul 21, 2005, at 7:17 PM, Thies Pfeiffer wrote:
>
>> I am currently trying to compile breve using mingw under WindowsXP
>> and I am stuck with the following errors during linking:
>> undefined reference to `lineno'
>> undefined reference to `yyfile'
>
>
> yyfile and lineno are defined in the flex file steve/stevelex.l.  They
> are referenced from the bison file steve/steveparse.y as extern  
> variables.
> I can't really imagine why there would be a problem with this though,
> especially if other symbols generated from stevelex.l are being found
> (namely yylex).
>
> You might want to inspect the flex generated file steve/stevelex.c to  
> make
> sure that the variables are in fact getting defined there, or use "nm"
> on the object file stevelex.o to see if the symbols are ending up in  
> there.

Thanx, Jon!

Now it works. The point was, that I have had problems with flex 
beforehand and
apparantly only parts of the .c/.h have been created (unfortunately, 
they were
not cleaned and checked), so I had all the time tried to compile against 
a broken
binary .o.

ciao and thanx again,
Thies

-- 
Dipl. Inform. Thies Pfeiffer
University of Bielefeld - SFB 360 - Project C3 - Room D4-123
EMail: [email protected] - Telephone: +49 521 106 5276

_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve