Mail Archives: djgpp/1999/10/12/17:47:29
On Mon, 11 Oct 1999 16:33:14 +0200 (IST), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> wrote:
>On Mon, 11 Oct 1999, SJ Larson wrote:
>> using a printf but when I try to use fprintf (to stderr or any other
>> filehandle for that matter) I get a load time error:
>>
>> undefined reference to _streamv
>
>This doesn't come from DJGPP. There's no external symbol called streamv
>or _streamv anywhere in the DJGPP C library. Perhaps you compiled the
>program with some non-DJGPP headers, or perhaps some C++ library does
>something weird with fprintf.
Thanks to Eli, this problem is now solved. gcc was picking up the
stdio.h include file that comes with RSXNTDJ (I've no idea why it
causes this load problem). When I renamed the stdio.h in RSXNTDJ, gcc
picked up the correct header file and all was well.
- Raw text -