Mail Archives: djgpp/1997/12/01/09:04:10
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 -