delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/11/21:28:12

Date: Mon, 11 Oct 1999 16:33:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: SJ Larson <news AT larson4 DOT demon DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: streamv
In-Reply-To: <3801abfa.154861908@news.demon.co.uk>
Message-ID: <Pine.SUN.3.91.991011163047.29606F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


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