From: news AT larson4 DOT demon DOT co DOT uk (SJ Larson) Newsgroups: comp.os.msdos.djgpp Subject: Re: streamv Date: Tue, 12 Oct 1999 19:53:49 GMT Organization: home Message-ID: <3803910c.46831915@news.demon.co.uk> References: NNTP-Posting-Host: larson4.demon.co.uk X-NNTP-Posting-Host: larson4.demon.co.uk:193.237.14.213 X-Trace: news.demon.co.uk 939757703 nnrp-07:8098 NO-IDENT larson4.demon.co.uk:193.237.14.213 X-Complaints-To: abuse AT demon DOT net X-Newsreader: Forte Free Agent 1.11/32.235 Lines: 18 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 11 Oct 1999 16:33:14 +0200 (IST), Eli Zaretskii 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.