Author: Steffen Jakob
Date: 04:00:19 10/07/01
Go up one level in this thread
On October 07, 2001 at 05:21:26, Frank Phillips wrote: >Has anyone here got gcc3.0.1 working with Mandrake 8.1 (or other distribution). >I elected to install it along with gcc2.96 during the main install hoping for a >faster executable to close the gap on MSVC++, but attempts to compile with it >seem to indicate is cannot find the C++ parts (libraries). Without seing the source code I can only guess. 1. Did you include <iostream> (without ".h")? 2. Did you use std::cin instead of cin? Older versions of g++ didnt follow the standard very well... Greetings, Steffen. > >Frank > >eg some of the many errors: >Input.o(.text+0x1e56): undefined reference to `cin' >Input.o(.text+0x1e5b): undefined reference to `istream::operator>>(char *)' >Input.o(.text+0x1eff): undefined reference to `cin' >Input.o(.text+0x1f0e): undefined reference to `istream::operator>>(char *)' >Input.o(.text+0x1f1c): undefined reference to `istream::operator>>(char *)' >Input.o(.text+0x1f22): undefined reference to `cin' >Input.o(.text+0x1f3b): undefined reference to `istream::operator>>(int &)' >Input.o(.text+0x1f41): undefined reference to `cin' >Input.o(.text+0x1f59): undefined reference to `istream::operator>>(int &)' >Input.o(.text+0x1fa8): undefined reference to `cin' >Input.o(.text+0x1fad): undefined reference to `istream::getline(char *, int, >char)' >Input.o(.text+0x2000): undefined reference to `cin'
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.