Mail Archives: djgpp/1999/10/25/11:50:32
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 -