delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/01/09:04:10

Date: Mon, 1 Dec 1997 16:03:15 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Olivier PERRON <olivier DOT perron AT art DOT alcatel DOT fr>
cc: djgpp AT delorie DOT com
Subject: Re: Help: RSXNTDJ and FLEX seem not to be compatible
In-Reply-To: <3482B104.7061@art.alcatel.fr>
Message-ID: <Pine.SUN.3.91.971201155404.9051A-100000@is>
MIME-Version: 1.0

On Mon, 1 Dec 1997, Olivier PERRON wrote:

> gcc -Zwin32   parserad.o flexrad.o artist.o windecod.o  -o windecod.exe 
> -lfl -lcomdl
> flexrad.o: In function `yy_get_next_buffer':
> flexrad.c:286: undefined reference to `_getc_inline'
> flexrad.c(.text+0xdda): undefined reference to `ferror'
> flexrad.c:287: undefined reference to `ferror'
> flexrad.o: In function `yy_init_buffer':
> flexrad.c:640: undefined reference to `fileno'

Both ferror and fileno are in the DJGPP C library.  There's something 
weird going on here.  Could you post 20 lines from flexread around
line 286?  Also, please add -v to the gcc command line and post 
everything it prints.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019