Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!uunet!mcsun!unido!rzsun2.informatik.uni-hamburg.de!rospc1!hess From: hess@rospc1.informatik.uni-hamburg.de (Hauke Hess) Newsgroups: comp.sys.atari.st Subject: GCC -g and G++ bogon alert!?! Summary: what is an bogn alert Keywords: gcc Message-ID: Date: 10 Jun 91 12:04:04 GMT Sender: news@informatik.uni-hamburg.de (Mr. News) Distribution: comp Organization: University of Hamburg, FRG Lines: 18 Hello, I have a problem with the gcc 1.39 and the g++ from the koeln ftp site. If I try to compile the following program with g++: #include int main(){ cout << "Hello World\n"; } All works niecly until the link run. Then the linker says: Bogon alert: wrote xxx Symbols, yyy expected. And the resulting file is not a TOS executable (TOS error 66: not an executable program). The same happens, when I compile a normal gcc program with the gdb option "-g". Then there is another number of wrote/expected symbols, but the resulting program again is not executable. Has anyone encountered this problem and perhaps already solved it? Hauke Hess / University Hamburg (so write in german, if you like)