[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnubatch] GNU Batch Fails To Build
From: |
address@hidden |
Subject: |
Re: [bug-gnubatch] GNU Batch Fails To Build |
Date: |
Thu, 7 May 2015 21:58:56 -0700 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
On Tue, May 05, 2015 at 01:52:51PM -0700, address@hidden wrote:
> I actually found this exact error from 2011 so I think it's pretty
> well established on Red Hat style distros.
>
> http://lists.gnu.org/archive/html/help-gnubatch/2011-09/msg00009.html
>
> --------------------------------------------------------------
> msglex.o: In function `input':
> /cfs/xed/gnubatch/gnubatch-1.11/util/<stdout>:1411: undefined reference to
> `yywrap'
> msglex.o: In function `yylex':
> /cfs/xed/gnubatch/gnubatch-1.11/util/<stdout>:1076: undefined reference to
> `yywrap'
> collect2: ld returned 1 exit status
> --------------------------------------------------------------
I may have discovered something related to the problem.
This source,
http://stackoverflow.com/questions/1811125/undefined-reference-to-yywrap
proposes this solution.
"The scanner calls this function on end of file, so you can point it to
another file and continue scanning its contents. If you don't need
this, use `%option noyywrap` or link with `-lfl` to use the default
`yywrap()` function in the library fl."
If anyone knows how to turn that into a practical fix for this
problem, that'd be very much appreciated. Thanks.
Chris
--
++++++++++[>++++++++++++<-]>-...<++++++[>>+++++++<<-]>>++++.<+.<++++[>
Chris X Edwards-----<-]>+.- Have a nice day. >.<-.+++++><chris AT xed.ch>