From: Bruce Kopena Newsgroups: comp.os.msdos.djgpp Subject: Re: Weird linking errors (long) Date: Wed, 26 Mar 1997 18:32:54 -0500 Organization: Wing & a Prayer Lines: 473 Message-ID: <3339B226.46FA@erols.com> References: <333817FA DOT 77BB AT erols DOT com> <3338FC39 DOT 50BD AT Mathematik DOT tu-chemnitz DOT de> NNTP-Posting-Host: phd-as2s17.erols.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------763E5C823D27" To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp This is a multi-part message in MIME format. --------------763E5C823D27 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Robert Hoehne wrote: > > Please use the RHIDE bug report and post the generated file here, > because > it contains many usefull information for us to help you. The bug report should be attached (#1) > > In addition to the above you can run also RHIDE with the '-dc' switch > to get the exact commandlines how RHIDE calls the compiler/linker. That should be attachment two. Attachment three should be the file you get from running rhide with th '-da' switch, if it's of any use. > > Robert > -- Thanks. I don't think it's a problem with RHIDE or gcc, though. If that were the case, it shouldn't have worked before, I don't think I changed any settings. --------------763E5C823D27 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Bugrep.txt" This is a bug report for RHIDE Version 1.1 (Jan 20 1997 01:01:06) I am running MS-DOS 6.22 Important environment variables: PATH=C:\WINDOWS;C:\DOS;C:\PKZIP;C:\NEOPAINT;E:\BITBLIT;E:\DJGPP\BIN; DJGPP=E:\DJGPP\DJGPP.ENV LFN=n Here is the output from a sample compilation and link for C Reading specs from e:/djgpp/lib\specs gcc version 2.7.2 e:/djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -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 - e:/djgpp/tmp/RHlaaaaa\ccbaaaaa GNU CPP version 2.7.2 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: e:/djgpp/include e:/djgpp/contrib/grx20/include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2/include /usr/include End of search list. e:/djgpp/bin\cc1.exe e:/djgpp/tmp/RHlaaaaa\ccbaaaaa -quiet -dumpbase -.c -version -o e:/djgpp/tmp/RHlaaaaa\cccaaaaa GNU C version 2.7.2 (80386, BSD syntax) compiled by GNU C version 2.7.2. e:/djgpp/bin\as.exe -o e:/djgpp/tmp/RHlaaaaa\ccdaaaaa e:/djgpp/tmp/RHlaaaaa\cccaaaaa e:/djgpp/bin\ld.exe -o /dev/null e:/djgpp/lib\crt0.o -Le:/djgpp/lib e:/djgpp/tmp/RHlaaaaa\ccdaaaaa -Tdjgpp.djl -lgcc -lc -lgcc e:/djgpp/bin\stubify.exe -v /dev/null Warning: input file is not COFF or stubbed COFF .exe: No such file or directory (ENOENT) stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie End of the sample Here is the output from a sample compilation and link for C++ Reading specs from e:/djgpp/lib\specs gcc version 2.7.2 e:/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 - e:/djgpp/tmp/RHlaaaaa\ccbaaaaa GNU CPP version 2.7.2 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: e:/djgpp/lang/cxx e:/djgpp/include e:/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/include /usr/include End of search list. cc1plus e:/djgpp/tmp/RHlaaaaa\ccbaaaaa -quiet -dumpbase -.cc -version -o e:/djgpp/tmp/RHlaaaaa\cccaaaaa gcc.exe: installation problem, cannot exec `cc1plus': No such file or directory (ENOENT) End of the sample My problem is the following: ============================ I don't believe the problem is with RHIDE, but it can't hurt to check. I did not install the C++ portions of DJGPP, unless they were neccessary. The project built correctly before, so I it must be in my code somewhere, but I have no idea where. --------------763E5C823D27 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Err" executing: gcc -Le:/allegro/lib/djgpp/ -o ../grass.exe gfmenu.o ggmenu.o grass.o gset.o gstuff.o menu.o misc.o setup.o terrain.o vars.o -lalleg return value: 1 --------------763E5C823D27 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Errors.txt" using e:/djgpp/tmp/RHlaaaaa as temp directory clearing the FindCache Search for file 'e:\power\grass.exe' not found: take 'e:\power\grass.exe' checking file time for 'e:\power\grass.exe' found 'e:\power\grass.exe' not in filetime cache, time: 00000000 checking: e:\power\grass.exe Search for file 'gfmenu.o' found 'gfmenu.o' in current directory found 'e:/power/src/gfmenu.o' checking file time for 'e:/power/src/gfmenu.o' found 'e:/power/src/gfmenu.o' not in filetime cache, time: 333908b2 checking: e:/power/src/gfmenu.o checking gfmenu.c Search for file 'gfmenu.c' found 'gfmenu.c' in current directory found 'e:/power/src/gfmenu.c' checking file time for 'e:/power/src/gfmenu.c' found 'e:/power/src/gfmenu.c' on desktop, time: 3337bf40 gfmenu.c is up to date gfmenu.c is older than e:/power/src/gfmenu.o Search for file 'gfmenu.o' found 'gfmenu.o' in FindCache found 'e:/power/src/gfmenu.o' e:/power/src/gfmenu.o is newer than e:\power\grass.exe Search for file 'ggmenu.o' found 'ggmenu.o' in current directory found 'e:/power/src/ggmenu.o' checking file time for 'e:/power/src/ggmenu.o' found 'e:/power/src/ggmenu.o' not in filetime cache, time: 333908b6 checking: e:/power/src/ggmenu.o checking ggmenu.c Search for file 'ggmenu.c' found 'ggmenu.c' in current directory found 'e:/power/src/ggmenu.c' checking file time for 'e:/power/src/ggmenu.c' found 'e:/power/src/ggmenu.c' on desktop, time: 3337c2c6 ggmenu.c is up to date ggmenu.c is older than e:/power/src/ggmenu.o Search for file 'ggmenu.o' found 'ggmenu.o' in FindCache found 'e:/power/src/ggmenu.o' e:/power/src/ggmenu.o is newer than e:\power\grass.exe Search for file 'grass.o' found 'grass.o' in current directory found 'e:/power/src/grass.o' checking file time for 'e:/power/src/grass.o' found 'e:/power/src/grass.o' not in filetime cache, time: 333908ba checking: e:/power/src/grass.o checking grass.c Search for file 'grass.c' found 'grass.c' in current directory found 'e:/power/src/grass.c' checking file time for 'e:/power/src/grass.c' found 'e:/power/src/grass.c' on desktop, time: 3337bef8 grass.c is up to date grass.c is older than e:/power/src/grass.o Search for file 'grass.o' found 'grass.o' in FindCache found 'e:/power/src/grass.o' e:/power/src/grass.o is newer than e:\power\grass.exe Search for file 'gset.o' found 'gset.o' in current directory found 'e:/power/src/gset.o' checking file time for 'e:/power/src/gset.o' found 'e:/power/src/gset.o' not in filetime cache, time: 333908c0 checking: e:/power/src/gset.o checking gset.c Search for file 'gset.c' found 'gset.c' in current directory found 'e:/power/src/gset.c' checking file time for 'e:/power/src/gset.c' found 'e:/power/src/gset.c' on desktop, time: 3337c218 gset.c is up to date gset.c is older than e:/power/src/gset.o Search for file 'gset.o' found 'gset.o' in FindCache found 'e:/power/src/gset.o' e:/power/src/gset.o is newer than e:\power\grass.exe Search for file 'gstuff.o' found 'gstuff.o' in current directory found 'e:/power/src/gstuff.o' checking file time for 'e:/power/src/gstuff.o' found 'e:/power/src/gstuff.o' not in filetime cache, time: 333908c4 checking: e:/power/src/gstuff.o checking gstuff.c Search for file 'gstuff.c' found 'gstuff.c' in current directory found 'e:/power/src/gstuff.c' checking file time for 'e:/power/src/gstuff.c' found 'e:/power/src/gstuff.c' on desktop, time: 33371a6a gstuff.c is up to date gstuff.c is older than e:/power/src/gstuff.o Search for file 'gstuff.o' found 'gstuff.o' in FindCache found 'e:/power/src/gstuff.o' e:/power/src/gstuff.o is newer than e:\power\grass.exe Search for file 'menu.o' found 'menu.o' in current directory found 'e:/power/src/menu.o' checking file time for 'e:/power/src/menu.o' found 'e:/power/src/menu.o' not in filetime cache, time: 333908c8 checking: e:/power/src/menu.o checking menu.c Search for file 'menu.c' found 'menu.c' in current directory found 'e:/power/src/menu.c' checking file time for 'e:/power/src/menu.c' found 'e:/power/src/menu.c' on desktop, time: 3336e262 menu.c is up to date menu.c is older than e:/power/src/menu.o Search for file 'menu.o' found 'menu.o' in FindCache found 'e:/power/src/menu.o' e:/power/src/menu.o is newer than e:\power\grass.exe Search for file 'misc.o' found 'misc.o' in current directory found 'e:/power/src/misc.o' checking file time for 'e:/power/src/misc.o' found 'e:/power/src/misc.o' not in filetime cache, time: 333908cc checking: e:/power/src/misc.o checking misc.c Search for file 'misc.c' found 'misc.c' in current directory found 'e:/power/src/misc.c' checking file time for 'e:/power/src/misc.c' found 'e:/power/src/misc.c' not in filetime cache, time: 33214cd2 misc.c is up to date misc.c is older than e:/power/src/misc.o Search for file 'misc.o' found 'misc.o' in FindCache found 'e:/power/src/misc.o' e:/power/src/misc.o is newer than e:\power\grass.exe Search for file 'setup.o' found 'setup.o' in current directory found 'e:/power/src/setup.o' checking file time for 'e:/power/src/setup.o' found 'e:/power/src/setup.o' not in filetime cache, time: 333908d0 checking: e:/power/src/setup.o checking setup.c Search for file 'setup.c' found 'setup.c' in current directory found 'e:/power/src/setup.c' checking file time for 'e:/power/src/setup.c' found 'e:/power/src/setup.c' on desktop, time: 3337bece setup.c is up to date setup.c is older than e:/power/src/setup.o Search for file 'setup.o' found 'setup.o' in FindCache found 'e:/power/src/setup.o' e:/power/src/setup.o is newer than e:\power\grass.exe Search for file 'terrain.o' found 'terrain.o' in current directory found 'e:/power/src/terrain.o' checking file time for 'e:/power/src/terrain.o' found 'e:/power/src/terrain.o' not in filetime cache, time: 333908d4 checking: e:/power/src/terrain.o checking terrain.c Search for file 'terrain.c' found 'terrain.c' in current directory found 'e:/power/src/terrain.c' checking file time for 'e:/power/src/terrain.c' found 'e:/power/src/terrain.c' on desktop, time: 3337c380 terrain.c is up to date terrain.c is older than e:/power/src/terrain.o Search for file 'terrain.o' found 'terrain.o' in FindCache found 'e:/power/src/terrain.o' e:/power/src/terrain.o is newer than e:\power\grass.exe Search for file 'vars.o' found 'vars.o' in current directory found 'e:/power/src/vars.o' checking file time for 'e:/power/src/vars.o' found 'e:/power/src/vars.o' not in filetime cache, time: 333908d6 checking: e:/power/src/vars.o checking vars.c Search for file 'vars.c' found 'vars.c' in current directory found 'e:/power/src/vars.c' checking file time for 'e:/power/src/vars.c' found 'e:/power/src/vars.c' on desktop, time: 333509a6 vars.c is up to date vars.c is older than e:/power/src/vars.o Search for file 'vars.o' found 'vars.o' in FindCache found 'e:/power/src/vars.o' e:/power/src/vars.o is newer than e:\power\grass.exe must rebuild e:\power\grass.exe Search for file 'e:\power\grass.exe' not found: take 'e:\power\grass.exe' Search for file 'e:\power\grass.exe' not found: take 'e:\power\grass.exe' Search for file 'gfmenu.o' found 'gfmenu.o' in FindCache found 'e:/power/src/gfmenu.o' Search for file 'ggmenu.o' found 'ggmenu.o' in FindCache found 'e:/power/src/ggmenu.o' Search for file 'grass.o' found 'grass.o' in FindCache found 'e:/power/src/grass.o' Search for file 'gset.o' found 'gset.o' in FindCache found 'e:/power/src/gset.o' Search for file 'gstuff.o' found 'gstuff.o' in FindCache found 'e:/power/src/gstuff.o' Search for file 'menu.o' found 'menu.o' in FindCache found 'e:/power/src/menu.o' Search for file 'misc.o' found 'misc.o' in FindCache found 'e:/power/src/misc.o' Search for file 'setup.o' found 'setup.o' in FindCache found 'e:/power/src/setup.o' Search for file 'terrain.o' found 'terrain.o' in FindCache found 'e:/power/src/terrain.o' Search for file 'vars.o' found 'vars.o' in FindCache found 'e:/power/src/vars.o' Search for file 'e:\power\grass.exe' not found: take 'e:\power\grass.exe' executing: gcc -Le:/allegro/lib/djgpp/ -o ../grass.exe gfmenu.o ggmenu.o grass.o gset.o gstuff.o menu.o misc.o setup.o terrain.o vars.o -lalleg redirecting stdout to e:/djgpp/tmp/RHlaaaaa/dj100000 redirecting stderr to e:/djgpp/tmp/RHlaaaaa/dj200000 return value: 1 checking file time for 'e:\power\grass.exe' found 'e:\power\grass.exe' not in filetime cache, time: 00000000 Search for file 'grass.c' found 'grass.c' in FindCache found 'e:/power/src/grass.c' Search for file 'grass.c' found 'grass.c' in FindCache found 'e:/power/src/grass.c' Search for file 'grass.c' found 'grass.c' in FindCache found 'e:/power/src/grass.c' Search for file 'grass.c' found 'grass.c' in FindCache found 'e:/power/src/grass.c' Search for file 'grass.c' found 'grass.c' in FindCache found 'e:/power/src/grass.c' Search for file 'grass.c' found 'grass.c' in FindCache found 'e:/power/src/grass.c' Search for file 'gset.c' found 'gset.c' in FindCache found 'e:/power/src/gset.c' Search for file 'gset.c' found 'gset.c' in FindCache found 'e:/power/src/gset.c' Search for file 'gset.c' found 'gset.c' in FindCache found 'e:/power/src/gset.c' Search for file 'gset.c' found 'gset.c' in FindCache found 'e:/power/src/gset.c' Search for file 'gset.c' found 'gset.c' in FindCache found 'e:/power/src/gset.c' Search for file 'gset.c' found 'gset.c' in FindCache found 'e:/power/src/gset.c' Search for file 'gstuff.c' found 'gstuff.c' in FindCache found 'e:/power/src/gstuff.c' Search for file 'gstuff.c' found 'gstuff.c' in FindCache found 'e:/power/src/gstuff.c' Search for file 'gstuff.c' found 'gstuff.c' in FindCache found 'e:/power/src/gstuff.c' Search for file 'menu.c' found 'menu.c' in FindCache found 'e:/power/src/menu.c' Search for file 'menu.c' found 'menu.c' in FindCache found 'e:/power/src/menu.c' Search for file 'menu.c' found 'menu.c' in FindCache found 'e:/power/src/menu.c' Search for file 'menu.c' found 'menu.c' in FindCache found 'e:/power/src/menu.c' Search for file 'menu.c' found 'menu.c' in FindCache found 'e:/power/src/menu.c' Search for file 'menu.c' found 'menu.c' in FindCache found 'e:/power/src/menu.c' Search for file 'menu.c' found 'menu.c' in FindCache found 'e:/power/src/menu.c' Search for file 'menu.c' found 'menu.c' in FindCache found 'e:/power/src/menu.c' Search for file 'misc.c' found 'misc.c' in FindCache found 'e:/power/src/misc.c' Search for file 'misc.c' found 'misc.c' in FindCache found 'e:/power/src/misc.c' Search for file 'setup.c' found 'setup.c' in FindCache found 'e:/power/src/setup.c' Search for file 'setup.c' found 'setup.c' in FindCache found 'e:/power/src/setup.c' Search for file 'setup.c' found 'setup.c' in FindCache found 'e:/power/src/setup.c' Search for file 'setup.c' found 'setup.c' in FindCache found 'e:/power/src/setup.c' Search for file 'setup.c' found 'setup.c' in FindCache found 'e:/power/src/setup.c' Search for file 'setup.c' found 'setup.c' in FindCache found 'e:/power/src/setup.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' Search for file 'terrain.c' found 'terrain.c' in FindCache found 'e:/power/src/terrain.c' rebuilding of e:\power\grass.exe ===> error checking file time for 'Untitled' found 'Untitled' not in filetime cache, time: 00000000 checking file time for 'e:/power/bugrep.txt' found 'e:/power/bugrep.txt' on desktop, time: 33286b26 --------------763E5C823D27--