Message-ID: <000201be0086$edc23ce0$d73363c3@solo> From: "Myrto Serafetinidou" To: Subject: Help! Date: Mon, 26 Oct 1998 01:12:52 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com Hello, I have experienced a very fundamental problem and I can't seem to find an answer for it in the various available FAQ's. I have just installed DJGPP and I was testing it with a very elementary program (of the Hello World variety). I think the output using the -v switch (which I include further down) is pretty self-explanatory but I have no idea how to fix it. Here it is: Reading specs from c:/lang&lib/djgpp/lib/specs gcc version 2.8.1 c:/lang&lib/djgpp/lib/gcc-lib/djgpp\2.81\cpp.exe -lang-c++ -v -undef -D__GNU C =2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDO S DJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJG PP =2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__ DJ P_MINOR=1 -D__EXCEPTIONS main.cc c:/lang&lib/djgpp/tmp\ccaixnqa GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/lang&lib/djgpp/lang/cxx c:/lang&lib/djgpp/include c:/lang&lib/djgpp/lang/cxx c:/lang&lib/djgpp/lib/gcc-lib/djgpp/2.81/include c:/lang&lib/djgpp/include End of search list. c:/lang&lib/djgpp/lib/gcc-lib/djgpp\2.81\cc1plus.exe c:/lang&lib/djgpp/tmp\ccay awqa -quiet -dumpbase main.cc -version -o c:/lang&lib/djgpp/tmp\ccbyawqa GNU C++ version 2.8.1 (djgpp) compiled by GNU C version 2.8.1. c:/lang&lib/djgpp/bin/as.exe -o c:/lang&lib/djgpp/tmp\cccyawqa c:/lang&lib/djgp p/tmp\ccbyawqa c:/lang&lib/djgpp/bin/ld.exe -o test.exe c:/lang&lib/djgpp/lib/crt0.o -Lc:/lang &lib/djgpp/lib -Lc:/lang&lib/djgpp/lib/gcc-lib/djgpp\2.81 -Lc:/lang&lib/djgp p/bi n -Lc:/lang&lib/djgpp/lib c:/lang&lib/djgpp/tmp\cccyawqa -Tdjgpp.djl -lgcc -lc - lgcc c:/lang&lib/djgpp/tmp\cccyawqa(.text+0x2c):main.cc: undefined reference to `endl (ostream &)' c:/lang&lib/djgpp/tmp\cccyawqa(.text+0x36):main.cc: undefined reference to `cout ' c:/lang&lib/djgpp/tmp\cccyawqa(.text+0x3b):main.cc: undefined reference to `ostr eam::operator<<(char const *)' c:/lang&lib/djgpp/tmp\cccyawqa(.text+0x46):main.cc: undefined reference to `ostr eam::operator<<(ostream &(*)(ostream &))' ----------------------------------------- The output of the go32-v2 is: DPMI memory available: 39839 Kb DPMI swap space available: 22757 Kb and the environ.lst gives: TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM DJGPP=C:\Lang&Lib\DJGPP\djgpp.env PATH=C:\LANG&LIB\DJGPP\BIN;C:\LANG&LIB\JAVA1.1.1\BIN;C\WINDOWS;C:\WINDOWS\CO MMAND windir=C:\WINDOWS BLASTER=A220 I5 D1 H5 P330 T6 CMDLINE=go32-v2 I really hope you can help!!! Thank you Myrto