Mail Archives: djgpp/1997/09/01/12:34:47
Jacques SAMOUN wrote:
>
> Hi,
>
> my program uses the following " fprintf (stderr, "blablabla...")", which
> is
> trivial. However, when building with djgpp, the linker complains as :
>
> gcc -g -DMSDOS -I. -c edown.c
> gcc -g -DMSDOS -o edown edown.o
> :'edown.o: In function `usage
> 'edown.c:89: undefined reference to `_iob
[...]
> Has anybody an idea here ?
>
> Many thnx,
> Jacques.
>
This is probably due to a mix of 1.12 Header files, and/or
1.12 compiler and 2.x library. I'm not sure how to correct
this fool-proof except re-installing djgpp from scratch.
Yes, you can grep /djgpp/include/*.h for iob and replace only
those files, but I wouldn't rely on that.
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -