www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/25/11:50:32

Date: Mon, 25 Oct 1999 13:54:03 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: kenken64 <spyl AT tm DOT net DOT my>
cc: djgpp AT delorie DOT com
Subject: Re: Zlib compiling error ==> help needed
In-Reply-To: <381315eb.0@news.tm.net.my>
Message-ID: <Pine.SUN.3.91.991025135343.9200C-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 Sun, 24 Oct 1999, kenken64 wrote:

> C:\Compiler\ZLIB>make -fmsdos\makefile.dj2
> gcc -s -o example.exe example.o -L. -lz
> example.o(.text+0x198):example.c: undefined reference to `_streamv'
> example.o(.text+0x1d4):example.c: undefined reference to `_streamv'

These errors usually mean that RSXNTDJ include directory is used when
compiling DJGPP programs.  You should never mix RSXNTDJ with DJGPP,
these are two different compilers.

Add -v to the compilation command line and watch the order of include
directories printed by GCC.  Then modify your setup files accordingly.

- Raw text -


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