From: Daniel Gowans Newsgroups: comp.os.msdos.djgpp Subject: cannot load header files Date: Wed, 12 Nov 1997 23:12:43 -0700 Organization: Intermountain Suzuki String Institute Lines: 42 Message-ID: <346A9A5B.A3B61F5C@m.cc.utah.edu> NNTP-Posting-Host: slc170a.modem.xmission.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I just downloaded DJGPP. I tried to test it by compiling a few small programs. Alas, I cannot get it to work. It will NOT load the header files. It says this: Reading specs from c:\djgpp\lib\specs gcc version 2.7.2.1 c:\djgpp\bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 prog2.cc c:\djgpp\tmp\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:\djgpp\lang\cxx c:\djgpp\include c:\djgpp\contrib\grx20\include /usr/local/lib/g++-include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. c:\djgpp\bin\cc1plus.exe c:\djgpp\tmp\ccbaaaaa -quiet -dumpbase prog2.cc -version -o c:\djgpp\tmp\cccaaaaa GNU C++ version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1. c:\djgpp\bin\as.exe -o c:\djgpp\tmp\ccdaaaaa c:\djgpp\tmp\cccaaaaa c:\djgpp\bin\ld.exe -o prog2.exe c:\djgpp\lib\crt0.o -Lc:\djgpp\lib c:\djgpp\tmp\ccdaaaaa -lm -Tdjgpp.djl -lgcc -lc -lgcc c:\djgpp\tmp\ccdaaaaa(.text+0x323):prog2.cc: undefined reference to `ifstream::ifstream(int)' c:\djgpp\tmp\ccdaaaaa(.text+0x33a):prog2.cc: undefined reference to `cout' all of the io functions etc are undefined. Yet if you look under the header search log section, then you can see that the c:\djgpp\lang\cxx directory was checked. I know the files are there. Why doesn't it load them? HELP