Date: Mon, 25 Oct 1999 13:54:03 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: kenken64 cc: djgpp AT delorie DOT com Subject: Re: Zlib compiling error ==> help needed In-Reply-To: <381315eb.0@news.tm.net.my> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.