Your message dated Wed, 23 Jan 2008 17:58:38 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#412137: The problem "solved" in a dirty way
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: g++-4.1
Version: 4.1.1-21
Severity: important

*** Please type your report below this line ***

I have two similar machines with g++-4.1 installed. All dependencies are
met. On one machine g++ works perfectly, on the another one (this is the
machine on which I write this bug report) I'm not able to compile even the
simplest C++ program like:

#include <iostream>
#include <string>
using namespace std;
int main() {
  string c("223");
  string d("erer");
  cout << c << d << "\n";
  return 0;
}

I get:
$ g++ test2.cpp
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdlib:135:
error: "::system" has not been declared

I have tried to "apt-get install --reinstall" g++ and all packages it
depends on. Nothing helps. Maybe this is a problem with the unspecified
dependency of the compiler?


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.3
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Versions of packages g++-4.1 depends on:
ii  gcc-4.1                     4.1.1-21     The GNU C compiler
ii  gcc-4.1-base                4.1.1-21     The GNU Compiler Collection
(base
ii  libc6                       2.3.6.ds1-11 GNU C Library: Shared libraries
ii  libstdc++6-4.1-dev          4.1.1-21     The GNU Standard C++
Library v3 (d

g++-4.1 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Wojciech =?UTF-8?Q?Zabo=C5=82otny?= writes:
> The problem disappeared, when I have removed the "libpthread-dev"
> package from the machine, where g++ didn't work.
> Probably libpthread-dev should be marked as conflicting with the g++?

closing the report.


--- End Message ---

Reply via email to