[comp.lang.c++] Linker problems

schiers@imdm.uke.uni-hamburg.dbp.de (Carsten Schiers) (11/29/89)

Hi there,

I am a newcommer, so please no flames when I am warming up
old bugs. I am using a g++ V1.35.0 port for Atari TOS.

When I compile and link the following sample program:

   | #include <stream.h>
   | main()
   | { 
   |   cout << "Hello what?\n"; 
   | } 

by typing:
    
   | g++ -O -o test.o test.c

and receive an error message:

   | Bogan alert! wrote 400 syms, expected to write 445 syms.

It seems to me, that somethings went wrong. What part, the compiler, the
linker, the library, or the startup is the problem? 

Thanks for any help,

Carsten.

+-------------------------------------------------------------------------+
|  University of Hamburg, F.R. of Germany, University Hospital Eppendorf  |
|               Department of Computer Science in Medicine                |
+-------------------------------------------------------------------------+
|                           Carsten Schiers                               |
|               DFNet: schiers@imdm.uke.uni-hamburg.dbp.de                |
|            Usenet: unido!imdm.uke.uni-hamburg.dbp.de!schiers            |
|           Bitnet: schiers%imdm.uke.uni-hamburg.dbp.de@dfngate           |
|       Internet: schiers%imdm.uke.uni-hamburg.dbp.de@relay.cs.net        |
+-------------------------------------------------------------------------+