whats that?
how about
#include <iostream.h>
using namepsace std;
?
(don't forget to change the "..." to <...>)
steffen
On Thu, 25 May 2006 18:27:30 +0200 Toni Mueller <[EMAIL PROTECTED]> wrote:
: Hello,
:
:
: I'd like to compile a small C++ program (part of building the HylaFAX
: port). This is the program:
:
: -------------------------
: #include "iostream.h"
: int main(){ cout << "Hello World!" << endl; return 0;}
: -------------------------
:
: Compiling it goes like this:
:
: $ c++ testit.cc
: /tmp//cch21612.o(.text+0x1c): In function `main':
: : undefined reference to `endl(ostream&)'
: /tmp//cch21612.o(.text+0x29): In function `main':
: : undefined reference to `cout'
: /tmp//cch21612.o(.text+0x2e): In function `main':
: : undefined reference to `ostream::operator<<(char const*)'
: /tmp//cch21612.o(.text+0x37): In function `main':
: : undefined reference to `ostream::operator<<(ostream& (*)(ostream&))'
: collect2: ld returned 1 exit status
:
:
: I've searched for any libstdc++.so and friends, and also found them
: where I'd expected them, but that seems to be insufficient.
:
: Running ldconfig doesn't improve things.
:
:
: What gives?
:
:
: Best,
: --Toni++
: