🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Don R. Maszle Tue, 11 Aug 1992 22:09
Config problems, /usr/tmp files in error
#120
Author: Don R. Maszle
Date: Tue, 11 Aug 1992 22:09
41 lines
2382 bytes
My sys admin recently installed g++ 1.40 because he had problems
getting a 2.0 version working on our machine.

>> maze@bea: cpp>uname -a --> SunOS bea.lbl.g 4.1 1 sun4
>> maze@bea: cpp>mach     --> sparc

Apparently the intermediate files that the compiler creates are not
parsable by the latter pass of the compiler.   A verbose listing of
the compiler diagnostics appears at the end.  My simplistic test file
appear after this introduction.  

Incidentally, `a.out' is actually produced after the errors but as one
might expect, all it is good for is dumping core.  Thanks in advance
for any clues.  E-mail replies are preferred of course.

----- hello.C -----
// hello.cpp

#include <ostream.h>

int main (void)
{
  cout << "Hello C++\n";
  return 0;
}  /* main */
--------------------

>> maze@bea: cpp>g++ -v hello.C
>> g++ version 1.40.3 (based on GCC 1.40)
>>  /usr/local/lib/gcc-cpp -+ -v -undef -D__GNUC__ -D__GNUG__ -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ hello.C /usr/tmp/cca01621.cpp
>> GNU CPP version 1.40
>>  /usr/local/lib/gcc-cc1plus /usr/tmp/cca01621.cpp -quiet -dumpbase hello.C -version -o /usr/tmp/cca01621.s
>> GNU C++ version 1.40.3 (based on GCC 1.40) (sparc) compiled by GNU C version 2.0.
>> default target switches: -mfpu -mepilogue
>>  as -o hello.o /usr/tmp/cca01621.s
>>  /usr/local/lib/gcc-ld -e start -dc -dp /lib/crt0.o /usr/local/lib/gcc-ccrt0.o hello.o -L/usr/local/lib/ -lg++ /usr/local/lib/gcc-gnulib -lc
>> /usr/tmp/CDTORa01625.c:4: parse error before `.'
>> /usr/tmp/CDTORa01625.c:9: `_GLOBAL_$I$fmtq' undeclared, outside of functions
>> /usr/tmp/CDTORa01625.c:14: parse error before `.'
>> /usr/tmp/CDTORa01625.c:19: `_GLOBAL_$D$fmtq' undeclared, outside of functions
>> ld: /usr/tmp/CDTORa01625.o: No such file or directory
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads