Mail Archives: djgpp/1999/10/11/21:28:12
On Mon, 11 Oct 1999, SJ Larson wrote:
> Apologies in advance if this is covered in the documentation but I
> have tried to find it in the FAQ. I can print to stdout normally
> 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.
Did you compile the program as C or as C++?
I suggest to try compiling a simple one-liner, to see whether this is
something that is specific to the source where you found the problem.
- Raw text -